Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 09cbcb4

Browse files
committed
fixed unhandled merge
1 parent 3347592 commit 09cbcb4

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "medium-style-confirm",
3-
"version": "0.4.4",
3+
"version": "0.4.6",
44
"homepage": "http://bitwiser.i/medium-style-confirm/",
55
"authors": [
66
"Brijesh Bittu <brijeshb42@gmail.com>"

js/msc-script.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@
160160
}
161161
}
162162
};
163-
//window.msc = MscConfirm;
164163
var exportData = {
165164
mscConfirm: function(title, sub, onOk, onCancel) {
166165
buildUI(title, sub, onOk, onCancel, "confirm");
@@ -170,18 +169,13 @@
170169
},
171170
mscAlert: function(title, sub, onOk, onCancel) {
172171
buildUI(title, sub, onOk, onCancel, "alert");
172+
},
173+
mscClose: function() {
174+
var prev = document.getElementsByClassName('msc-confirm');
175+
if(prev.length > 0){
176+
document.body.removeChild(prev[0]);
177+
}
173178
}
174179
};
175-
<<<<<<< HEAD
176180
return exportData;
177181
}));
178-
=======
179-
window.msc = {};
180-
window.msc.close = function() {
181-
var prev = document.getElementsByClassName('msc-confirm');
182-
if(prev.length > 0){
183-
document.body.removeChild(prev[0]);
184-
}
185-
};
186-
})();
187-
>>>>>>> 7bc940df9d620bdf04b3f0130f6bdbaf63bb5a7e

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "medium-style-confirm",
3-
"version": "0.4.4",
3+
"version": "0.4.6",
44
"description": "A medium.com like modal dialog UI library.",
55
"main": "js/msc-script.js",
66
"repository": {

0 commit comments

Comments
 (0)