Skip to content

Commit

Permalink
Changes:
Browse files Browse the repository at this point in the history
* added a rollup.module.js config for modules
* added a rollup.polyfill.js config for polyfills
* updated rollup.config.js
  • Loading branch information
thednp committed Jun 19, 2020
1 parent a52ef8f commit 3a32561
Show file tree
Hide file tree
Showing 32 changed files with 195 additions and 77 deletions.
4 changes: 2 additions & 2 deletions dist/bootstrap-native.esm.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap v3.0.6 (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 Expand Up @@ -1631,7 +1631,7 @@ function removeDataAPI(lookUp) {
}
}

var version = "3.0.5";
var version = "3.0.6";

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.

4 changes: 2 additions & 2 deletions dist/bootstrap-native.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap v3.0.6 (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 Expand Up @@ -1637,7 +1637,7 @@
}
}

var version = "3.0.5";
var version = "3.0.6";

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
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Alert v3.0.6 (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
4 changes: 2 additions & 2 deletions dist/components/alert-native.js
@@ -1,12 +1,12 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Alert v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.BSN = factory());
(global = global || self, global.Alert = factory());
}(this, (function () { 'use strict';

var transitionEndEvent = 'webkitTransition' in document.body.style ? 'webkitTransitionEnd' : 'transitionend';
Expand Down
2 changes: 1 addition & 1 deletion dist/components/button-native.esm.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Button v3.0.6 (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
4 changes: 2 additions & 2 deletions dist/components/button-native.js
@@ -1,12 +1,12 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Button v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.BSN = factory());
(global = global || self, global.Button = factory());
}(this, (function () { 'use strict';

function queryElement(selector, parent) {
Expand Down
2 changes: 1 addition & 1 deletion dist/components/carousel-native.esm.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Carousel v3.0.6 (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
4 changes: 2 additions & 2 deletions dist/components/carousel-native.js
@@ -1,12 +1,12 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Carousel v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.BSN = factory());
(global = global || self, global.Carousel = factory());
}(this, (function () { 'use strict';

var mouseHoverEvents = ('onmouseleave' in document) ? [ 'mouseenter', 'mouseleave'] : [ 'mouseover', 'mouseout' ];
Expand Down
2 changes: 1 addition & 1 deletion dist/components/collapse-native.esm.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Collapse v3.0.6 (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
4 changes: 2 additions & 2 deletions dist/components/collapse-native.js
@@ -1,12 +1,12 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Collapse v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.BSN = factory());
(global = global || self, global.Collapse = factory());
}(this, (function () { 'use strict';

var transitionEndEvent = 'webkitTransition' in document.body.style ? 'webkitTransitionEnd' : 'transitionend';
Expand Down
2 changes: 1 addition & 1 deletion dist/components/dropdown-native.esm.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Dropdown v3.0.6 (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
4 changes: 2 additions & 2 deletions dist/components/dropdown-native.js
@@ -1,12 +1,12 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Dropdown v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.BSN = factory());
(global = global || self, global.Dropdown = factory());
}(this, (function () { 'use strict';

function queryElement(selector, parent) {
Expand Down
2 changes: 1 addition & 1 deletion dist/components/modal-native.esm.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Modal v3.0.6 (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
4 changes: 2 additions & 2 deletions dist/components/modal-native.js
@@ -1,12 +1,12 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Modal v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.BSN = factory());
(global = global || self, global.Modal = factory());
}(this, (function () { 'use strict';

var supportPassive = (function () {
Expand Down
2 changes: 1 addition & 1 deletion dist/components/popover-native.esm.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Popover v3.0.6 (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
4 changes: 2 additions & 2 deletions dist/components/popover-native.js
@@ -1,12 +1,12 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Popover v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.BSN = factory());
(global = global || self, global.Popover = factory());
}(this, (function () { 'use strict';

var mouseHoverEvents = ('onmouseleave' in document) ? [ 'mouseenter', 'mouseleave'] : [ 'mouseover', 'mouseout' ];
Expand Down
2 changes: 1 addition & 1 deletion dist/components/scrollspy-native.esm.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap ScrollSpy v3.0.6 (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
4 changes: 2 additions & 2 deletions dist/components/scrollspy-native.js
@@ -1,12 +1,12 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap ScrollSpy v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.BSN = factory());
(global = global || self, global.ScrollSpy = factory());
}(this, (function () { 'use strict';

var supportPassive = (function () {
Expand Down
2 changes: 1 addition & 1 deletion dist/components/tab-native.esm.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tab v3.0.6 (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
4 changes: 2 additions & 2 deletions dist/components/tab-native.js
@@ -1,12 +1,12 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tab v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.BSN = factory());
(global = global || self, global.Tab = factory());
}(this, (function () { 'use strict';

var supportTransition = 'webkitTransition' in document.body.style || 'transition' in document.body.style;
Expand Down
2 changes: 1 addition & 1 deletion dist/components/toast-native.esm.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Toast v3.0.6 (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
4 changes: 2 additions & 2 deletions dist/components/toast-native.js
@@ -1,12 +1,12 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Toast v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.BSN = factory());
(global = global || self, global.Toast = factory());
}(this, (function () { 'use strict';

var transitionEndEvent = 'webkitTransition' in document.body.style ? 'webkitTransitionEnd' : 'transitionend';
Expand Down
2 changes: 1 addition & 1 deletion dist/components/tooltip-native.esm.js
@@ -1,5 +1,5 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tooltip v3.0.6 (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
4 changes: 2 additions & 2 deletions dist/components/tooltip-native.js
@@ -1,12 +1,12 @@
/*!
* Native JavaScript for Bootstrap v3.0.5 (https://thednp.github.io/bootstrap.native/)
* Native JavaScript for Bootstrap Tooltip v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.BSN = factory());
(global = global || self, global.Tooltip = factory());
}(this, (function () { 'use strict';

var mouseHoverEvents = ('onmouseleave' in document) ? [ 'mouseenter', 'mouseleave'] : [ 'mouseover', 'mouseout' ];
Expand Down
7 changes: 6 additions & 1 deletion dist/polyfill.js
@@ -1,4 +1,9 @@
"use strict";
/*!
* Native JavaScript for Bootstrap Polyfill v3.0.6 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
"use strict";
if (!Array.from) {
Array.from = (function () {
var toStr = Object.prototype.toString;
Expand Down
1 change: 1 addition & 0 deletions dist/polyfill.min.js

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

0 comments on commit 3a32561

Please sign in to comment.