voltrb / todos3

Sample todos+blog app
13 stars 7 forks source link

Nested Hashes do not persist #3

Closed johnwahba closed 10 years ago

johnwahba commented 10 years ago

If you are in volt console and you execute the following code from the docs:

    store._states << {name: 'Montana'}
    montana = store._states[0]
    montana._cities << {name: 'Bozeman'}
    montana._cities << {name: 'Helena'}
    store._states << {name: 'Idaho'}
    idaho = store._states[1]
    idaho._cities << {name: 'Boise'}
    idaho._cities << {name: 'Twin Falls'}
    store._states

_cities does not persist

ryanstout commented 10 years ago

This should be fixed and things are updated to the newest version.