Skip to content

Commit 8577109

Browse files
ericsubachctrahey
authored andcommitted
refactor(Angular.js): remove code duplication
Closes angular#2890
1 parent 72e508d commit 8577109

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Angular.js

-6
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,6 @@ function inherit(parent, extra) {
256256
return extend(new (extend(function() {}, {prototype:parent}))(), extra);
257257
}
258258

259-
var START_SPACE = /^\s*/;
260-
var END_SPACE = /\s*$/;
261-
function stripWhitespace(str) {
262-
return isString(str) ? str.replace(START_SPACE, '').replace(END_SPACE, '') : str;
263-
}
264-
265259
/**
266260
* @ngdoc function
267261
* @name angular.noop

0 commit comments

Comments
 (0)