(path, dep)
| 212 | } |
| 213 | |
| 214 | var addDependency = function (path, dep) { |
| 215 | // its really an inverse look at the original |
| 216 | var deps; |
| 217 | |
| 218 | if (dependencies[path] && !dependencies.hasOwnProperty(path)) dependencies[path] = dependencies[path].slice(); |
| 219 | deps = dependencies[path] || (dependencies[path] = []); |
| 220 | deps.push(dep); |
| 221 | }; |
| 222 | |
| 223 | // now we handle the new computed properties the way we intended to |
| 224 | for (var i=0, ln; (ln=props.computed[i]); ++i) { |