nl_tokens: / * Function : getCollection Looks for a collection object attached to the current class . If one is not found it traverses the ancestor tree looking for the closest class that has a collection object associated with it and returns that collection .
pl_tokens: function ( cls ) { if ( this . collection ) { return this . collection ; } cls = ( cls ) ? this . superclass ( cls ) : this ; while ( cls ) { if ( cls . <mask> ) { this . collection = cls . collection ; return cls . collection ; } } return false ; }