Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(235)

Unified Diff: test/test_environment_view.js

Issue 8872044: Fix resize events for charm panel
Patch Set: Fix resize events for charm panel Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/views/stylesheet.less ('k') | test/test_viewport_module.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/test_environment_view.js
=== modified file 'test/test_environment_view.js'
--- test/test_environment_view.js 2013-04-10 21:17:18 +0000
+++ test/test_environment_view.js 2013-04-19 18:28:51 +0000
@@ -128,11 +128,11 @@
view.render();
topo = view.topo;
- topo.once('beforePageSizeRecalculation', function() {
+ Y.once('beforePageSizeRecalculation', function() {
// This event must be fired.
beforeResizeEventFired = true;
});
- topo.once('afterPageSizeRecalculation', function() {
+ Y.once('afterPageSizeRecalculation', function() {
// This event must be fired.
assert.isTrue(beforeResizeEventFired);
done();
« no previous file with comments | « lib/views/stylesheet.less ('k') | test/test_viewport_module.js » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b