You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should it be accomplished in a different way? I noticed that when an Array is set by .attr(), it is wrapped into another Object with its own .serialize() method. This method is called instead of its type Class.serialize.
The text was updated successfully, but these errors were encountered:
As @codr mentioned, can.Observe's serialize takes precedence, because this is the root of how can.Observes work. That said, this is being investigated in #274.
In the mean time, @codr's solution works. And I am going to close so we have only one issue open for the same thing.
Demo: http://jsfiddle.net/rLDHc/1
Should it be accomplished in a different way? I noticed that when an Array is set by .attr(), it is wrapped into another Object with its own .serialize() method. This method is called instead of its type Class.serialize.
The text was updated successfully, but these errors were encountered: