Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(function(mod) {
if (typeof exports == "object" && typeof module == "object") { // CommonJS
return mod(require("tern/lib/infer"), require("tern/lib/tern"), require("jshint/src/jshint").JSHINT, require("jshint/src/cli"));
}
if (typeof define == "function" && define.amd) // AMD
return define([ "tern/lib/infer", "tern/lib/tern", "jshint/src/jshint", "jshint/src/cli" ], mod);
mod(tern, tern, JSHINT);
})(function(infer, tern, JSHINT, cli) {
"use strict";
(function(mod) {
if (typeof exports == "object" && typeof module == "object") { // CommonJS
return mod(require("tern/lib/infer"), require("tern/lib/tern"), require("jshint/src/jshint").JSHINT, require);
}
if (typeof define == "function" && define.amd) // AMD
return define([ "tern/lib/infer", "tern/lib/tern", "jshint/src/jshint" ], mod);
mod(tern, tern, JSHINT);
})(function(infer, tern, JSHINT, require) {
"use strict";