#15309 closed defect (fixed)
Stateful doesn't handle hash to set()
Reported by: | bill | Owned by: | Ed Chatelain |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | DojoX MVC | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
dojo/Stateful can handle a hash to set():
myStatefulWidget.set({x: 1, y: 2})
Since dojox/mvc/Stateful extends dojo/Stateful, dojox/mvc/Stateful::set() should also be able to handle a hash. However, apparently it doesn't. I looked at the code and see no provisions for hash handling.
Attachments (1)
Change History (4)
comment:1 Changed 9 years ago by
Priority: | undecided → high |
---|---|
Status: | new → assigned |
Changed 9 years ago by
Attachment: | mvc-15309-Stateful.patch added |
---|
Patch to remove dojox/mvc/Stateful.js and update code and tests to use dojo/Stateful.
comment:3 Changed 9 years ago by
Milestone: | tbd → 1.8 |
---|
Note: See
TracTickets for help on using
tickets.
dojox/mvc/Stateful was extending dojo/Stateful in order to support predefined getters and setters, since dojo/Stateful was updated to support getters andsetters, we can remove dojox/mvc/Stateful, and update our code to use what is now in dojo/Stateful.