Skip to content

Commit cc7c0e4

Browse files
committed
added fastclick
1 parent f49df88 commit cc7c0e4

7 files changed

Lines changed: 865 additions & 17 deletions

File tree

‎cache.manifest‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Build: 20160119060323
2+
# Build: 20160119061746
33

44
CACHE:
55
resources/fonts/Dressedless_Three.svg
@@ -15,7 +15,7 @@ resources/images/paypal.png
1515
resources/images/twohardtings.jpg
1616
resources/images/wechatpay.jpg
1717
resources/images/zhifubao.png
18-
src/lib/libs.543e0ad0.js
18+
src/lib/libs.f851782e.js
1919

2020
NETWORK:
2121
*

‎gulpfile.js‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@ gulp.task('clean:dist', function (cb) {
4040

4141
gulp.task('dist:js', function (cb) {
4242
var dir = './static/app/src/lib/';
43-
gulp.src([dir+'jquery.min.js',dir+'tether.min.js',dir+'bootstrap.min.js',dir+'prettify.js',dir+'ZeroClipboard.min.js',dir+'lovefield.min.js'])
43+
gulp.src([dir+'jquery.min.js',
44+
dir+'tether.min.js',
45+
dir+'bootstrap.min.js',
46+
dir+'prettify.js',
47+
dir+'ZeroClipboard.min.js',
48+
dir+'lovefield.min.js',
49+
dir+'fastclick.js'])
4450
.pipe($.cached('build-cache', {
4551
optimizeMemory: true
4652
}))

‎index.html‎

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎static/app/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@@include("resources/css/style.css")
1919
</style>
2020
</head>
21-
<body>
21+
<body ontuchstart="">
2222
<section class="container main">
2323
<header class="main-title">
2424
<header><h1><a href="./"><span>C</span><span>O</span><span>D</span><span>E</span><span>L</span><span>F</span></a></h1></header>

‎static/app/src/App.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,7 @@ $(function () {
909909
if (os.ios || os.android) {
910910
els.isMobile = true;
911911
els.body.addClass('mobile');
912+
FastClick.attach(document.body);
912913
}
913914
bindEvent();
914915
renderTitle();

0 commit comments

Comments
 (0)