gmac / backbone.epoxy

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

Issue #130: Properties with dashes in their names #131

Closed Mad-Chemist closed 8 years ago

Mad-Chemist commented 8 years ago

Everything appears to work as it did previously, but this modification now handles the use case where the declarations variable could have a dash in it (EX: "value:background-color"). Additionally the declarations variable is passed into the function, to ensure it's defined.

https://github.com/gmac/backbone.epoxy/issues/130

Mad-Chemist commented 8 years ago

Just realized this doesn't cover all scenarios... Making some more changes to include handling for multiple key - value pairs.