Liferay.Loader.define("journal-web$codemirror@5.65.2/addon/lint/html-lint",["module","exports","require","../../lib/codemirror","journal-web$htmlhint"],(function(e,o,r){var t,i=void 0;window;t=function(e,o){"use strict";var r={"tagname-lowercase":!0,"attr-lowercase":!0,"attr-value-double-quotes":!0,"doctype-first":!1,"tag-pair":!0,"spec-char-escape":!0,"id-unique":!0,"src-not-empty":!0,"attr-no-duplication":!0};e.registerHelper("lint","html",(function(t,i){var n=[];if(o&&!o.verify&&(o=void 0!==o.default?o.default:o.HTMLHint),o||(o=window.HTMLHint),!o)return window.console&&window.console.error("Error: HTMLHint not found, not defined on window, or not available through define/require, CodeMirror HTML linting cannot run."),n;for(var l=o.verify(t,i&&i.rules||r),a=0;a<l.length;a++){var d=l[a],u=d.line-1,c=d.line-1,s=d.col-1,f=d.col;n.push({from:e.Pos(u,s),to:e.Pos(c,f),message:d.message,severity:d.type})}return n}))},"object"==typeof o&&"object"==typeof e?t(r("../../lib/codemirror"),r("journal-web$htmlhint")):"function"==typeof i&&i.amd?i(["../../lib/codemirror","htmlhint"],t):t(CodeMirror,window.HTMLHint)}));
//# sourceMappingURL=html-lint.js.map