I have a simple key like "model:person" that I'm using to lookup like so
var factory = this.container.lookupFactory("model:person");
...and although this does allow me to "create" I need a quick/easy way to get the prototype for the given object so I can use it like so.
example:
App.Person.prototype.hasOwnProperty("...");
Aucun commentaire:
Enregistrer un commentaire