-
Notifications
You must be signed in to change notification settings - Fork 1
change log
robrobbins edited this page Apr 11, 2014
·
13 revisions
##v0.9.2
- ext namespace renamed to extensions
- All View Class Objects (and their subclasses) can accept a reference to an already instantiated Model class as the
data
arg now. This is in addition to the previously existing ability to take a passed in hash of values and convert those to a unique model instance for that class object being instantiated. - Navigator class now included with sudo-x build
- Persistable extension now included in the sudo-x build
##v0.9.3
- Dataview renamed to DataView
- bugfixes for send
##v0.9.4
-
addFilter
method added to Change delegate -
Change delegate
filter
method addsname
property to the data object passed to targets -
removeChildren
added to Container. Convenience method to remove all children of a container.
##v0.9.5
- Spaces (2) replace tabs as I am tired of check-ins with mixed tabs/spaces
-
build/debug/sudo-x.js
dropped asbuild/debug/sudo.js
becomes the primary 'built' file with all currently supported modules. Asudo-basic.html
'config' is now available as a basic build and as an example of an alternate build configuration -
addedAsDelegate
added to Base class. Any Class Object adding another abject as a delegate will now call this method if it exists on the delegate after adding it. - Spec suite uses Zepto, not jQuery
##v0.9.6
- ViewController Class dropped from the default sudo.js (/build/debug/sudo.js) build. The module still resides in extras/viewController.
- Bindable Class dropped from the default sudo.js build. The module still resides in extras/extensions/bindable.js
- Build Tool updated to read the version from the <title> tag of the config.html file used to build it.
- Updates for the persistable extension:
- global attribute set to false on AJAX requests (see zepto.js global AJAX property)
- default JSON data type enforced on both request and response during AJAX operations
- DataView drops its
build()
step. There is adataview_b.js
file available for those who want it.
##v0.9.7
-
init()
method dropped. -
modelChangeBlacklist
always present in DataView Class (formerly only ifrenderOnModelChange
=== true). -
serverDataBlacklist
implemented by the persistable extension to allow view-centric data to be removed prior to data being sent to the server in asave
type operation. -
autoRender
removed from DataView Class. Replaced with 2 new options:-
renderOnAddedToParent
: If truthy render will be called in theaddedToParent
method -
renderOnModelChange
: If truthy render not called until model is changed (via a (un)set(s))
-
-
NOTE
renderOnAddedToParent
andrenderOnModelChange
are not exclusive, any combination of the two is allowed
##v0.9.8
- Cash.js added to the lib as the default DOM library for the master branch
- Static.js added to the lib directory to be used as a dependency for native branch
- View class no longer sets
this.$
andthis.$el
as cash does not return new instances.this.qs
andthis.qsa
are instead the favored way to search (scoped tothis.el
).
##v0.9.9
- View class (and DataView subclass) will not create a Model with the passed in data argument if passed one. The View will simply set the hash as
this.data
. View classes no longer accept a model instance as the data argument as well. - sudo.premier, View.becomePremier and View.resignPremier all removed.
- DataView removed from default build
- data Delegate removed from default build
- Minor refactoring all around to reduce footprint.
- Default template delimiters changed to
[% %]
-
removeFromParent
changed toremovedFromParent
to be consistent withaddedToParent