nl_tokens: returns the javascript string content of the view file / * getViewFile : function ( viewCode snapshotId previousId paramsStr cb ) { _ . assertLength ( arguments 5 )
pl_tokens: function ( viewCode , snapshotId , previousId , paramsStr , cb ) { _ . assertLength ( arguments , 5 ) var s = schema . _byCode [ viewCode ] ; var parsedParams = doParseParams ( paramsStr , s ) var snapReq = { typeCode : viewCode , params : pu . paramsStr ( parsedParams , s . viewSchema . params ) , latestVersionId : snapshotId , previousVersionId : previousId } ; cc . getSnapshot ( snapReq , function ( err , response ) { if ( err ) { cb ( err ) } else { //response.snap.id = snapshotId; cb ( undefined , <mask> . snap ) } } ) ; }