nl_tokens: This Ember . js hook allows an object to be notified when a property is defined .
pl_tokens: function ( proto , key , <mask> ) { // Check if the value being set is a computed property. if ( value instanceof Ember . Descriptor ) { // If it is, get the metadata for the relationship. This is // populated by the `DS.belongsTo` helper when it is creating // the computed property. var meta = value . meta ( ) ; if ( meta . isRelationship && meta . kind === 'belongsTo' ) { Ember . addObserver ( proto , key , null , 'belongsToDidChange' ) ; Ember . addBeforeObserver ( proto , key , null , 'belongsToWillChange' ) ; } meta . parentType = proto . constructor ; } }