Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
v0.16.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Nov 9, 2019
1 parent 65a971e commit af54e7a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 20 deletions.
21 changes: 8 additions & 13 deletions dist/browser/bootlint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Bootlint v0.16.7 (https://github.com/twbs/bootlint)
* Bootlint v0.16.8 (https://github.com/twbs/bootlint)
* HTML linter for Bootstrap projects
* Copyright (c) 2014-2019 The Bootlint Authors
* Licensed under the MIT License (https://github.com/twbs/bootlint/blob/master/LICENSE).
Expand Down Expand Up @@ -12612,9 +12612,8 @@ var LocationIndex = _location.LocationIndex;
function getBrowserWindowObject() {
var theWindow = null;
try {
/* eslint-disable no-undef, block-scoped-var */
/* eslint-disable-next-line no-undef */
theWindow = window;
/* eslint-enable no-undef, block-scoped-var */
} catch (e) {
// deliberately do nothing
// empty
Expand Down Expand Up @@ -12783,13 +12782,13 @@ 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-next-line no-undef */
theWindow = window;
/* eslint-enable no-undef, block-scoped-var */
} catch (e) {
// deliberately do nothing
// empty
}

/* istanbul ignore if */
if (theWindow) {
// check browser global jQuery
Expand Down Expand Up @@ -13029,9 +13028,8 @@ var LocationIndex = _location.LocationIndex;

/* istanbul ignore next */
return function lintDoctype($, reporter) {
/* eslint-disable no-undef, block-scoped-var */
/* eslint-disable-next-line no-undef */
var doc = window.document;
/* eslint-enable un-undef, block-scoped-var */
if (doc.doctype === null) {
reporter(MISSING_DOCTYPE);
} else if (doc.doctype.publicId) {
Expand Down Expand Up @@ -13636,9 +13634,8 @@ var LocationIndex = _location.LocationIndex;
var background = 'background: #' + (lint.id[0] === 'W' ? 'f0ad4e' : 'd9534f') + '; color: #ffffff;';
if (!seenLint) {
if (alertOnFirstProblem) {
/* eslint-disable no-alert, no-undef, block-scoped-var */
/* eslint-disable-next-line no-alert, no-undef */
window.alert('bootlint found errors in this document! See the JavaScript console for details.');
/* eslint-enable no-alert, no-undef, block-scoped-var */
}
seenLint = true;
}
Expand All @@ -13655,14 +13652,12 @@ var LocationIndex = _location.LocationIndex;
if (errorCount > 0) {
console.info('bootlint: For details, look up the lint problem IDs in the Bootlint wiki: https://github.com/twbs/bootlint/wiki');
} else if (alertIfNoProblems) {
/* eslint-disable no-alert, no-undef, block-scoped-var */
/* eslint-disable-next-line no-alert, no-undef */
window.alert('bootlint found no errors in this document.');
/* eslint-enable no-alert, no-undef, block-scoped-var */
}
};
/* eslint-disable no-undef, block-scoped-var */
/* eslint-disable-next-line no-undef */
window.bootlint = exports;
/* eslint-enable no-undef, block-scoped-var */
})();
}
})(typeof exports === 'object' && exports || this);
Expand Down
8 changes: 4 additions & 4 deletions dist/browser/bootlint.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bootlint.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootlint",
"version": "0.16.7",
"version": "0.16.8",
"description": "HTML linter for Bootstrap projects",
"license": "MIT",
"author": "Chris Rebert <[email protected]> (http://chrisrebert.com)",
Expand Down

0 comments on commit af54e7a

Please sign in to comment.