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

Commit

Permalink
refactor($interpolate): remove unnecessary else
Browse files Browse the repository at this point in the history
Closes: #15575
  • Loading branch information
Nikhil22 authored and Narretz committed Jan 5, 2017
1 parent 3776b2e commit c00903b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/ng/interpolate.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ function $InterpolateProvider() {
if (value) {
startSymbol = value;
return this;
} else {
return startSymbol;
}
return startSymbol;
};

/**
Expand All @@ -91,9 +90,8 @@ function $InterpolateProvider() {
if (value) {
endSymbol = value;
return this;
} else {
return endSymbol;
}
return endSymbol;
};


Expand Down

0 comments on commit c00903b

Please sign in to comment.