sweetalert
Version:
A beautiful replacement for JavaScript's "alert"
18 lines (14 loc) • 364 B
JavaScript
;(function(window, document, undefined) {
"use strict";
<%= contents %>
/*
* Use SweetAlert with RequireJS
*/
if (typeof define === 'function' && define.amd) {
define(function () {
return sweetAlert;
});
} else if (typeof module !== 'undefined' && module.exports) {
module.exports = sweetAlert;
}
})(window, document);