CoreFiles by mySites.guru
javascript-lint.min.js1 lines, 928 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
65ccdb9277e361a34ea29355f81b5b71
sha1
fc732091ef59f4eca032ed5fa31d57dc16d89857
sha256
6c1dd6776942dbdfab505d3cadc7903455d5c860ce79b8db00b29761f29ac9eb
(function(i){typeof exports=="object"&&typeof module=="object"?i(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],i):i(CodeMirror)})(function(i){"use strict";function f(t,n){if(!window.JSHINT)return window.console&&window.console.error("Error: window.JSHINT not defined, CodeMirror JavaScript linting cannot run."),[];n.indent||(n.indent=1),JSHINT(t,n,n.globals);var o=JSHINT.data().errors,e=[];return o&&l(o,e),e}i.registerHelper("lint","javascript",f);function l(t,n){for(var o=0;o<t.length;o++){var e=t[o];if(e){if(e.line<=0){window.console&&window.console.warn("Cannot display JSHint error (invalid line "+e.line+")",e);continue}var a=e.character-1,r=a+1;if(e.evidence){var c=e.evidence.substring(a).search(/.\b/);c>-1&&(r+=c)}var s={message:e.reason,severity:e.code&&e.code.startsWith("W")?"warning":"error",from:i.Pos(e.line-1,a),to:i.Pos(e.line-1,r)};n.push(s)}}}});

The same content is in 28 releases, Joomla 4.4.1-rc1 to 4.4.14. See them all, or every version of this file.