nl_tokens: .......................................................... ARRAY OBSERVERS Adds an array observer to the receiving array . The array observer object normally must implement two methods :
pl_tokens: function ( target , opts ) { var willChange = ( opts && opts . willChange ) || 'arrayWillChange' , didChange = ( opts && opts . didChange ) || 'arrayDidChange' ; var hasObservers = <mask> ( this , 'hasArrayObservers' ) ; if ( ! hasObservers ) Ember . propertyWillChange ( this , 'hasArrayObservers' ) ; Ember . addListener ( this , '@array:before' , target , willChange ) ; Ember . addListener ( this , '@array:change' , target , didChange ) ; if ( ! hasObservers ) Ember . propertyDidChange ( this , 'hasArrayObservers' ) ; return this ; }