Liferay.Loader.define("liferay!object-web$codemirror@5.65.12/addon/lint/coffeescript-lint",["module","exports","require","../../lib/codemirror"],(function(e,o,r){var i,t=void 0;window;i=function(e){"use strict";e.registerHelper("lint","coffeescript",(function(o){var r,i,t=[];if(!window.coffeelint)return window.console&&window.console.error("Error: window.coffeelint not defined, CodeMirror CoffeeScript linting cannot run."),t;try{for(var n=coffeelint.lint(o),c=0;c<n.length;c++)r=n[c],i=void 0,i=r.lineNumber,t.push({from:e.Pos(i-1,0),to:e.Pos(i,0),severity:r.level,message:r.message})}catch(o){t.push({from:e.Pos(o.location.first_line,0),to:e.Pos(o.location.last_line,o.location.last_column),severity:"error",message:o.message})}return t}))},"object"==typeof o&&"object"==typeof e?i(r("../../lib/codemirror")):"function"==typeof t&&t.amd?t(["../../lib/codemirror"],i):i(CodeMirror)}));
//# sourceMappingURL=coffeescript-lint.js.map