CoreFiles by mySites.guru
html-lint.min.js1 lines, 839 bytes, from Joomla_3.8.1-rc-Release_Candidate-Full_Package.zip
Raw History Compare with 3.8.0-rc1
md5
3ca4d6d691b29fb5d81617b14f1e35c2
sha1
f3f3fc04d205c925d0ce9fd5b2f84d96c0865806
sha256
19cd5f714bfbd85e98c05f4d42a0ec0deb41a410cab1da42312073145310922a
!(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror"),require("htmlhint")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","htmlhint"],a):a(CodeMirror)})((function(a){"use strict";var b={"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};a.registerHelper("lint","html",(function(c,d){var e=[];if(!window.HTMLHint)return window.console&&window.console.error("Error: window.HTMLHint not defined, CodeMirror HTML linting cannot run."),e;for(var f=HTMLHint.verify(c,d&&d.rules||b),g=0;g<f.length;g++){var h=f[g],i=h.line-1,j=h.line-1,k=h.col-1,l=h.col;e.push({from:a.Pos(i,k),to:a.Pos(j,l),message:h.message,severity:h.type})}return e}))}));

The same content is in 8 releases, Joomla 3.8.0-beta1 to 3.8.1. See them all, or every version of this file.