Skip to content

Commit bed4efc

Browse files
committed
Version 4.1.0
1 parent 88fd2bd commit bed4efc

File tree

5 files changed

+39
-49
lines changed

5 files changed

+39
-49
lines changed

dist/bootstrap-confirmation.js

Lines changed: 33 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bootstrap-confirmation.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-confirmation2",
3-
"version": "4.0.4",
3+
"version": "4.1.0",
44
"homepage": "http://bootstrap-confirmation.js.org",
55
"description": "Bootstrap plugin for on-place confirm boxes using Popover",
66
"license": "Apache-2.0",
@@ -44,7 +44,7 @@
4444
"nodemon": "^1.17.3",
4545
"npm-run-all": "^4.1.2",
4646
"popper.js": "^1.12.9",
47-
"rollup": "^1.0.2",
47+
"rollup": "^1.7.3",
4848
"rollup-plugin-babel": "^4.2.0",
4949
"rollup-plugin-replace": "^2.0.0",
5050
"uglify-js": "^3.3.17"

rollup.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212
globals : {
1313
'jquery': 'jQuery'
1414
},
15-
banner: `/*!
15+
banner : `/*!
1616
* Bootstrap Confirmation (v${pkg.version})
1717
* @copyright 2013 Nimit Suwannagate <ethaizone@hotmail.com>
1818
* @copyright 2014-2018 Damien "Mistic" Sorel <contact@git.strangeplanet.fr>
@@ -27,6 +27,7 @@ export default {
2727
replace({
2828
delimiters: ['', ''],
2929

30+
'$VERSION' : pkg.version,
3031
'import Popover from \'bootstrap/js/src/popover\';': 'import Popover from \'./popover\';',
3132
'export default Confirmation;' : ''
3233
}),

src/confirmation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Popover from 'bootstrap/js/src/popover';
88
*/
99

1010
const NAME = 'confirmation';
11-
const VERSION = '4.0.4';
11+
const VERSION = '$VERSION';
1212
const DATA_KEY = `bs.${NAME}`;
1313
const EVENT_KEY = `.${DATA_KEY}`;
1414
const JQUERY_NO_CONFLICT = $.fn[NAME];

0 commit comments

Comments
 (0)