cleverstyle-widgets
Advanced tools
Comparing version 0.7.4 to 0.7.5
@@ -26,3 +26,3 @@ { | ||
], | ||
"version" : "0.7.4", | ||
"version" : "0.7.5", | ||
"homepage" : "https://github.com/nazar-pc/CleverStyle-Widgets", | ||
@@ -29,0 +29,0 @@ "author" : "Nazar Mokrynskyi <nazar@mokrynskyi.com>", |
@@ -104,4 +104,2 @@ // Generated by LiveScript 1.5.0 | ||
y$.primary = true; | ||
y$.action = 'close'; | ||
y$.bind = modal; | ||
z$ = ok_button = ok.firstElementChild; | ||
@@ -112,7 +110,6 @@ z$.addEventListener('click', function(){ | ||
} | ||
modal.close(); | ||
}); | ||
z1$ = cancel = document.createElement('csw-button'); | ||
z1$.innerHTML = '<button>Cancel</button>'; | ||
z1$.action = 'close'; | ||
z1$.bind = modal; | ||
z2$ = cancel_button = cancel.firstElementChild; | ||
@@ -123,2 +120,3 @@ z2$.addEventListener('click', function(){ | ||
} | ||
modal.close(); | ||
}); | ||
@@ -138,5 +136,7 @@ z3$ = modal; | ||
resolve(); | ||
modal.close(); | ||
}); | ||
cancel_button.addEventListener('click', function(){ | ||
reject(); | ||
modal.close(); | ||
}); | ||
@@ -143,0 +143,0 @@ }); |
Sorry, the diff of this file is not supported yet
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
272267