Skip to content

Commit

Permalink
Merge pull request #38 from jschneier/pan-gesture-horizontal
Browse files Browse the repository at this point in the history
Closes #32 - Pan gestures is only horizontal
  • Loading branch information
runspired committed Feb 1, 2016
2 parents 4a60bf9 + c239f48 commit eba8bae
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"predef": [
"document",
"window",
"-Promise"
"-Promise",
"Hammer"
],
"browser": true,
"boss": true,
Expand Down
1 change: 0 additions & 1 deletion addon/mixins/recognizers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global Hammer */
import Ember from 'ember';

const {
Expand Down
2 changes: 1 addition & 1 deletion addon/recognizers/pan.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
include: [],
exclude: [],
options: {},
options: { direction: Hammer.DIRECTION_HORIZONTAL },
recognizer: 'pan'
};
2 changes: 0 additions & 2 deletions addon/recognizers/vertical-pan.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* global Hammer */

export default {
include: [],
exclude: [],
Expand Down
1 change: 0 additions & 1 deletion addon/recognizers/vertical-swipe.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*global Hammer*/
export default {
include: [],
exclude: [],
Expand Down
1 change: 0 additions & 1 deletion addon/services/-gestures.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global Hammer */
import Ember from 'ember';
import camelize from 'ember-allpurpose/string/dasherized-to-camel';
import capitalize from 'ember-allpurpose/string/capitalize-word';
Expand Down

0 comments on commit eba8bae

Please sign in to comment.