Merge from Appchan X: src/General/Main.coffee
This commit is contained in:
parent
7c32cb37c9
commit
1a3b3012db
@ -3,8 +3,8 @@ Main =
|
||||
if location.hostname is 'www.google.com'
|
||||
return $.ready -> Captcha.noscript.initFrame()
|
||||
|
||||
g.threads = new SimpleDict
|
||||
g.posts = new SimpleDict
|
||||
g.threads = new SimpleDict()
|
||||
g.posts = new SimpleDict()
|
||||
|
||||
pathname = location.pathname.split '/'
|
||||
g.BOARD = new Board pathname[1]
|
||||
@ -90,6 +90,7 @@ Main =
|
||||
error: err
|
||||
# finally
|
||||
# c.timeEnd "#{name} initialization"
|
||||
|
||||
# c.timeEnd 'All initializations'
|
||||
|
||||
$.ready Main.initReady
|
||||
@ -163,7 +164,7 @@ Main =
|
||||
Settings.open()
|
||||
$.set 'previousversion', g.VERSION
|
||||
|
||||
return unless Conf['Show Support Message']
|
||||
if Conf['Show Support Message']
|
||||
<% if (type === 'userscript') { %>
|
||||
GMver = GM_info.version.split '.'
|
||||
for v, i in "<%= meta.min.greasemonkey %>".split '.'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user