Hi Philipp,
i had the same problem. I think you are setting a non existing property for
some object.
Like:
.set{nonexisting : null};
If you dont use the debug code like in the "hello world" sample, you dont
see any error in source version, but build gets a fatal error.
Maybee its helpfull.
regards Sak
----- Original Message -----
From: "Philipp Gruber" <[email protected]>
To: "qooxdoo Development" <[email protected]>
Sent: Wednesday, February 24, 2010 4:13 PM
Subject: [qooxdoo-devel] [Bug] Error: this[P[O]] is not a function
> Hello everyone,
>
> I just encountered a little bug, that took me 3 days to find :(
>
> Basically, this:
>> doc.add(new qx.ui.basic.Label().set({
>> content: "bla <b>bla</b> bla",
>> rich: true
>> }), {left: 100, top: 50});
> works in source mode, but not in build mode.
>
> In build mode I get
>> Error: this[P[O]] is not a function
> in /build/script/myapplication.js
>
> To fix it, I replaced the above stuff with:
>> doc.add(new qx.ui.basic.Label("bla <b>bla</b> bla").set({rich: true}),
>> {left: 100, top: 50});
>
> Is there any good reason for this?
> At least it would help if the source version (or generate.py build)
> would tell me about it.
>
> regards,
> Philipp Gruber
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel