nl_tokens: thenのコールバックをラップして引数を共通化します
pl_tokens: function _normalizeSuccess ( onSuccess ) { var _onSuccess = onSuccess ; if ( onSuccess . length < 2 ) { _onSuccess = function ( <mask> , next ) { var result = onSuccess ( res ) ; next ( null , result ) ; } ; } else if ( onSuccess . length === 2 ) { _onSuccess = onSuccess ; } else { throw new Error ( 'args length invalid' ) ; } return _onSuccess ; }