Skip to content

Commit

Permalink
Release v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Oct 18, 2014
1 parent f3b55a2 commit 0da1fde
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remodal",
"version": "0.2.0",
"version": "0.2.1",
"homepage": "http://vodkabears.github.io/remodal/",
"authors": [
"Ilya Makarov <[email protected]>"
Expand All @@ -22,4 +22,4 @@
"zepto"
],
"license": "MIT"
}
}
7 changes: 3 additions & 4 deletions dist/jquery.remodal.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/*
* Remodal - v0.2.0
* Remodal - v0.2.1
* Flat, responsive, lightweight, easy customizable modal window plugin with declarative state notation and hash tracking.
* http://vodkabears.github.io/remodal/
*
* Made by Ilya Makarov
* Under MIT License
*/
@import url(http://fonts.googleapis.com/css?family=Exo+2:700,400&subset=latin,cyrillic);

/* ==========================================================================
Remodal necessary styles
Expand Down Expand Up @@ -68,8 +69,6 @@ html.remodal_lock, body.remodal_lock {

/* Default theme font */

@import url(http://fonts.googleapis.com/css?family=Exo+2:700,400&subset=latin,cyrillic);

.remodal, .remodal * {
font-family: 'Exo 2', sans-serif;
}
Expand Down Expand Up @@ -266,4 +265,4 @@ html.lt-ie9 body{
.lt-ie9 .remodal{
width: 500px;
min-height: auto;
}
}
12 changes: 8 additions & 4 deletions dist/jquery.remodal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Remodal - v0.2.0
* Remodal - v0.2.1
* Flat, responsive, lightweight, easy customizable modal window plugin with declarative state notation and hash tracking.
* http://vodkabears.github.io/remodal/
*
Expand All @@ -16,7 +16,9 @@
defaults = {
hashTracking: true,
closeOnConfirm: true,
closeOnCancel: true
closeOnCancel: true,
closeOnEscape: true,
closeOnAnyClick: true
};

/**
Expand Down Expand Up @@ -199,7 +201,7 @@
});

$(document).bind("keyup." + pluginName, function (e) {
if (e.keyCode === 27) {
if (e.keyCode === 27 && self.settings.closeOnEscape) {
self.close();
}
});
Expand All @@ -210,7 +212,9 @@
return;
}

self.close();
if (self.settings.closeOnAnyClick) {
self.close();
}
});
};

Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.remodal.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions remodal.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ui",
"zepto"
],
"version": "0.2.0",
"version": "0.2.1",
"author": {
"name": "Ilya Makarov",
"email": "[email protected]",
Expand All @@ -40,4 +40,4 @@
"dependencies": {
"jquery": ">=1.11.0"
}
}
}

0 comments on commit 0da1fde

Please sign in to comment.