History log of /yui3/src/app/tests/app-base-test.js
Revision Date Author Comments Expand
a1262766ab9d2c64f7c30e87687ef2a458631203 09-Feb-2012 Ryan Grove <ryan@wonko.com>

Update App to support lazy container creation. Also moved CSS class stamping to render-time instead of init time.

da3fe82a6733256f64c8351879bba6730371b972 07-Feb-2012 Ryan Grove <ryan@wonko.com>

Destroying a view no longer destroys that view's container. [Ticket #2531689] Pass {remove: true} to the view's destroy() method to destroy the container as well. This change required a few changes to Y.App to maintain its expected behavior.

3b9ae81d79bb89b03617ad79cbc4753708e4e78c 01-Feb-2012 Eric Ferraiuolo <eferraiuolo@gmail.com>

Y.App now looks up "Deeply.Namespaced.Views". Fixes #2531736. This now works: new Y.App({ views: { foo: {type: 'MyApp.Views.Foo'} } });

ba1a094bc8f55643f23906fb13a0b59a7ca63619 26-Jan-2012 Eric Ferraiuolo <eferraiuolo@gmail.com>

Added more Y.App unit tests to increase coverage to maximum.

65667fe7b208257dd84c91a12cbf3684e627fef7 13-Jan-2012 Eric Ferraiuolo <eferraiuolo@gmail.com>

Updated App's `showView()` test to handle new `options` signature. The options mixed onto the `activeViewChange` event facade are now all added under the `e.options` property.

091fd26b4b1680660e7fc48e1a45f9f52f9c0239 09-Dec-2011 Eric Ferraiuolo <eferraiuolo@gmail.com>

Y.App no longer messes with other's objects when creating its `views`. Extra steps are now taken to merge together default view-related metadata from the `views` object on the prototype with the specified `config.views` object such that the resulting merged set of metadata does not affect anyone's own objects. Unit tests which depended on the old merging behavior have been updated.

23c56a064638d10a6057e991c7dc113cc15c379a 06-Dec-2011 Eric Ferraiuolo <eferraiuolo@gmail.com>

Unit tests for Y.App, tons of 'em! These passed the tests in all the browsers I have, expect Amazon Silk on the Kindle Fire when in Desktop mode; that will be fixed with a UA entry update.