-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
When you use run() on a result that contains core.qb, it will break DOM events when they happen later. More specifically, after calling:
var parser = new quby.main.Parser();
parser.parse(this.core, true);
parser.finish(function(result) {
result.run();
}
... the following code will fail to work:
var button = document.getElementById('button');
submit.onclick = function() { console.log("this does not happen"); }
However, the event IS triggered in the DOM, it just never reaches the button.
Removing the following lines from core.qb resolves the issue:
def toString()
return this
end
def toString()
return #<# this._fun_tostring_0() #>#
end
Metadata
Metadata
Assignees
Labels
No labels