MCPcopy Index your code
hub / github.com/jquerytools/jquerytools / type

Function type

lib/jslint.js:141–141  ·  view source on GitHub ↗
(s,f)

Source from the content-addressed store, hash-verified

139function prefix(s,f){var x=symbol(s,150);reserveName(x);x.nud=(typeof f==='function')?f:function(){if(option.plusplus&&(this.id==='++'||this.id==='--')){warning("Unexpected use of '{a}'.",this,this.id);}
140parse(150);return this;};return x;}
141function type(s,f){var x=delim(s);x.type=s;x.nud=f;return x;}
142function reserve(s,f){var x=type(s,f);x.identifier=x.reserved=true;return x;}
143function reservevar(s){return reserve(s,function(){if(this.id==='this'){if(option.adsafe){warning("ADsafe violation.",this);}}
144return this;});}

Callers 2

reserveFunction · 0.85
jslint.jsFile · 0.85

Calls 1

delimFunction · 0.85

Tested by

no test coverage detected