vendredi 5 juin 2015

In EmberJs is it possible to get Class object from an instance of the same Class?

Suppose you have

var A = Ember.Object.extend({});
A.reopenClass({
   myVariable: 'hello'
});

var a = A.create();

Is there a way from a to get the A object in order to get the myVariable value ?




Aucun commentaire:

Enregistrer un commentaire