Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2017-12-16 15:00:38 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-01-11 19:48:46 +0300
commit80d0943b95984bfaf4997d2198d467876d294bd8 (patch)
treefa2eb4c869753b6e20c771a928da460587f38fdf /js/src/index.js
parent6d336502c7e26c4cc5b35f1d7a19c067b774cb1f (diff)
Comply to the new rules.
Diffstat (limited to 'js/src/index.js')
-rw-r--r--js/src/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/index.js b/js/src/index.js
index 51d09b4e29..db504319c0 100644
--- a/js/src/index.js
+++ b/js/src/index.js
@@ -20,12 +20,12 @@ import Util from './util'
(($) => {
if (typeof $ === 'undefined') {
- throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
+ throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
}
const version = $.fn.jquery.split(' ')[0].split('.')
const minMajor = 1
- const ltMajor = 2
+ const ltMajor = 2
const minMinor = 9
const minPatch = 1
const maxMajor = 4