nl_tokens: / * eslint - disable fecs - camelcase Normalize watch info
pl_tokens: function normalizeWatchItem ( value ) { let handlers ; let options = { } ; let valueType = typeof value ; if ( valueType === 'function' || valueType === 'string' ) { handlers = [ value ] ; } else if ( Array . isArray ( value ) ) { handlers = value ; } else { handlers = [ value . handler ] ; options . immediate = value . immediate ; } let watchHandler = function ( ... args ) { for ( let i = 0 , len = handlers . length ; i < len ; i ++ ) { let item = handlers [ i ] ; if ( typeof item === 'string' ) { <mask> = this [ item ] ; } item . apply ( this , args ) ; } } ; return { handler : watchHandler , options } ; }