gmac / backbone.epoxy

Declarative data binding and computed models for Backbone
http://epoxyjs.org
MIT License
614 stars 89 forks source link

Prevent Google Closure Compiler from taking a shortcut #46

Closed rubenstolk closed 10 years ago

rubenstolk commented 11 years ago

Google Closure Compiler and perhaps other minifiers would re-write this as: (value = {})[attribute] = value, which will lead to recursive referencing.

gmac commented 10 years ago

Good catch, thanks. That was needlessly terse.