Skip to content

Commit

Permalink
Updates related to #383
Browse files Browse the repository at this point in the history
  • Loading branch information
thednp committed Jul 27, 2020
1 parent 796a23c commit 7a18ce0
Show file tree
Hide file tree
Showing 30 changed files with 44 additions and 40 deletions.
10 changes: 5 additions & 5 deletions dist/bootstrap-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* Native JavaScript for Bootstrap v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap v3.0.10 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
var transitionEndEvent = 'webkitTransition' in document.body.style ? 'webkitTransitionEnd' : 'transitionend';
var transitionEndEvent = 'webkitTransition' in document.head.style ? 'webkitTransitionEnd' : 'transitionend';

var supportTransition = 'webkitTransition' in document.body.style || 'transition' in document.body.style;
var supportTransition = 'webkitTransition' in document.head.style || 'transition' in document.head.style;

var transitionDuration = 'webkitTransition' in document.body.style ? 'webkitTransitionDuration' : 'transitionDuration';
var transitionDuration = 'webkitTransition' in document.head.style ? 'webkitTransitionDuration' : 'transitionDuration';

function getElementTransitionDuration(element) {
var duration = supportTransition ? parseFloat(getComputedStyle(element)[transitionDuration]) : 0;
Expand Down Expand Up @@ -1631,7 +1631,7 @@ function removeDataAPI(lookUp) {
}
}

var version = "3.0.9";
var version = "3.0.10";

var index = {
Alert: Alert,
Expand Down
4 changes: 2 additions & 2 deletions dist/bootstrap-native.esm.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/bootstrap-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap v3.0.10 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand All @@ -9,11 +9,11 @@
(global = global || self, global.BSN = factory());
}(this, (function () { 'use strict';

var transitionEndEvent = 'webkitTransition' in document.body.style ? 'webkitTransitionEnd' : 'transitionend';
var transitionEndEvent = 'webkitTransition' in document.head.style ? 'webkitTransitionEnd' : 'transitionend';

var supportTransition = 'webkitTransition' in document.body.style || 'transition' in document.body.style;
var supportTransition = 'webkitTransition' in document.head.style || 'transition' in document.head.style;

var transitionDuration = 'webkitTransition' in document.body.style ? 'webkitTransitionDuration' : 'transitionDuration';
var transitionDuration = 'webkitTransition' in document.head.style ? 'webkitTransitionDuration' : 'transitionDuration';

function getElementTransitionDuration(element) {
var duration = supportTransition ? parseFloat(getComputedStyle(element)[transitionDuration]) : 0;
Expand Down Expand Up @@ -1637,7 +1637,7 @@
}
}

var version = "3.0.9";
var version = "3.0.10";

var index = {
Alert: Alert,
Expand Down
4 changes: 2 additions & 2 deletions dist/bootstrap-native.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/components/alert-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Alert v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Alert v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/alert-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Alert v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Alert v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/button-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Button v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Button v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/button-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Button v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Button v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/carousel-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Carousel v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Carousel v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/carousel-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Carousel v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Carousel v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/collapse-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Collapse v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Collapse v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/collapse-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Collapse v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Collapse v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/dropdown-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Dropdown v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Dropdown v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/dropdown-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Dropdown v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Dropdown v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/modal-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Modal v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Modal v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/modal-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Modal v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Modal v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/popover-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Popover v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Popover v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/popover-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Popover v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Popover v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/scrollspy-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap ScrollSpy v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap ScrollSpy v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/scrollspy-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap ScrollSpy v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap ScrollSpy v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/tab-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Tab v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tab v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/tab-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Tab v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tab v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/toast-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Toast v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Toast v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/toast-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Toast v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Toast v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/tooltip-native.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Tooltip v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tooltip v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/components/tooltip-native.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Tooltip v3.0.9 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tooltip v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/polyfill.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap Polyfill v3.0.8 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Polyfill v3.0.10 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/polyfill.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@

<!-- Custom styles for this template -->
<link rel="stylesheet" href="./assets/css/theme.css">

<!-- <script src="./dist/polyfill.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/js/ie10-viewport-bug-workaround.js"></script>
<script src="./dist/bootstrap-native.js"></script> -->
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-bootstrap">
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap.native",
"version": "3.0.9",
"version": "3.0.10",
"description": "Native JavaScript for Bootstrap, the sweetest JavaScript library without jQuery.",
"main": "dist/bootstrap-native.min.js",
"module": "dist/bootstrap-native.esm.js",
Expand Down Expand Up @@ -71,7 +71,7 @@
},
"homepage": "https://thednp.github.io/bootstrap.native/",
"dependencies": {
"shorter-js": "^0.1.0",
"shorter-js": "^0.1.4",
"minifill": "^0.0.8"
},
"devDependencies": {
Expand Down

0 comments on commit 7a18ce0

Please sign in to comment.