Volt v0.8.10 Release Notes
Release Date: 2014-10-12 // over 9 years ago-
- url.query, url.fragment, url.path all update reactively now.
- MAJOR CHANGE: Previously all tables and fields were created with _'s as their name prefixes. The underscores have been removed from everywhere. The only place you use underscores is when you want to access fields without creating setters and getters. Now when you do:
model._name = 'Something'
, your setting thename
attribute on the model. When you do:model._name
, your fetching thename
attribute. If you insert a hash into a collection, you no longer use underscores:
store._items << {name: 'Item 1'}
Continue using underscores in routes.