nl_tokens: Try to run model method
pl_tokens: function ( module , method ) { var all = { urlparams : [ ] } for ( var i = 2 ; i < u . length ; i ++ ) all . urlparams . push ( decodeURIComponent ( u [ i ] ) ) ; req . cookies = { } req . headers . <mask> && req . headers . cookie . split ( ';' ) . forEach ( function ( cookie ) { var parts = cookie . split ( '=' ) , key = parts [ 0 ] . trim ( ) , val = decodeURIComponent ( ( parts [ 1 ] || '' ) . trim ( ) ) ; all [ key ] = val ; req . cookies [ key ] = val } ) ; if ( url . query != null ) for ( var i in url . query ) all [ i ] = url . query [ i ] if ( post != null ) for ( var i in post ) all [ i ] = post [ i ] all . response = res all . request = req all . _query = url . query if ( me . config . LOCALE && ! all . locale ) { all . locale = req . url . substr ( 1 , 2 ) if ( ! me . config . LOCALE [ all . locale ] ) delete all . locale } // Проверяем JSON в запросе if ( all . jsonData ) { try { all . RequestData = JSON . parse ( all . jsonData ) } catch ( e ) { } if ( all . RequestData && ! me . checkVersion ( all . RequestData ) ) { mcallback ( { } , { code : 4 } ) return ; } } if ( ! all . RequestData ) all . RequestData = { } var run = function ( auth ) { all . href = req . url if ( all . about !== null && all . about !== undefined && module [ method ] . aboutObject !== null ) { mcallback ( module [ method ] . aboutObject ) } else { module [ method ] ( all , mcallback , auth ) ; } } if ( me . inits . checkauth != null ) { // if isser user checkauth function                 me . inits . checkauth ( all , function ( a ) { run ( a ) } ) } else { run ( null ) ; } return true ; }