From fd81c33c904ac13e66a1c6f945be05f8b4599b9e Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Tue, 14 Jan 2014 09:32:45 -0500 Subject: Add fastclick --- .gitmodules | 3 +++ fastclick | 1 + www/index.html | 11 ++++++----- www/js/html5ks.js | 1 + www/js/lib/fastclick | 1 + 5 files changed, 12 insertions(+), 5 deletions(-) create mode 160000 fastclick create mode 120000 www/js/lib/fastclick diff --git a/.gitmodules b/.gitmodules index 697d19b..2cc00d1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "when"] path = when url = https://github.com/cujojs/when +[submodule "fastclick"] + path = fastclick + url = https://github.com/ftlabs/fastclick.git diff --git a/fastclick b/fastclick new file mode 160000 index 0000000..57d35f7 --- /dev/null +++ b/fastclick @@ -0,0 +1 @@ +Subproject commit 57d35f73ca54e31ee37161e32f6ac11786f520d2 diff --git a/www/index.html b/www/index.html index dafc342..509f6b5 100644 --- a/www/index.html +++ b/www/index.html @@ -6,17 +6,18 @@ Katawa Shoujo + diff --git a/www/js/html5ks.js b/www/js/html5ks.js index 25b7c23..8c2c679 100644 --- a/www/js/html5ks.js +++ b/www/js/html5ks.js @@ -161,6 +161,7 @@ window.html5ks = { } }, onload: function () { + FastClick.attach(document.body); this.initElements(); this.scale(); this.initEvents(); diff --git a/www/js/lib/fastclick b/www/js/lib/fastclick new file mode 120000 index 0000000..3b8df4c --- /dev/null +++ b/www/js/lib/fastclick @@ -0,0 +1 @@ +../../../fastclick \ No newline at end of file -- cgit v1.2.3-70-g09d2