From 21c38641342b98d7590b9c901f77d2a21e99f1fd Mon Sep 17 00:00:00 2001 From: Johann-S Date: Fri, 12 May 2017 21:44:43 +0200 Subject: [PATCH] Update Popper.js 1.9.3 --- _config.yml | 4 ++-- bower.json | 2 +- build/npm-shrinkwrap.json | 6 +++--- docs/assets/js/vendor/popper.min.js | 2 +- docs/components/dropdowns.md | 2 +- docs/components/popovers.md | 2 +- docs/components/tooltips.md | 2 +- docs/examples/album/index.html | 2 +- docs/examples/blog/index.html | 2 +- docs/examples/carousel/index.html | 2 +- docs/examples/cover/index.html | 2 +- docs/examples/dashboard/index.html | 2 +- docs/examples/jumbotron/index.html | 2 +- docs/examples/justified-nav/index.html | 2 +- docs/examples/navbar-top-fixed/index.html | 2 +- docs/examples/navbar-top/index.html | 2 +- docs/examples/navbars/index.html | 2 +- docs/examples/offcanvas/index.html | 2 +- docs/examples/starter-template/index.html | 2 +- docs/examples/sticky-footer-navbar/index.html | 2 +- docs/examples/tooltip-viewport/index.html | 2 +- package.json | 2 +- 22 files changed, 25 insertions(+), 25 deletions(-) diff --git a/_config.yml b/_config.yml index 3e596615d3..b3125e2b39 100644 --- a/_config.yml +++ b/_config.yml @@ -51,5 +51,5 @@ cdn: js_hash: "sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" jquery: https://code.jquery.com/jquery-3.2.1.slim.min.js jquery_hash: "sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" - popper: https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.9.1/umd/popper.min.js - popper_hash: "sha256-bEc/d4PvjMyrMkTlKFig/0NhlGlr7UA2Q0BoiXR9gc0=" + popper: https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.9.3/umd/popper.min.js + popper_hash: "sha256-CoUNXKgvtCIDzn2AVOBz0YMln0fXEyGZjlSMA4jZpR4=" diff --git a/bower.json b/bower.json index 9c00f85210..ba9cb5109f 100644 --- a/bower.json +++ b/bower.json @@ -31,6 +31,6 @@ ], "dependencies": { "jquery": ">=1.9.1", - "popper.js": "^1.9.1" + "popper.js": "^1.9.3" } } diff --git a/build/npm-shrinkwrap.json b/build/npm-shrinkwrap.json index 6879240f0d..2ef168bdad 100644 --- a/build/npm-shrinkwrap.json +++ b/build/npm-shrinkwrap.json @@ -3390,9 +3390,9 @@ "dev": true }, "popper.js": { - "version": "1.9.1", - "from": "popper.js@>=1.9.1 <2.0.0", - "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.9.1.tgz" + "version": "1.9.3", + "from": "popper.js@>=1.9.3 <2.0.0", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.9.3.tgz" }, "postcss": { "version": "5.2.17", diff --git a/docs/assets/js/vendor/popper.min.js b/docs/assets/js/vendor/popper.min.js index e0092080e1..8c2b97e661 100644 --- a/docs/assets/js/vendor/popper.min.js +++ b/docs/assets/js/vendor/popper.min.js @@ -1,3 +1,3 @@ -var _Mathfloor=Math.floor,_Mathmin=Math.min,_Mathround=Math.round,_Mathmax=Math.max;(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function o(Oe){return''!==Oe&&!isNaN(parseFloat(Oe))&&isFinite(Oe)}function r(Oe,Le){Object.keys(Le).forEach(function(Se){var Ce='';-1!==['width','height','top','right','bottom','left'].indexOf(Se)&&o(Le[Se])&&(Ce='px'),Oe.style[Se]=Le[Se]+Ce})}function s(Oe){for(var Le=[!1,'ms','webkit','moz','o'],Se=Oe.charAt(0).toUpperCase()+Oe.slice(1),Ce=0;CeCe[He]&&!Le.escapeWithReference&&(ke=_Mathmin(Ne[Pe],Ce[He]-('right'===He?Ne.width:Ne.height))),ce({},Pe,ke)}};return Te.forEach(function(De){var He=-1===['left','top'].indexOf(De)?'secondary':'primary';Ne=he({},Ne,We[He](De))}),Oe.offsets.popper=Ne,Oe},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(Oe){var Le=w(Oe.offsets.popper),Se=Oe.offsets.reference,Ce=Oe.placement.split('-')[0],Te=_Mathfloor,Ne=-1!==['top','bottom'].indexOf(Ce),We=Ne?'right':'bottom',De=Ne?'left':'top',He=Ne?'width':'height';return Le[We]Te(Se[We])&&(Oe.offsets.popper[De]=Te(Se[We])),Oe}},arrow:{order:500,enabled:!0,fn:function(Oe,Le){if(!K(Oe.instance.modifiers,'arrow','keepTogether'))return Oe;var Se=Le.element;if('string'==typeof Se){if(Se=Oe.instance.popper.querySelector(Se),!Se)return Oe;}else if(!Oe.instance.popper.contains(Se))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),Oe;var Ce=Oe.placement.split('-')[0],Te=w(Oe.offsets.popper),Ne=Oe.offsets.reference,We=-1!==['left','right'].indexOf(Ce),De=We?'height':'width',He=We?'top':'left',Pe=We?'left':'top',ke=We?'bottom':'right',Be=C(Se)[De];Ne[ke]-BeTe[ke]&&(Oe.offsets.popper[He]+=Ne[He]+Be-Te[ke]);var Me=Ne[He]+Ne[De]/2-Be/2,Ie=Me-w(Oe.offsets.popper)[He];return Ie=_Mathmax(_Mathmin(Te[De]-Be,Ie),0),Oe.arrowElement=Se,Oe.offsets.arrow={},Oe.offsets.arrow[He]=Ie,Oe.offsets.arrow[Pe]='',Oe},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(Oe,Le){if(I(Oe.instance.modifiers,'inner'))return Oe;if(Oe.flipped&&Oe.placement===Oe.originalPlacement)return Oe;var Se=Y(Oe.instance.popper,Oe.instance.reference,Le.padding,Le.boundariesElement),Ce=Oe.placement.split('-')[0],Te=T(Ce),Ne=Oe.placement.split('-')[1]||'',We=[];switch(Le.behavior){case Ee.FLIP:We=[Ce,Te];break;case Ee.CLOCKWISE:We=V(Ce);break;case Ee.COUNTERCLOCKWISE:We=V(Ce,!0);break;default:We=Le.behavior;}return We.forEach(function(De,He){if(Ce!==De||We.length===He+1)return Oe;Ce=Oe.placement.split('-')[0],Te=T(Ce);var Pe=w(Oe.offsets.popper),ke=Oe.offsets.reference,Be=_Mathfloor,Me='left'===Ce&&Be(Pe.right)>Be(ke.left)||'right'===Ce&&Be(Pe.left)Be(ke.top)||'bottom'===Ce&&Be(Pe.top)Be(Se.right),Ue=Be(Pe.top)Be(Se.bottom),Re='left'===Ce&&Ie||'right'===Ce&&Ae||'top'===Ce&&Ue||'bottom'===Ce&&Ye,Fe=-1!==['top','bottom'].indexOf(Ce),je=!!Le.flipVariations&&(Fe&&'start'===Ne&&Ie||Fe&&'end'===Ne&&Ae||!Fe&&'start'===Ne&&Ue||!Fe&&'end'===Ne&&Ye);(Me||Re||je)&&(Oe.flipped=!0,(Me||Re)&&(Ce=We[He+1]),je&&(Ne=_(Ne)),Oe.placement=Ce+(Ne?'-'+Ne:''),Oe.offsets.popper=N(Oe.instance.state.position,Oe.instance.popper,Oe.offsets.reference,Oe.placement),Oe=M(Oe.instance.modifiers,Oe,'flip'))}),Oe},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(Oe){var Le=Oe.placement,Se=Le.split('-')[0],Ce=w(Oe.offsets.popper),Te=w(Oe.offsets.reference),Ne=-1!==['left','right'].indexOf(Se),We=-1===['top','left'].indexOf(Se);return Ce[Ne?'left':'top']=Te[Le]-(We?Ce[Ne?'width':'height']:0),Oe.placement=T(Le),Oe.offsets.popper=w(Ce),Oe}},hide:{order:800,enabled:!0,fn:function(Oe){if(!K(Oe.instance.modifiers,'hide','preventOverflow'))return Oe;var Le=Oe.offsets.reference,Se=k(Oe.instance.modifiers,function(Ce){return'preventOverflow'===Ce.name}).boundaries;if(Le.bottomSe.right||Le.top>Se.bottom||Le.rightDe[Me]&&!Ne.escapeWithReference&&(Ae=_Mathmin(Pe[Ie],De[Me]-('right'===Me?Pe.width:Pe.height))),be({},Ie,Ae)}};return He.forEach(function(Be){var Me=-1===['left','top'].indexOf(Be)?'secondary':'primary';Pe=ye({},Pe,ke[Me](Be))}),Te.offsets.popper=Pe,Te},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(Te){var Ne=w(Te.offsets.popper),We=Te.offsets.reference,De=Te.placement.split('-')[0],He=_Mathfloor,Pe=-1!==['top','bottom'].indexOf(De),ke=Pe?'right':'bottom',Be=Pe?'left':'top',Me=Pe?'width':'height';return Ne[ke]He(We[ke])&&(Te.offsets.popper[Be]=He(We[ke])),Te}},arrow:{order:500,enabled:!0,fn:function(Te,Ne){if(!G(Te.instance.modifiers,'arrow','keepTogether'))return Te;var We=Ne.element;if('string'==typeof We){if(We=Te.instance.popper.querySelector(We),!We)return Te;}else if(!Te.instance.popper.contains(We))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),Te;var De=Te.placement.split('-')[0],He=w(Te.offsets.popper),Pe=Te.offsets.reference,ke=-1!==['left','right'].indexOf(De),Be=ke?'height':'width',Me=ke?'top':'left',Ie=ke?'left':'top',Ae=ke?'bottom':'right',Ue=D(We)[Be];Pe[Ae]-UeHe[Ae]&&(Te.offsets.popper[Me]+=Pe[Me]+Ue-He[Ae]);var Ye=Pe[Me]+Pe[Be]/2-Ue/2,Re=Ye-w(Te.offsets.popper)[Me];return Re=_Mathmax(_Mathmin(He[Be]-Ue,Re),0),Te.arrowElement=We,Te.offsets.arrow={},Te.offsets.arrow[Me]=Re,Te.offsets.arrow[Ie]='',Te},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(Te,Ne){if(A(Te.instance.modifiers,'inner'))return Te;if(Te.flipped&&Te.placement===Te.originalPlacement)return Te;var We=T(Te.instance.popper,Te.instance.reference,Ne.padding,Ne.boundariesElement),De=Te.placement.split('-')[0],He=H(De),Pe=Te.placement.split('-')[1]||'',ke=[];switch(Ne.behavior){case Oe.FLIP:ke=[De,He];break;case Oe.CLOCKWISE:ke=Z(De);break;case Oe.COUNTERCLOCKWISE:ke=Z(De,!0);break;default:ke=Ne.behavior;}return ke.forEach(function(Be,Me){if(De!==Be||ke.length===Me+1)return Te;De=Te.placement.split('-')[0],He=H(De);var Ie=w(Te.offsets.popper),Ae=Te.offsets.reference,Ue=_Mathfloor,Ye='left'===De&&Ue(Ie.right)>Ue(Ae.left)||'right'===De&&Ue(Ie.left)Ue(Ae.top)||'bottom'===De&&Ue(Ie.top)Ue(We.right),je=Ue(Ie.top)Ue(We.bottom),Ke='left'===De&&Re||'right'===De&&Fe||'top'===De&&je||'bottom'===De&&qe,ze=-1!==['top','bottom'].indexOf(De),_e=!!Ne.flipVariations&&(ze&&'start'===Pe&&Re||ze&&'end'===Pe&&Fe||!ze&&'start'===Pe&&je||!ze&&'end'===Pe&&qe);(Ye||Ke||_e)&&(Te.flipped=!0,(Ye||Ke)&&(De=ke[Me+1]),_e&&(Pe=Q(Pe)),Te.placement=De+(Pe?'-'+Pe:''),Te.offsets.popper=P(Te.instance.popper,Te.offsets.reference,Te.placement),Te=M(Te.instance.modifiers,Te,'flip'))}),Te},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(Te){var Ne=Te.placement,We=Ne.split('-')[0],De=w(Te.offsets.popper),He=w(Te.offsets.reference),Pe=-1!==['left','right'].indexOf(We),ke=-1===['top','left'].indexOf(We);return De[Pe?'left':'top']=He[Ne]-(ke?De[Pe?'width':'height']:0),Te.placement=H(Ne),Te.offsets.popper=w(De),Te}},hide:{order:800,enabled:!0,fn:function(Te){if(!G(Te.instance.modifiers,'hide','preventOverflow'))return Te;var Ne=Te.offsets.reference,We=k(Te.instance.modifiers,function(De){return'preventOverflow'===De.name}).boundaries;if(Ne.bottomWe.right||Ne.top>We.bottom||Ne.right - + - + diff --git a/docs/examples/carousel/index.html b/docs/examples/carousel/index.html index ae7a3a30fa..b0eebc6bf0 100644 --- a/docs/examples/carousel/index.html +++ b/docs/examples/carousel/index.html @@ -176,7 +176,7 @@ - + diff --git a/docs/examples/cover/index.html b/docs/examples/cover/index.html index 6ba8850eb9..1cc780ba68 100644 --- a/docs/examples/cover/index.html +++ b/docs/examples/cover/index.html @@ -60,7 +60,7 @@ - + diff --git a/docs/examples/dashboard/index.html b/docs/examples/dashboard/index.html index 781fc17885..3e13b0ded1 100644 --- a/docs/examples/dashboard/index.html +++ b/docs/examples/dashboard/index.html @@ -254,7 +254,7 @@ - + diff --git a/docs/examples/jumbotron/index.html b/docs/examples/jumbotron/index.html index e3b7fde1f0..9c4015f7bd 100644 --- a/docs/examples/jumbotron/index.html +++ b/docs/examples/jumbotron/index.html @@ -93,7 +93,7 @@ - + diff --git a/docs/examples/justified-nav/index.html b/docs/examples/justified-nav/index.html index 724f0abe55..a1ccb8c38c 100644 --- a/docs/examples/justified-nav/index.html +++ b/docs/examples/justified-nav/index.html @@ -96,7 +96,7 @@ - + diff --git a/docs/examples/navbar-top-fixed/index.html b/docs/examples/navbar-top-fixed/index.html index 0cac1bf9ae..75673ac46b 100644 --- a/docs/examples/navbar-top-fixed/index.html +++ b/docs/examples/navbar-top-fixed/index.html @@ -56,7 +56,7 @@ - + diff --git a/docs/examples/navbar-top/index.html b/docs/examples/navbar-top/index.html index 0af4b5e259..9eceb3e5f7 100644 --- a/docs/examples/navbar-top/index.html +++ b/docs/examples/navbar-top/index.html @@ -56,7 +56,7 @@ - + diff --git a/docs/examples/navbars/index.html b/docs/examples/navbars/index.html index a06b5d8daa..036ffd888a 100644 --- a/docs/examples/navbars/index.html +++ b/docs/examples/navbars/index.html @@ -351,7 +351,7 @@ - + diff --git a/docs/examples/offcanvas/index.html b/docs/examples/offcanvas/index.html index a2dc6c9ed4..0968770044 100644 --- a/docs/examples/offcanvas/index.html +++ b/docs/examples/offcanvas/index.html @@ -127,7 +127,7 @@ - + diff --git a/docs/examples/starter-template/index.html b/docs/examples/starter-template/index.html index 27522ec421..98b2ae4500 100644 --- a/docs/examples/starter-template/index.html +++ b/docs/examples/starter-template/index.html @@ -66,7 +66,7 @@ - + diff --git a/docs/examples/sticky-footer-navbar/index.html b/docs/examples/sticky-footer-navbar/index.html index 6102e885c1..fe13d569ea 100644 --- a/docs/examples/sticky-footer-navbar/index.html +++ b/docs/examples/sticky-footer-navbar/index.html @@ -64,7 +64,7 @@ - + diff --git a/docs/examples/tooltip-viewport/index.html b/docs/examples/tooltip-viewport/index.html index 9056b0a00b..045515ae3b 100644 --- a/docs/examples/tooltip-viewport/index.html +++ b/docs/examples/tooltip-viewport/index.html @@ -39,7 +39,7 @@ - + diff --git a/package.json b/package.json index 812d819553..2a5c35c381 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "license": "MIT", "dependencies": { "jquery": ">=1.9.1", - "popper.js": "^1.9.1" + "popper.js": "^1.9.3" }, "devDependencies": { "autoprefixer": "^6.7.7",