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:
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