3f439a7a by Michael Richards

Process the declaration into a binding if the key is null or if a model exists a…

…t the specific key. [#172]
1 parent 557742db
...@@ -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
......