Skip to content

Commit

Permalink
v6.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Limon Monte committed Nov 2, 2016
1 parent a62df4d commit a4bd01d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
10 changes: 6 additions & 4 deletions dist/sweetalert2.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sweetalert2 v6.0.0
* sweetalert2 v6.0.1
* Released under the MIT License.
*/
'use strict';
Expand Down Expand Up @@ -643,8 +643,10 @@ var setParameters = function setParameters(params) {
} else {
content.appendChild(params.html.cloneNode(true));
}
} else {
content.innerHTML = params.html || params.text.split('\n').join('<br>');
} else if (params.html) {
content.innerHTML = params.html;
} else if (params.text) {
content.innerHTML = ('' + params.text).split('\n').join('<br>');
}
show(content);
} else {
Expand Down Expand Up @@ -1681,7 +1683,7 @@ sweetAlert.resetDefaults = function () {

sweetAlert.noop = function () {};

sweetAlert.version = '6.0.0';
sweetAlert.version = '6.0.1';

module.exports = sweetAlert;
if (window.Sweetalert2) window.sweetAlert = window.swal = window.Sweetalert2;
10 changes: 6 additions & 4 deletions dist/sweetalert2.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* sweetalert2 v6.0.0
* sweetalert2 v6.0.1
* Released under the MIT License.
*/
(function (global, factory) {
Expand Down Expand Up @@ -647,8 +647,10 @@ var setParameters = function setParameters(params) {
} else {
content.appendChild(params.html.cloneNode(true));
}
} else {
content.innerHTML = params.html || params.text.split('\n').join('<br>');
} else if (params.html) {
content.innerHTML = params.html;
} else if (params.text) {
content.innerHTML = ('' + params.text).split('\n').join('<br>');
}
show(content);
} else {
Expand Down Expand Up @@ -1685,7 +1687,7 @@ sweetAlert.resetDefaults = function () {

sweetAlert.noop = function () {};

sweetAlert.version = '6.0.0';
sweetAlert.version = '6.0.1';

return sweetAlert;

Expand Down
Loading

0 comments on commit a4bd01d

Please sign in to comment.