nl_tokens: Attempt to validate the less file
pl_tokens: function attemptRender ( reporter , filename , src , resolve , reject , globals ) { globals = globals || { } ; less . render ( src , { // Specify search paths for @import directives paths : [ "public/static/less" ] , // Specify a filename, for better error messages filename : filename , modifyVars : globals , compress : false } , function ( e , css ) { if ( e ) { if ( ( / ^variable @(.+?) is undefined$ / ) . test ( e . message ) ) { // ignore undef variable globals [ ( / ^variable @(.+?) is undefined$ / ) . exec ( e . <mask> ) [ 1 ] ] = "1" ; attemptRender ( reporter , filename , src , resolve , reject , globals ) ; return ; } reporter ( "LESS" , filename , e . line , e . message ) ; reject ( ) ; return ; } resolve ( { filename : filename , src : css . css || css } ) ; } ) ; }