Skip to content

Commit

Permalink
Release v0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Feb 19, 2015
1 parent 5bfd0e8 commit 25d556e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 0.6.1
* Fix '#on' event handlers.

### 0.6.0
* Added globals.
* Added the ability to change the namespace for CSS and events.
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remodal",
"version": "0.6.0",
"version": "0.6.1",
"homepage": "http://vodkabears.github.io/remodal/",
"authors": [
"Ilya Makarov <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.remodal.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Remodal - v0.6.0
* Remodal - v0.6.1
* Flat, responsive, lightweight, easy customizable modal window plugin with declarative state notation and hash tracking.
* http://vodkabears.github.io/remodal/
*
Expand Down
10 changes: 5 additions & 5 deletions dist/jquery.remodal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Remodal - v0.6.0
* Remodal - v0.6.1
* Flat, responsive, lightweight, easy customizable modal window plugin with declarative state notation and hash tracking.
* http://vodkabears.github.io/remodal/
*
Expand Down Expand Up @@ -223,14 +223,14 @@
remodal.td = tdBg > remodal.td ? tdBg : remodal.td;

// Add close button event listener
remodal.$wrapper.on("click." + namespace, remodal.$closeButton.selector, function(e) {
remodal.$wrapper.on("click." + namespace, "." + namespace + "-close", function(e) {
e.preventDefault();

remodal.close();
});

// Add cancel button event listener
remodal.$wrapper.on("click." + namespace, remodal.$cancelButton.selector, function(e) {
remodal.$wrapper.on("click." + namespace, "." + namespace + "-cancel", function(e) {
e.preventDefault();

remodal.$modal.trigger("cancel");
Expand All @@ -241,7 +241,7 @@
});

// Add confirm button event listener
remodal.$wrapper.on("click." + namespace, remodal.$confirmButton.selector, function(e) {
remodal.$wrapper.on("click." + namespace, "." + namespace + "-confirm", function(e) {
e.preventDefault();

remodal.$modal.trigger("confirm");
Expand All @@ -252,7 +252,7 @@
});

// Add keyboard event listener
$(document).bind("keyup." + namespace, function(e) {
$(document).on("keyup." + namespace, function(e) {
if (e.keyCode === 27 && remodal.settings.closeOnEscape) {
remodal.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.

2 changes: 1 addition & 1 deletion remodal.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ui",
"zepto"
],
"version": "0.6.0",
"version": "0.6.1",
"author": {
"name": "Ilya Makarov",
"email": "[email protected]",
Expand Down

0 comments on commit 25d556e

Please sign in to comment.