These are chat archives for canjs/canjs

7th
Mar 2016
Thomas Sieverding
@Bajix
Mar 07 2016 20:19
Getting a strange error here: __set is being called on the prop _bubbleBindings, which then looks up a PJSO on this._computedAttrs, and error's out as it doesn't have a compute method
Justin Meyer
@justinbmeyer
Mar 07 2016 22:56
@Bajix not sure how can.Map.prototype.__set could be called on _bubbleBindings
Thomas Sieverding
@Bajix
Mar 07 2016 22:57
_setAttr is looping through and setting all properties
I can show you the stack trace if you want to see
Somewhere along the way _computedAttrs is getting set w/ _bubbleBindings as a PJSO
And then that's triggering the error later in the stack when lo and behold, _bubbleBindings doesn't have a compute method
Thomas Sieverding
@Bajix
Mar 07 2016 23:20
updateParent calls attr->_setAttrs w/ a constructor, then the for in loop within _setAttrs is looping through properties that shouldn't be enumerated
Thomas Sieverding
@Bajix
Mar 07 2016 23:43
childToParent bindings are calling parentCompute.attr w/ a map instance, then _setAttrs is enumerating private keys
So maybe it's a matter of updating _setAttrs to handle can.Maps