diff options
author | zotlabs <mike@macgirvin.com> | 2018-09-10 22:11:26 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-09-10 22:11:26 -0700 |
commit | adc164b825c3b9e322921f2da9d1baf178b04cd3 (patch) | |
tree | fa5e805e53e7661ad936873e1a66017ad9dcd6a9 /vendor/twbs/bootstrap/js/dist/index.js | |
parent | be3b6304742a6c39d73674b1f7422c029e7cd804 (diff) | |
parent | c6abe87ec2e08fc38ff9c505ac2000d52d45c228 (diff) | |
download | volse-hubzilla-adc164b825c3b9e322921f2da9d1baf178b04cd3.tar.gz volse-hubzilla-adc164b825c3b9e322921f2da9d1baf178b04cd3.tar.bz2 volse-hubzilla-adc164b825c3b9e322921f2da9d1baf178b04cd3.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into xdev_merge
Diffstat (limited to 'vendor/twbs/bootstrap/js/dist/index.js')
-rw-r--r-- | vendor/twbs/bootstrap/js/dist/index.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/twbs/bootstrap/js/dist/index.js b/vendor/twbs/bootstrap/js/dist/index.js new file mode 100644 index 000000000..e36eca159 --- /dev/null +++ b/vendor/twbs/bootstrap/js/dist/index.js @@ -0,0 +1,23 @@ +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.1.3): index.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ +(function ($) { + if (typeof $ === 'undefined') { + throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.'); + } + + var version = $.fn.jquery.split(' ')[0].split('.'); + var minMajor = 1; + var ltMajor = 2; + var minMinor = 9; + var minPatch = 1; + var maxMajor = 4; + + if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) { + throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0'); + } +})($); +//# sourceMappingURL=index.js.map
\ No newline at end of file |