@@ -35,6 +35,12 @@ angularObjectList.forEach(function(object) {
35
35
} , {
36
36
code : 'angular.module("myModule").' + object + '(["$log", function($l) {}]);' ,
37
37
options : [ 'array' , { matchNames : false } ]
38
+ } , {
39
+ code : 'angular.module("myModule").' + object + '(["$log", function($log) {}]);' ,
40
+ options : [ 'array' , { matchNames : true , stripUnderscores : false } ]
41
+ } , {
42
+ code : 'angular.module("myModule").' + object + '(["$log", function(_$log_) {}]);' ,
43
+ options : [ 'array' , { matchNames : true , stripUnderscores : true } ]
38
44
} , {
39
45
code : 'angular.module("myModule").' + object + '(myFunction);function MyFunction() {}' ,
40
46
options : [ 'function' ]
@@ -50,6 +56,9 @@ angularObjectList.forEach(function(object) {
50
56
} , {
51
57
code : 'angular.module("myModule").' + object + '(myFunction);myFunction["$inject"]=["slMathPi"];function myFunction(pi) {}' ,
52
58
options : [ '$inject' , { matchNames : false } ]
59
+ } , {
60
+ code : 'angular.module("myModule").' + object + '(myFunction);myFunction["$inject"]=["slMathPi"];function myFunction(_slMathPi_) {}' ,
61
+ options : [ '$inject' , { matchNames : true , stripUnderscores : true } ]
53
62
} , {
54
63
code : 'myFunction.$inject=[];function myFunction() {} angular.module("myModule").' + object + '(myFunction);' ,
55
64
options : [ '$inject' ]
@@ -109,6 +118,10 @@ angularObjectList.forEach(function(object) {
109
118
code : 'angular.module("myModule").' + object + '(["$urlRouteProvider", "$timeout", function($timeout, $urlRouteProvider){}])' ,
110
119
options : [ 'array' ] ,
111
120
errors : [ { message : 'You have an error in your DI configuration. Each items of the array should match exactly one function parameter' } ]
121
+ } , {
122
+ code : 'angular.module("myModule").' + object + '(["$log", function(_$log_) {}]);' ,
123
+ options : [ 'array' , { matchNames : true , stripUnderscores : false } ] ,
124
+ errors : [ { message : 'You have an error in your DI configuration. Each items of the array should match exactly one function parameter' } ]
112
125
} ) ;
113
126
} ) ;
114
127
0 commit comments