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

refactor($interpolate): remove unnecessary else #15575

Merged
merged 2 commits into from
Jan 5, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 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;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There must be a trailing space here. Can you please remove it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it has been removed now

return endSymbol;
};


Expand Down