medium-style-confirm
Advanced tools
Comparing version 0.4.4 to 0.4.6
@@ -163,3 +163,2 @@ (function (root, factory) { | ||
}; | ||
//window.msc = MscConfirm; | ||
var exportData = { | ||
@@ -174,2 +173,8 @@ mscConfirm: function(title, sub, onOk, onCancel) { | ||
buildUI(title, sub, onOk, onCancel, "alert"); | ||
}, | ||
mscClose: function() { | ||
var prev = document.getElementsByClassName('msc-confirm'); | ||
if(prev.length > 0){ | ||
document.body.removeChild(prev[0]); | ||
} | ||
} | ||
@@ -176,0 +181,0 @@ }; |
{ | ||
"name": "medium-style-confirm", | ||
"version": "0.4.4", | ||
"version": "0.4.6", | ||
"description": "A medium.com like modal dialog UI library.", | ||
@@ -5,0 +5,0 @@ "main": "js/msc-script.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24788
350