summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-01-14 09:32:45 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-01-14 09:33:21 -0500
commitfd81c33c904ac13e66a1c6f945be05f8b4599b9e (patch)
treec76d14f5500c5104a636deb06196abccc4b478f0 /www
parentc6c9555cfae6012cdc6581e0ac0fd0d1fd140f7b (diff)
downloadhtml5ks-fd81c33c904ac13e66a1c6f945be05f8b4599b9e.tar.xz
html5ks-fd81c33c904ac13e66a1c6f945be05f8b4599b9e.zip
Add fastclick
Diffstat (limited to 'www')
-rw-r--r--www/index.html11
-rw-r--r--www/js/html5ks.js1
l---------www/js/lib/fastclick1
3 files changed, 8 insertions, 5 deletions
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 @@
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<title class="window_name">Katawa Shoujo</title>
<script>
- window.define = function(factory) {
- try{ delete window.define; } catch(e){ window.define = void 0; } // IE
- window.when = factory();
- };
- window.define.amd = {};
+ window.define = function(factory) {
+ try{ delete window.define; } catch(e){ window.define = void 0; } // IE
+ window.when = factory();
+ };
+ window.define.amd = {};
</script>
<link rel="shortcut icon" type="image/png" href="dump/ui/icon.png">
<link rel="apple-touch-icon" href="dump/ui/icon.png">
<link rel="stylesheet" type="text/css" href="css/anim.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<script src="js/lib/when/when.js"></script>
+ <script src="js/lib/fastclick/lib/fastclick.js"></script>
<script src="js/lib/modernizr-build.js"></script>
<script src="js/all.min.js"></script>
</head>
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