nl_tokens: Set a callback for an event possible events : fileSuccess ( file ) fileProgress ( file ) fileAdded ( file event ) fileRemoved ( file ) fileRetry ( file ) fileError ( file message ) complete () progress () error ( message file ) pause ()
pl_tokens: function ( event , callback ) { event = event . toLowerCase ( ) ; if ( ! this . events . hasOwnProperty ( event ) ) { this . <mask> [ event ] = [ ] ; } this . events [ event ] . push ( callback ) ; }