Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit b0307a3

Browse files
jbedardtbosch
authored andcommitted
refactor($parse): remove dead code
Closes #9489
1 parent 40d4bb5 commit b0307a3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ng/parse.js

-4
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ CONSTANTS['this'].sharedGetter = true;
9999

100100
//Operators - will be wrapped by binaryFn/unaryFn/assignment/filter
101101
var OPERATORS = extend(createMap(), {
102-
/* jshint bitwise : false */
103102
'+':function(self, locals, a,b){
104103
a=a(self, locals); b=b(self, locals);
105104
if (isDefined(a)) {
@@ -116,7 +115,6 @@ var OPERATORS = extend(createMap(), {
116115
'*':function(self, locals, a,b){return a(self, locals)*b(self, locals);},
117116
'/':function(self, locals, a,b){return a(self, locals)/b(self, locals);},
118117
'%':function(self, locals, a,b){return a(self, locals)%b(self, locals);},
119-
'^':function(self, locals, a,b){return a(self, locals)^b(self, locals);},
120118
'===':function(self, locals, a, b){return a(self, locals)===b(self, locals);},
121119
'!==':function(self, locals, a, b){return a(self, locals)!==b(self, locals);},
122120
'==':function(self, locals, a,b){return a(self, locals)==b(self, locals);},
@@ -127,14 +125,12 @@ var OPERATORS = extend(createMap(), {
127125
'>=':function(self, locals, a,b){return a(self, locals)>=b(self, locals);},
128126
'&&':function(self, locals, a,b){return a(self, locals)&&b(self, locals);},
129127
'||':function(self, locals, a,b){return a(self, locals)||b(self, locals);},
130-
'&':function(self, locals, a,b){return a(self, locals)&b(self, locals);},
131128
'!':function(self, locals, a){return !a(self, locals);},
132129

133130
//Tokenized as operators but parsed as assignment/filters
134131
'=':true,
135132
'|':true
136133
});
137-
/* jshint bitwise: true */
138134
var ESCAPE = {"n":"\n", "f":"\f", "r":"\r", "t":"\t", "v":"\v", "'":"'", '"':'"'};
139135

140136

0 commit comments

Comments
 (0)