fixing bug with not deeply triggering the afterAttach event
This commit is contained in:
parent
26cd925d37
commit
bd4b7e5e9b
|
@ -16,7 +16,7 @@
|
|||
StandardOutputPort.prototype = baselib.heir(OutputPort.prototype);
|
||||
StandardOutputPort.prototype.writeDomNode = function(MACHINE, domNode) {
|
||||
MACHINE.params['currentDisplayer'](MACHINE, domNode);
|
||||
jQuery(domNode).trigger({type : 'afterAttach'});
|
||||
jQuery('*', domNode).trigger({type : 'afterAttach'});
|
||||
};
|
||||
|
||||
var StandardErrorPort = function() {
|
||||
|
@ -25,7 +25,7 @@
|
|||
StandardErrorPort.prototype = baselib.heir(OutputPort.prototype);
|
||||
StandardErrorPort.prototype.writeDomNode = function(MACHINE, domNode) {
|
||||
MACHINE.params['currentErrorDisplayer'](MACHINE, domNode);
|
||||
jQuery(domNode).trigger({type : 'afterAttach'});
|
||||
jQuery('*', domNode).trigger({type : 'afterAttach'});
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -27,8 +27,9 @@ var bigBang = function(MACHINE, initW, handlers) {
|
|||
|
||||
var oldArgcount = MACHINE.argcount;
|
||||
|
||||
var toplevelNode = $('<span/>').get(0);
|
||||
MACHINE.params.currentOutputPort.writeDomNode(MACHINE, toplevelNode);
|
||||
var outerToplevelNode = $('<span/>').get(0);
|
||||
MACHINE.params.currentOutputPort.writeDomNode(MACHINE, outerToplevelNode);
|
||||
var toplevelNode = $('<span/>').appendTo(outerToplevelNode).get(0);
|
||||
|
||||
var configs = [];
|
||||
var isOutputConfigSeen = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user