@@ -25,7 +25,7 @@ describe('$route', function() {
2525
2626 module ( function ( $routeProvider ) {
2727 $routeProvider . when ( '/Book/:book/Chapter/:chapter' ,
28- { controller : noop , templateUrl : 'Chapter.html' } ) ;
28+ { controller : angular . noop , templateUrl : 'Chapter.html' } ) ;
2929 $routeProvider . when ( '/Blank' , { } ) ;
3030 } ) ;
3131 inject ( function ( $route , $location , $rootScope ) {
@@ -69,9 +69,9 @@ describe('$route', function() {
6969
7070 module ( function ( $routeProvider ) {
7171 $routeProvider . when ( '/Book1/:book/Chapter/:chapter/:highlight*/edit' ,
72- { controller : noop , templateUrl : 'Chapter.html' } ) ;
72+ { controller : angular . noop , templateUrl : 'Chapter.html' } ) ;
7373 $routeProvider . when ( '/Book2/:book/:highlight*/Chapter/:chapter' ,
74- { controller : noop , templateUrl : 'Chapter.html' } ) ;
74+ { controller : angular . noop , templateUrl : 'Chapter.html' } ) ;
7575 $routeProvider . when ( '/Blank' , { } ) ;
7676 } ) ;
7777 inject ( function ( $route , $location , $rootScope ) {
@@ -128,9 +128,9 @@ describe('$route', function() {
128128
129129 module ( function ( $routeProvider ) {
130130 $routeProvider . when ( '/Book1/:book/Chapter/:chapter/:highlight*/edit' ,
131- { controller : noop , templateUrl : 'Chapter.html' , caseInsensitiveMatch : true } ) ;
131+ { controller : angular . noop , templateUrl : 'Chapter.html' , caseInsensitiveMatch : true } ) ;
132132 $routeProvider . when ( '/Book2/:book/:highlight*/Chapter/:chapter' ,
133- { controller : noop , templateUrl : 'Chapter.html' } ) ;
133+ { controller : angular . noop , templateUrl : 'Chapter.html' } ) ;
134134 $routeProvider . when ( '/Blank' , { } ) ;
135135 } ) ;
136136 inject ( function ( $route , $location , $rootScope ) {
@@ -618,8 +618,8 @@ describe('$route', function() {
618618
619619 inject ( function ( $route , $httpBackend , $location , $rootScope , $routeParams ) {
620620 var log = '' ;
621- $rootScope . $on ( '$routeChangeStart' , function ( e , next ) { log += '$before' + toJson ( $routeParams ) + ';' } ) ;
622- $rootScope . $on ( '$routeChangeSuccess' , function ( e , next ) { log += '$after' + toJson ( $routeParams ) + ';' } ) ;
621+ $rootScope . $on ( '$routeChangeStart' , function ( e , next ) { log += '$before' + angular . toJson ( $routeParams ) + ';' } ) ;
622+ $rootScope . $on ( '$routeChangeSuccess' , function ( e , next ) { log += '$after' + angular . toJson ( $routeParams ) + ';' } ) ;
623623
624624 $httpBackend . whenGET ( 'r1.html' ) . respond ( 'R1' ) ;
625625 $httpBackend . whenGET ( 'r2.html' ) . respond ( 'R2' ) ;
@@ -876,7 +876,7 @@ describe('$route', function() {
876876 var reloaded = jasmine . createSpy ( 'route reload' ) ;
877877
878878 module ( function ( $routeProvider ) {
879- $routeProvider . when ( '/foo' , { controller : noop } ) ;
879+ $routeProvider . when ( '/foo' , { controller : angular . noop } ) ;
880880 } ) ;
881881
882882 inject ( function ( $route , $location , $rootScope , $routeParams ) {
@@ -901,7 +901,7 @@ describe('$route', function() {
901901 routeUpdate = jasmine . createSpy ( 'route update' ) ;
902902
903903 module ( function ( $routeProvider ) {
904- $routeProvider . when ( '/foo' , { controller : noop , reloadOnSearch : false } ) ;
904+ $routeProvider . when ( '/foo' , { controller : angular . noop , reloadOnSearch : false } ) ;
905905 } ) ;
906906
907907 inject ( function ( $route , $location , $rootScope ) {
@@ -931,7 +931,7 @@ describe('$route', function() {
931931 var routeChange = jasmine . createSpy ( 'route change' ) ;
932932
933933 module ( function ( $routeProvider ) {
934- $routeProvider . when ( '/foo/:fooId' , { controller : noop , reloadOnSearch : false } ) ;
934+ $routeProvider . when ( '/foo/:fooId' , { controller : angular . noop , reloadOnSearch : false } ) ;
935935 } ) ;
936936
937937 inject ( function ( $route , $location , $rootScope ) {
@@ -963,8 +963,8 @@ describe('$route', function() {
963963 var routeParamsWatcher = jasmine . createSpy ( 'routeParamsWatcher' ) ;
964964
965965 module ( function ( $routeProvider ) {
966- $routeProvider . when ( '/foo' , { controller : noop } ) ;
967- $routeProvider . when ( '/bar/:barId' , { controller : noop , reloadOnSearch : false } ) ;
966+ $routeProvider . when ( '/foo' , { controller : angular . noop } ) ;
967+ $routeProvider . when ( '/bar/:barId' , { controller : angular . noop , reloadOnSearch : false } ) ;
968968 } ) ;
969969
970970 inject ( function ( $route , $location , $rootScope , $routeParams ) {
0 commit comments