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 = { Style = {
init: function() { init: function() {
this.setup();
$.asap((function() { $.asap((function() {
return d.body; return d.body;
}), this.asapInit); }), this.asapInit);
$.ready(this.readyInit); return $.ready(this.readyInit);
return this.setup();
}, },
asapInit: function() { asapInit: function() {
MascotTools.init(); MascotTools.init();

View File

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

Binary file not shown.

View File

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

View File

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