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

Commit c00903b

Browse files
Nikhil22Narretz
authored andcommitted
refactor($interpolate): remove unnecessary else
Closes: #15575
1 parent 3776b2e commit c00903b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/ng/interpolate.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ function $InterpolateProvider() {
7373
if (value) {
7474
startSymbol = value;
7575
return this;
76-
} else {
77-
return startSymbol;
7876
}
77+
return startSymbol;
7978
};
8079

8180
/**
@@ -91,9 +90,8 @@ function $InterpolateProvider() {
9190
if (value) {
9291
endSymbol = value;
9392
return this;
94-
} else {
95-
return endSymbol;
9693
}
94+
return endSymbol;
9795
};
9896

9997

0 commit comments

Comments
 (0)