Skip to content

Commit 1ecb993

Browse files
author
unbug
committed
fixed some issue
1 parent 1aa4dee commit 1ecb993

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎cache.manifest‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Build: 20160312114911
2+
# Build: 20160312115115
33

44
CACHE:
55
resources/fonts/Dressedless_Three.svg

‎index.html‎

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

‎static/app/src/AppBundle.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
donate: $('.donate'),
9595
donateTitle: $('.donate .title'),
9696

97-
isDebug: /github\.io/g.test(location.href) || Util.localParam()['search']['debug']==1,
97+
isGithub: /github\.io/g.test(location.href) || Util.localParam()['search']['debug']==1,
9898
lastVal: ''
9999
};
100100

@@ -282,7 +282,7 @@
282282
renderSearchBtn('Search');
283283
}
284284

285-
els.isDebug && Model.DDMS.postKeyWords(els.lastInputVal);
285+
els.isGithub && Model.DDMS.postKeyWords(els.lastInputVal);
286286
renderAnalytics('q=' + els.lastInputVal);
287287
}
288288

@@ -541,7 +541,7 @@
541541
}
542542

543543
function renderAnalytics(param) {
544-
els.isDebug && setTimeout(function () {
544+
els.isGithub && setTimeout(function () {
545545
Util.Navigator.getFrame(null).setAttribute('src', 'http://www.mihtool.com/analytics.html?codelf' + (param ? ('&' + param) : ''));
546546
}, param ? 500 : 3000);
547547
}

‎static/app/src/view/View.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var els = {
3838
donate: $('.donate'),
3939
donateTitle: $('.donate .title'),
4040

41-
isDebug: /github\.io/g.test(location.href) || Util.localParam()['search']['debug']==1,
41+
isGithub: /github\.io/g.test(location.href) || Util.localParam()['search']['debug']==1,
4242
lastVal: ''
4343
};
4444

@@ -226,7 +226,7 @@ function doSearch() {
226226
renderSearchBtn('Search');
227227
}
228228

229-
els.isDebug && Model.DDMS.postKeyWords(els.lastInputVal);
229+
els.isGithub && Model.DDMS.postKeyWords(els.lastInputVal);
230230
renderAnalytics('q=' + els.lastInputVal);
231231
}
232232

@@ -485,7 +485,7 @@ function renderDonate(isZh) {
485485
}
486486

487487
function renderAnalytics(param) {
488-
els.isDebug && setTimeout(function () {
488+
els.isGithub && setTimeout(function () {
489489
Util.Navigator.getFrame(null).setAttribute('src', 'http://www.mihtool.com/analytics.html?codelf' + (param ? ('&' + param) : ''));
490490
}, param ? 500 : 3000);
491491
}

0 commit comments

Comments
 (0)