Opened 10 years ago

Last modified 10 years ago

#14567 closed defect

dojox.mobile.parser handles arrays differently than dojo.parser — at Version 1

Reported by: Javier Pedemonte Owned by: ykami
Priority: high Milestone: 1.8
Component: DojoX Mobile Version: 1.7.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

dojo.parser expects array attributes in the form of "'A','B','C','D','E'", using split() to generate the array.

On the other hand, dojox.mobile.parser expects array attrs in the form of "['A','B','C','D','E']", using fromJson() to generate the array.

This leads to an issue when trying to load a SpinWheel. To see for yourself, edit the test_SpinWheel-custom.html file and replace "dojox.mobile.parser" with "dojo.parser". Load and you'll see that the some of the SpinWheelSlots are rendered incorrectly.

Change History (1)

comment:1 Changed 10 years ago by bill

Description: modified (diff)

Are you talking about the slotClasses and slotProps parameters?

Note: See TracTickets for help on using tickets.