2 ms·
Interesting. I threw my take on a Backbone identity map up on Github. 31 extra lines of code. Just add a keepInSync: true attribute to models that should use th
by marbemac 14y ago
Interesting. I threw my take on a Backbone identity map up on Github. 31 extra lines of code. Just add a keepInSync: true attribute to models that should use the identity map.
It's a modified version of this code:
http://news.ycombinator.com/item?id=3276990 http://news.ycombinator.com/item?id=3276990
https://github.com/marbemac/backbone-identity-map https://github.com/marbemac/backbone-identity-map