Skip to content

Commit

Permalink
update gesture library
Browse files Browse the repository at this point in the history
uses on / off instead of bind
  • Loading branch information
stakach committed Oct 24, 2013
1 parent 51da97f commit f1d1a8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "ngRouteNames",
"version": "1.0.3",
"version": "1.1.0",
"main": "./ngRouteNames.js",
"dependencies": {
"angular": "~1.2.0",
"angular-gesture": "~1.2.0"
"angular-gesture": "~1.3.0"
}
}
2 changes: 1 addition & 1 deletion directive/goto.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
scope.$on('$routeChangeSuccess', updateLink);

// Follow clicks using mobile events where available
$mobile.gestureOn(element, 'tap', attrs).bind('tap', function (event) {
$mobile.gestureOn(element, 'tap', attrs).on('tap', function (event) {
scope.$apply(function () {
$location.path(url[0]).search(url[1]); // Use the previously processed path
});
Expand Down

0 comments on commit f1d1a8f

Please sign in to comment.