nl_tokens: ************************************************* Synchronous methods *************************************************
pl_tokens: function runWithCallback ( promiseFunc , <mask> ) { if ( ! _ . isFunction ( callback ) ) { throw new Error ( 'This function requires a callback!' ) ; } promiseFunc . then ( function ( data ) { callback ( null , data ) ; } ) . catch ( function ( err ) { callback ( err , null ) ; } ) ; }