nl_tokens: Function : sync During startup on the server this function replaces Backbones own sync implementation to shortcut local API calls .
pl_tokens: function sync ( method , model , options ) { var url = options . url || _ . result ( model , 'url' ) , httpMethod = methodMap [ method ] , data ; debug ( 'syncing (method: `%s`, httpMethod: `%s`, url: `%s`, model: `%j`)' , method , httpMethod , url , model ) ; if ( _ . isUndefined ( url ) ) { throw new Error ( 'No url present for syncing!' , model , options ) ; } if ( method !== 'read' && method !== 'delete' ) { <mask> = model . toJSON ( ) ; } this . dispatchLocalApiCall ( httpMethod , url , data , options ) ; }