javascript-lint.js (CodeMirror-5.58.2) | : | javascript-lint.js (CodeMirror-5.58.3) | ||
---|---|---|---|---|
// CodeMirror, copyright (c) by Marijn Haverbeke and others | // CodeMirror, copyright (c) by Marijn Haverbeke and others | |||
// Distributed under an MIT license: https://codemirror.net/LICENSE | // Distributed under an MIT license: https://codemirror.net/LICENSE | |||
// Depends on jshint.js from https://github.com/jshint/jshint | ||||
(function(mod) { | (function(mod) { | |||
if (typeof exports == "object" && typeof module == "object") // CommonJS | if (typeof exports == "object" && typeof module == "object") // CommonJS | |||
mod(require("../../lib/codemirror")); | mod(require("../../lib/codemirror")); | |||
else if (typeof define == "function" && define.amd) // AMD | else if (typeof define == "function" && define.amd) // AMD | |||
define(["../../lib/codemirror"], mod); | define(["../../lib/codemirror"], mod); | |||
else // Plain browser env | else // Plain browser env | |||
mod(CodeMirror); | mod(CodeMirror); | |||
})(function(CodeMirror) { | })(function(CodeMirror) { | |||
"use strict"; | "use strict"; | |||
// declare global: JSHINT | // declare global: JSHINT | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |