On 5 Jun 2010, at 21:23, Petr Kobalíček wrote:
> The order of methods isn't important. Javascript object is something
> like hash table with access O(1).
I see. Though that slightly difference performance keep puzzling me.
> And about second question ;) It's purely your choice. I'm using
> qxloa
Hi Bee,
The order of methods isn't important. Javascript object is something
like hash table with access O(1).
And about second question ;) It's purely your choice. I'm using
qxloader to load everything, but if you need some library to be
included before qooxdoo or before qxloader is invoked then
On 5 Jun 2010, at 18:06, Petr Kobalíček wrote:
> qxscripts = [
> qxsettings["qx.path"] + "/script/qx-" + qxsettings["qx.mode"] + ".js"
> ];
Another question (again)... :D
If I want to include another (non-qooxdoo) js script file, say codepress or
highcharts, where should I put them? Within qxsc
On 5 Jun 2010, at 18:06, Petr Kobalíček wrote:
> qxscripts = [
> qxsettings["qx.path"] + "/script/qx-" + qxsettings["qx.mode"] + ".js"
> ];
>
> qxloader.run({
> scripts: qxscripts,
>
> finish: function() {
>// your code here...
> }
> });
That's neater. Thanks! :)
Another question... I h
Hi Bee,
I have another improvement, it's some time I wrote qxloader so I
forgot for correct syntax, you can rearrange your code to:
qxscripts = [
qxsettings["qx.path"] + "/script/qx-" + qxsettings["qx.mode"] + ".js"
];
qxloader.run({
scripts: qxscripts,
finish: function() {
// your cod
On 4 Jun 2010, at 14:26, Bee Jay wrote:
> (function() {
> appMain = function() {
> qx.Class.define("custom.Application",
> {
> // <-- my custom code goes here --->
> });
> };
> // here is the qxloader script
> qxloader.run({scripts: qxscripts});
> qxloader.finish
On 3 Jun 2010, at 21:35, Petr Kobalíček wrote:
> thanks for using QxBuild.
You're welcome. It's very helpfull for one who don't want to bother with the
build tool, you know. ;)
> I think that it's possible to do what you need. First it's needed to
> fix the syntax error :
> qxscripts = [
> qxse
Hi Bee,
thanks for using QxBuild.
I think that it's possible to do what you need. First it's needed to
fix the syntax error :
qxscripts = [
qxsettings["qx.path"] + "/script/qx-" + qxsettings["qx.mode"] + ".js"
];
then you have to attach an 'finish' event listener to the qxloader:
qxloader.fin
Hi all,
I'm about to write a dynamic qooxdoo JS code generator framework. Since qooxdoo
need to compile the source, I use qxbuild then. But, qxbuild also need to read
an external JS file (custom.js). What I need is to be able to generate JS code
on the fly directly injected into the HTML file,