nl_tokens: SizeWatcher observes size of an element and notifies when its size is changed . It doesn t use any timeouts to check the element size when change in size occurs a callback method immediately invoked .
pl_tokens: function SizeWatcher ( element , options ) { this . _element = element ; this . _delegate = options . delegate ; this . _size = null ; this . _continuous = ! ! options . continuous ; this . _direction = options . direction ? options . direction : SizeWatcher . directions . both ; this . _dimension = options . dimension ? <mask> . dimension : SizeWatcher . dimensions . both ; this . _sizeIncreaseWatcherContentElm = null ; this . _sizeDecreaseWatcherElm = null ; this . _sizeIncreaseWatcherElm = null ; this . _state = SizeWatcher . states . initialized ; this . _generateScrollWatchers ( options . size ) ; this . _appendScrollWatchersToElement ( options . container ) ; }