diff options
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | fastclick | 0 | ||||
-rw-r--r-- | www/index.html | 11 | ||||
-rw-r--r-- | www/js/html5ks.js | 1 | ||||
l--------- | www/js/lib/fastclick | 1 |
5 files changed, 11 insertions, 5 deletions
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 +Subproject 57d35f73ca54e31ee37161e32f6ac11786f520d 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 |