Skip to content

Commit

Permalink
pass the right arguments on callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
djeremh committed Oct 6, 2015
1 parent b7f36fe commit e9c3695
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-hotkeys",
"version": "1.5.0",
"version": "1.5.1",
"main": [
"build/hotkeys.min.js",
"build/hotkeys.min.css"
Expand Down
2 changes: 1 addition & 1 deletion build/hotkeys.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* angular-hotkeys v1.4.5
* angular-hotkeys v1.5.1
* https://chieffancypants.github.io/angular-hotkeys
* Copyright (c) 2015 Wes Cruver
* License: MIT
Expand Down
4 changes: 2 additions & 2 deletions build/hotkeys.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* angular-hotkeys v1.4.5
* angular-hotkeys v1.5.1
* https://chieffancypants.github.io/angular-hotkeys
* Copyright (c) 2015 Wes Cruver
* License: MIT
Expand Down Expand Up @@ -403,7 +403,7 @@
}

if (shouldExecute) {
wrapApply(_callback.bind(this, arguments))();
wrapApply(_callback).apply(this, arguments);
}
};
// if this is an array, it means we provided a route object
Expand Down
4 changes: 2 additions & 2 deletions build/hotkeys.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-hotkeys",
"author": "Wes Cruver",
"version": "1.5.0",
"version": "1.5.1",
"license": "MIT",
"description": "Automatic keyboard shortcuts for your Angular Apps",
"homepage": "https://chieffancypants.github.io/angular-hotkeys",
Expand Down
2 changes: 1 addition & 1 deletion src/hotkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
}

if (shouldExecute) {
wrapApply(_callback.bind(this, arguments))();
wrapApply(_callback).apply(this, arguments);
}
};
// if this is an array, it means we provided a route object
Expand Down

0 comments on commit e9c3695

Please sign in to comment.