diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index d8914ff0..15539de5 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1626,6 +1626,7 @@ https://cdn.jsdelivr.net/npm/vue@1.0.28/dist/vue.min.js https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.min.js https://fonts.gstatic.com/s/materialicons/v92/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css +https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js https://raw.githubusercontent.com/jquery-validation/jquery-validation/1.19.3/dist/jquery.validate.min.js https://raw.githubusercontent.com/pagekit/vue-resource/1.5.3/dist/vue-resource.min.js https://raw.githubusercontent.com/Templarian/MaterialDesign-Webfont/v2.8.94/css/materialdesignicons.min.css diff --git a/audit/audit.sh b/audit/audit.sh index 5033cf5b..96081fe7 100755 --- a/audit/audit.sh +++ b/audit/audit.sh @@ -579,6 +579,8 @@ function create_url() { elif [ "$folder" = "twitter-bootstrap" ] && [ "$version" = "2.3.2" ]; then if [[ "$subfile" =~ \.css$ ]]; then url="$NETDNA_BOOTSTRAPCDN/$folder/$version/css/bootstrap-combined.no-icons.min.css" + else + url="$NETDNA_BOOTSTRAPCDN/$folder/$version/js/bootstrap.min.js" fi elif [ "$folder" = "webcomponentsjs" ]; then url="$CLOUDFLARE/$folder/2.5.0/webcomponents-loader.min.js" diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 5ef7dcf2..29752c8f 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -41,6 +41,7 @@
  • Added: sticky-js v1.3.0 (#540)
  • Added: simplebar v5.3.4 (#540)
  • Updated: Chart.js v3.3.2 -> v3.4.0 (#542)
  • +
  • Added: Bootstrap JS v2.3.2 (#544)
  • diff --git a/resources/twitter-bootstrap/2.3.2/bootstrap.min.jsm b/resources/twitter-bootstrap/2.3.2/bootstrap.min.jsm new file mode 100644 index 00000000..319a85df --- /dev/null +++ b/resources/twitter-bootstrap/2.3.2/bootstrap.min.jsm @@ -0,0 +1,7 @@ +/** +* Bootstrap.js by @fat & @mdo +* plugins: bootstrap-transition.js, bootstrap-modal.js, bootstrap-dropdown.js, bootstrap-scrollspy.js, bootstrap-tab.js, bootstrap-tooltip.js, bootstrap-popover.js, bootstrap-affix.js, bootstrap-alert.js, bootstrap-button.js, bootstrap-collapse.js, bootstrap-carousel.js, bootstrap-typeahead.js +* Copyright 2012 Twitter, Inc. +* http://www.apache.org/licenses/LICENSE-2.0.txt +*/ +!function(a){a(function(){a.support.transition=function(){var a=function(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},c;for(c in b)if(a.style[c]!==undefined)return b[c]}();return a&&{end:a}}()})}(window.jQuery),!function(a){var b=function(b,c){this.options=c,this.$element=a(b).delegate('[data-dismiss="modal"]',"click.dismiss.modal",a.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};b.prototype={constructor:b,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var b=this,c=a.Event("show");this.$element.trigger(c);if(this.isShown||c.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var c=a.support.transition&&b.$element.hasClass("fade");b.$element.parent().length||b.$element.appendTo(document.body),b.$element.show(),c&&b.$element[0].offsetWidth,b.$element.addClass("in").attr("aria-hidden",!1),b.enforceFocus(),c?b.$element.one(a.support.transition.end,function(){b.$element.focus().trigger("shown")}):b.$element.focus().trigger("shown")})},hide:function(b){b&&b.preventDefault();var c=this;b=a.Event("hide"),this.$element.trigger(b);if(!this.isShown||b.isDefaultPrevented())return;this.isShown=!1,this.escape(),a(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),a.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var b=this;a(document).on("focusin.modal",function(a){b.$element[0]!==a.target&&!b.$element.has(a.target).length&&b.$element.focus()})},escape:function(){var a=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(b){b.which==27&&a.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var b=this,c=setTimeout(function(){b.$element.off(a.support.transition.end),b.hideModal()},500);this.$element.one(a.support.transition.end,function(){clearTimeout(c),b.hideModal()})},hideModal:function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(b){var c=this,d=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var e=a.support.transition&&d;this.$backdrop=a('