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

Delta Between Two Patch Sets: test/test_sub_app.js

Issue 7384059: Created Y.SubApp class by extending Y.App
Left Patch Set: Created Y.SubApp class by extending Y.App Created 12 years, 2 months ago
Right Patch Set: Created Y.SubApp class by extending Y.App Created 12 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « test/index.html ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 'use strict'; 1 'use strict';
2 2
3 describe('Sub Applications', function() { 3 describe('Sub Applications', function() {
4 var Y, juju, subapp; 4 var Y, juju, subapp;
5 5
6 before(function(done) { 6 before(function(done) {
7 Y = YUI(GlobalConfig).use(['juju-routing', 7 Y = YUI(GlobalConfig).use(['juju-routing',
8 'juju-gui'], 8 'juju-gui'],
9 function(Y) { 9 function(Y) {
10 juju = Y.namespace('juju'); 10 juju = Y.namespace('juju');
(...skipping 23 matching lines...) Expand all
34 subapp.navigate(path, {}); 34 subapp.navigate(path, {});
35 }); 35 });
36 36
37 it('should return routes with a namespace', function() { 37 it('should return routes with a namespace', function() {
38 var subAppRoutes = subapp.getSubAppRoutes(); 38 var subAppRoutes = subapp.getSubAppRoutes();
39 39
40 assert(Y.Array.some(subAppRoutes, function(route) { 40 assert(Y.Array.some(subAppRoutes, function(route) {
41 if (route.namespace === undefined) { 41 if (route.namespace === undefined) {
42 return true; 42 return true;
43 } 43 }
44 }) === false); 44 }) === false);
gary.poster 2013/02/26 22:35:45 You threw me for a loop there! But I caught up at
jeff.pihach 2013/02/27 05:54:01 Sorry about that :-)
45 45
46 }); 46 });
47 47
48 }); 48 });
LEFTRIGHT

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