Skip to content

Commit

Permalink
fixed unhandled merge
Browse files Browse the repository at this point in the history
  • Loading branch information
brijeshb42 committed May 19, 2016
1 parent 3347592 commit 09cbcb4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medium-style-confirm",
"version": "0.4.4",
"version": "0.4.6",
"homepage": "http://bitwiser.i/medium-style-confirm/",
"authors": [
"Brijesh Bittu <[email protected]>"
Expand Down
18 changes: 6 additions & 12 deletions js/msc-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@
}
}
};
//window.msc = MscConfirm;
var exportData = {
mscConfirm: function(title, sub, onOk, onCancel) {
buildUI(title, sub, onOk, onCancel, "confirm");
Expand All @@ -170,18 +169,13 @@
},
mscAlert: 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]);
}
}
};
<<<<<<< HEAD
return exportData;
}));
=======
window.msc = {};
window.msc.close = function() {
var prev = document.getElementsByClassName('msc-confirm');
if(prev.length > 0){
document.body.removeChild(prev[0]);
}
};
})();
>>>>>>> 7bc940df9d620bdf04b3f0130f6bdbaf63bb5a7e
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medium-style-confirm",
"version": "0.4.4",
"version": "0.4.6",
"description": "A medium.com like modal dialog UI library.",
"main": "js/msc-script.js",
"repository": {
Expand Down

0 comments on commit 09cbcb4

Please sign in to comment.