Process the declaration into a binding if the key is null or if a model exists a…
…t the specific key. [#172]
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -208,7 +208,7 @@ class Rivets.View | ... | @@ -208,7 +208,7 @@ class Rivets.View |
208 | splitPath.shift() | 208 | splitPath.shift() |
209 | keypath = splitPath.join '.' | 209 | keypath = splitPath.join '.' |
210 | 210 | ||
211 | if @models[key]? | 211 | if not key or @models[key]? |
212 | if dependencies = context.shift() | 212 | if dependencies = context.shift() |
213 | options.dependencies = dependencies.split /\s+/ | 213 | options.dependencies = dependencies.split /\s+/ |
214 | 214 | ... | ... |
-
Please register or sign in to post a comment