724b6640 by Adam Heath

bother; this fixes the loopDeps optimization, that reduced the size of

the minified output file; the callback was being called in all cases,
not just when there were dependencies.
1 parent ecb605f6
...@@ -115,7 +115,7 @@ loopDeps = (binder, callback) -> ...@@ -115,7 +115,7 @@ loopDeps = (binder, callback) ->
115 model = binder.view.models[dependency.shift()] 115 model = binder.view.models[dependency.shift()]
116 keypath = dependency.join '.' 116 keypath = dependency.join '.'
117 117
118 callback model, keypath 118 callback model, keypath
119 119
120 expressionRegex = /(.*?)\{\{([^{}]+)\}\}/ 120 expressionRegex = /(.*?)\{\{([^{}]+)\}\}/
121 121
......