yairodriguez / AngularJS

Own implementation of AngularJS, using Extreme Test–First and ES6.
0 stars 0 forks source link

Watching Collections #5

Open yairodriguez opened 8 years ago

yairodriguez commented 8 years ago

Description

Add the third and final dirty–checking mechanism to our implementation of Scope: shallow collection–watching. The $watchCollection function is not simple, but that’s mostly because it provides an important, non-trivial facility: We can watch for changes in large arrays and objects much more efficiently than we could with just deep–watching.


Issue Checklist

All issues in milestone: 0.2.0 milestone


Assignees