CoreFiles by mySites.guru
javascript-hint.min.js1 lines, 3,042 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
39aeabde3c9324180979f8d1dcefd6de
sha1
2c7324a5eb34991aee608dabb0967e21d8a0a5c5
sha256
b9db8484df82439c239a1cdc7da40fdfe7f4138ae98ed40e0a4b594bf0608372
!function(t){"object"==typeof exports&&"object"==typeof module?t(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],t):t(CodeMirror)}(function(t){function e(t,e){for(var r=0,n=t.length;r<n;++r)e(t[r])}function r(r,n,f,l){var c=r.getCursor(),p=f(r,c);if(!/\b(?:string|comment)\b/.test(p.type)){p.state=t.innerMode(r.getMode(),p.state).state,/^[\w$_]*$/.test(p.string)?p.end>c.ch&&(p.end=c.ch,p.string=p.string.slice(0,c.ch-p.start)):p={start:c.ch,end:c.ch,string:"",state:p.state,type:"."==p.string?"property":null};for(var u=p;"property"==u.type;){if("."!=(u=f(r,i(c.line,u.start))).string)return;if(u=f(r,i(c.line,u.start)),!g)var g=[];g.push(u)}return{list:function(t,r,n,i){function f(t){0!=t.lastIndexOf(p,0)||function(t,e){if(!Array.prototype.indexOf){for(var r=t.length;r--;)if(t[r]===e)return!0;return!1}return-1!=t.indexOf(e)}(c,t)||c.push(t)}function l(t){"string"==typeof t?e(o,f):t instanceof Array?e(s,f):t instanceof Function&&e(a,f),function(t,e){if(Object.getOwnPropertyNames&&Object.getPrototypeOf)for(var r=t;r;r=Object.getPrototypeOf(r))Object.getOwnPropertyNames(r).forEach(e);else for(var n in t)e(n)}(t,f)}var c=[],p=t.string,u=i&&i.globalScope||window;if(r&&r.length){var g,d=r.pop();for(d.type&&0===d.type.indexOf("variable")?(i&&i.additionalContext&&(g=i.additionalContext[d.string]),i&&!1===i.useGlobalScope||(g=g||u[d.string])):"string"==d.type?g="":"atom"==d.type?g=1:"function"==d.type&&(null==u.jQuery||"$"!=d.string&&"jQuery"!=d.string||"function"!=typeof u.jQuery?null!=u._&&"_"==d.string&&"function"==typeof u._&&(g=u._()):g=u.jQuery());null!=g&&r.length;)g=g[r.pop().string];null!=g&&l(g)}else{for(y=t.state.localVars;y;y=y.next)f(y.name);for(var y=t.state.globalVars;y;y=y.next)f(y.name);i&&!1===i.useGlobalScope||l(u),e(n,f)}return c}(p,g,n,l),from:i(c.line,p.start),to:i(c.line,p.end)}}}function n(t,e){var r=t.getTokenAt(e);return e.ch==r.start+1&&"."==r.string.charAt(0)?(r.end=r.start,r.string=".",r.type="property"):/^\.[\w$_]*$/.test(r.string)&&(r.type="property",r.start++,r.string=r.string.replace(/\./,"")),r}var i=t.Pos;t.registerHelper("hint","javascript",function(t,e){return r(t,f,function(t,e){return t.getTokenAt(e)},e)}),t.registerHelper("hint","coffeescript",function(t,e){return r(t,l,n,e)});var o="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "),s="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),a="prototype apply call bind".split(" "),f="break case catch continue debugger default delete do else false finally for function if in instanceof new null return switch throw true try typeof var void while with".split(" "),l="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ")});

No other release has this exact content. See every version of this file.