Werner,
could you re-post this in its own thread?! It's worth it, and this makes
it easier to keep topics on focus.
Thanks,
T.
On 04/14/2010 05:45 PM, Werner Thie wrote:
> Hi
>
> on an other note - I spent the last two days with a nasty problem
> occurring with WebKit. If using JS in a multifile situation you can
> easily observe that WebKit (Safari, Chrome) does NOT in order loading of
> given JS files, meaning you end up in a situation where JS code might
> sometimes run and sometimes fail dependent on server/local situations. I
> don't know where the WebKit guys got this crazy idea that evaluating JS
> source out of order might speed up things, but they clearly did it that
> way which is in my opinion violating the specs.
>
> Werner
>
> On 14.04.2010 17:28, thron7 wrote:
>>>> #require(namespace.class)
>>> I have tried #require(mylib.Contribution) in both the application's
>>> class as well as the contribution's class without any luck.
>>>
>>> I then modified my config.json like this:
>>> "jobs" :
>>> {
>>> "source" :
>>> {
>>> "require" :
>>> {
>>> "myapp.Application" : [ "mylib.Contribution" ]
>>> }
>>> }
>>> }
>>
>> I suggest to take one step at a time :). So try to get this dynamical
>> thing running within a single application, and without adding additional
>> libraries.
>>
>> Secondly, both methods, using #require or the "require" config key, are
>> equivalent. #use, suggested elsewhere, does about the same, but does not
>> influence the load order. For your purpose, all three should work.
>>
>> Thirdly, it should work in both source and build versions, so you can
>> choose which version you want to look at; 'source' might actually be
>> better for other reasons.
>>
>> Fourthly, you can check the availability of a class by either adding
>> '-v' to the generate.py invocation and check that the desired class is
>> in the (long) list of included classes printed to the console. Or, in
>> the browser open a console, like Firebug, and enter the class name,
>> which should return something sensible (like an object ref).
>>
>> If you still fail, then yes, send in the config.json of your app.
>>
>> T.
>>
>>
>> ------------------------------------------------------------------------------
>>
>> 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
------------------------------------------------------------------------------
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