Prevent race conditions in Chrome.

This commit is contained in:
Zixaphir 2013-05-08 02:56:50 -07:00
parent c3371c4bf7
commit ce5fe31c1e
5 changed files with 7 additions and 7 deletions

View File

@ -10912,11 +10912,11 @@
Style = {
init: function() {
this.setup();
$.asap((function() {
return d.body;
}), this.asapInit);
$.ready(this.readyInit);
return this.setup();
return $.ready(this.readyInit);
},
asapInit: function() {
MascotTools.init();

View File

@ -10933,11 +10933,11 @@
Style = {
init: function() {
this.setup();
$.asap((function() {
return d.body;
}), this.asapInit);
$.ready(this.readyInit);
return this.setup();
return $.ready(this.readyInit);
},
asapInit: function() {
MascotTools.init();

Binary file not shown.

View File

@ -10916,11 +10916,11 @@
Style = {
init: function() {
this.setup();
$.asap((function() {
return d.body;
}), this.asapInit);
$.ready(this.readyInit);
return this.setup();
return $.ready(this.readyInit);
},
asapInit: function() {
MascotTools.init();

View File

@ -1,8 +1,8 @@
Style =
init: ->
@setup()
$.asap (-> d.body), @asapInit
$.ready @readyInit
@setup()
asapInit: ->
MascotTools.init()