MCPcopy
hub / github.com/jquerytools/jquerytools / nolinebreak

Function nolinebreak

lib/jslint.js:131–131  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

129function nonadjacent(left,right){left=left||token;right=right||nexttoken;if(option.white){if(left.character===right.from){warning("Missing space after '{a}'.",nexttoken,left.value);}}}
130function indentation(bias){var i;if(option.white&&nexttoken.id!=='(end)'){i=indent+(bias||0);if(nexttoken.from!==i){warning("Expected '{a}' to have an indentation of {b} instead of {c}.",nexttoken,nexttoken.value,i,nexttoken.from);}}}
131function nolinebreak(t){if(t.line!==nexttoken.line){warning("Line breaking error '{a}'.",t,t.id);}}
132function symbol(s,p){var x=syntax[s];if(!x||typeof x!=='object'){syntax[s]=x={id:s,lbp:p,value:s};}
133return x;}
134function delim(s){return symbol(s,0);}

Callers 1

jslint.jsFile · 0.85

Calls 1

warningFunction · 0.85

Tested by

no test coverage detected