Plain old Javascript object properties can be deleted like so...
var foo = {bar: 'baz'}; delete foo.bar
How do you delete (not just set to null) a property in an Ember object?
var foo = Ember.Object.create({bar: 'baz'});
Aucun commentaire:
Enregistrer un commentaire