lundi 7 avril 2014

Model 'modified' undefined if no changes exist

In 4.x it's always defined as an empty object, in accordance with the docs. If this is intended, it's a breaking change and needs documentation.




Code:



new (Ext.define('M', { extend : Ext.data.Model, fields : ['foo'] }))().modified






Aucun commentaire:

Enregistrer un commentaire