dojo.store.Memory is not a dojo.data implementation

How many times can I shoot myself in the foot?  I was hoping that I could use the dojo.store.Memory object to store data in memory in my application and pass it to a dojox.charting.DataSeries.  That does not work.  You get an error something like, getFeatures is not a function.  And indeed it isn't.  Memory does not have a getFeatures function.  On further review, if you look at the documentation for KeyValueStore, you see that it says it is an implementation of dojox.data.  Seeing that Memory is in the "store" namespace makes you think it is a store, but it is not.

Comments

Popular Posts