Skip to content

Commit aa56ed0

Browse files
committed
Adding fast click
1 parent 3b9fa02 commit aa56ed0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/js/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
var $ = require('jquery');
2+
var attachFastClick = require('fastclick');
23

34
$(document).ready(function(){
45

56
var AppController = require('./AppController.js');
67

78
var app = new AppController();
89

9-
10+
attachFastClick(document.body);
1011
});
1112

1213

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"dependencies": {
77
"backbone": "^1.1.2",
88
"express": "^4.1.0",
9+
"fastclick": "^1.0.3",
910
"jquery": "^2.1.0",
1011
"socket.io": "^0.9.16",
1112
"socket.io-client": "^0.9.16",

0 commit comments

Comments
 (0)