Skip to content

Instantly share code, notes, and snippets.

@bootleq
Created November 13, 2010 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bootleq/675391 to your computer and use it in GitHub Desktop.
Save bootleq/675391 to your computer and use it in GitHub Desktop.
Add MooTools global variables to JSLint predef option.
predef: [
// for MooTools Core 1.3. Excluded of standard global objects and Slick.
"$", "$$", "typeOf", "instanceOf", "$A", "$H",
"Core", "Event", "Browser", "Class", "Chain", "Events", "Options",
"Element", "Fx", "Request", "Cookie", "JSON", "Swiff",
// for MooTools More 1.3
"More", "URI", "Hash", "Form", "OverText", "Drag", "Slider", "Sortables", "Assets", "Color",
"Group", "IframeShim", "HtmlTable", "Keyboard", "Mask", "Scroller", "Tips", "Spinner", "Locale",
"$RGB", "$HSB", "$HEX"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment