diff --git a/dist/browser/bootlint.js b/dist/browser/bootlint.js index caa6ddf6..7e32b74a 100644 --- a/dist/browser/bootlint.js +++ b/dist/browser/bootlint.js @@ -12229,7 +12229,7 @@ var LocationIndex = _location.LocationIndex; allLinters[id] = linterWrapper; } - + /* addLinter('W001', function lintMetaCharsetUtf8($, reporter) { var meta = $('head>meta[charset]'); var charset = meta.attr('charset'); @@ -12247,6 +12247,8 @@ var LocationIndex = _location.LocationIndex; reporter('charset `` tag is specifying a legacy, non-UTF-8 charset', meta); } }); + */ + /* addLinter('W002', function lintXUaCompatible($, reporter) { var meta = $([ 'head>meta[http-equiv="X-UA-Compatible"][content="IE=edge"]', @@ -12256,18 +12258,24 @@ var LocationIndex = _location.LocationIndex; reporter('`` is missing X-UA-Compatible `` tag that disables old IE compatibility modes'); } }); + */ + /* addLinter('W003', function lintViewport($, reporter) { var meta = $('head>meta[name="viewport"][content]'); if (!meta.length) { reporter('`` is missing viewport `` tag that enables responsiveness'); } }); + */ + /* addLinter('W004', function lintRemoteModals($, reporter) { var remoteModalTriggers = $('[data-toggle="modal"][data-remote]'); if (remoteModalTriggers.length) { reporter('Found one or more modals using the deprecated `remote` option', remoteModalTriggers); } }); + */ + /* addLinter('W005', function lintJquery($, reporter) { var OLD_JQUERY = 'Found what might be an outdated version of jQuery; Bootstrap requires jQuery v' + MIN_JQUERY_VERSION + ' or higher'; var NO_JQUERY_BUT_BS_JS = 'Unable to locate jQuery, which is required for Bootstrap\'s JavaScript plugins to work'; @@ -12276,14 +12284,14 @@ var LocationIndex = _location.LocationIndex; var hasBsJs = Boolean(bsScripts.minifieds.length || bsScripts.longhands.length); var theWindow = null; try { - /* eslint-disable no-undef, block-scoped-var */ + // eslint-disable no-undef, block-scoped-var theWindow = window; - /* eslint-enable no-undef, block-scoped-var */ + // eslint-enable no-undef, block-scoped-var } catch (e) { // deliberately do nothing // empty } - /* @covignore */ + // @covignore if (theWindow) { // check browser global jQuery var globaljQuery = theWindow.$ || theWindow.jQuery; @@ -12344,6 +12352,8 @@ var LocationIndex = _location.LocationIndex; } }); }); + */ + /* addLinter('W006', function lintTooltipsOnDisabledElems($, reporter) { var selector = [ '[disabled][data-toggle="tooltip"]', @@ -12361,18 +12371,24 @@ var LocationIndex = _location.LocationIndex; ); } }); + */ + /* addLinter('W007', function lintBtnType($, reporter) { var badBtnType = $('button:not([type="submit"], [type="reset"], [type="button"])'); if (badBtnType.length) { reporter('Found one or more `