Skip to content

addBindings now looks for a symbol

Compare
Choose a tag to compare
@matthewp matthewp released this 26 Jun 17:05
· 316 commits to master since this release

This changes it so that stache.addBindings(obj) will first look for obj[Symbol.for('can.stacheBindings')] to provide a mechanism for slightly better APIs.