Left: | ||
Right: |
LEFT | RIGHT |
---|---|
(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 Loading... | |
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 }); |
LEFT | RIGHT |