Custom Query (18300 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (40 - 42 of 18300)

Ticket Resolution Summary Owner Reporter
#43 fixed Object declaration doesnt strip spaces in widget assignment alex Fredrik Johansson fredrik.j at bredband.net
Description

Puzzeling subjectline I now..

What I mean is this:

If I declare a variable in my widgetclass like this

dojo.webui.widgets.Somewidget = function(){

this.foo = {bar:0, foo:1};

}

And then assign like this: <div dojoType="Somewidget" foo="bar:1; foo:2;" />

and then run this in Somewidget::fillInTemplate()

dj_debug(this.foo.toSource())

prints: {bar:1,foo:1,foo:2}

If I writes this instead: <div dojoType="Somewidget" foo="bar:1;foo:2;" />

I only have {bar:1,foo:2} in this.foo

I used Firefox 1.0.2 and konqueror 3.4.1, Kubuntu Linux

Hope you understand what I mean

/ Fredrik

#44 fixed Request syntax sugar for pushing an onLoad event listener alex [email protected]
Description

We have these options for adding a load-time event listener:

dojo.event.connect(dojo.hostenv, "loaded", "init");

or

dojo.hostenv.modulesLoadedListeners.push(init);

It would be nice to have something simpler for this particular event (as it tends to be sort of 'up front' in the app):

dojo.addOnLoad(init);

or something like that.

#45 fixed Request dj_debug output the contents of exception objects passed as argument. Alex [email protected]
Description

dj_debug dumps it's arguments as strings.

Would be nice if it output the contents of exception objects, or probably, the contents of any objects passed in.

Note: See TracQuery for help on using queries.