Liferay.Loader.define("portal-search-web$codemirror@5.62.0/addon/lint/json-lint",["module","exports","require","../../lib/codemirror"],(function(o,r,n){window,function(o){"use strict";o.registerHelper("lint","json",(function(r){var n=[];if(!window.jsonlint)return window.console&&window.console.error("Error: window.jsonlint not defined, CodeMirror JSON linting cannot run."),n;var e=window.jsonlint.parser||window.jsonlint;e.parseError=function(r,e){var i=e.loc;n.push({from:o.Pos(i.first_line-1,i.first_column),to:o.Pos(i.last_line-1,i.last_column),message:r})};try{e.parse(r)}catch(o){}return n}))}("object"==typeof r&&"object"==typeof o?n("../../lib/codemirror"):CodeMirror)}));
//# sourceMappingURL=json-lint.js.map