Summary: | javascript function closures simply do not work. | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | bug-kde-org |
Component: | kjs | Assignee: | Konqueror Developers <konq-bugs> |
Status: | CLOSED FIXED | ||
Severity: | grave | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
bug-kde-org
2001-02-09 16:20:04 UTC
> Package: kjs > Version: 2.1 Beta 2 > Severity: grave > Installed from: Source > > The idiom that's failing is this: > > function F () { > this.blah = function () { return 0; }; > } > > var fff = new F(); Fixed now (probably already in KDE 2.1). > For an example see > > http://tribble.ilrt.bris.ac.uk/~cmjg/test/functional Works. > (you'll need to examine the source). Other examples (more extensive) at > > http://tribble.ilrt.bris.ac.uk/~cmjg/logic/prolog-latest An error message somewhere but I'm sorry to say that I don't feel like debugging that complex piece of code. If you can extract the guilty part feel free to file another report. Thanks Harri. |