mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-14 22:39:32 +08:00
committed by
Pawel Kozlowski
parent
e82d780c2e
commit
a83ed0e6c3
@@ -256,12 +256,6 @@ function inherit(parent, extra) {
|
||||
return extend(new (extend(function() {}, {prototype:parent}))(), extra);
|
||||
}
|
||||
|
||||
var START_SPACE = /^\s*/;
|
||||
var END_SPACE = /\s*$/;
|
||||
function stripWhitespace(str) {
|
||||
return isString(str) ? str.replace(START_SPACE, '').replace(END_SPACE, '') : str;
|
||||
}
|
||||
|
||||
/**
|
||||
* @ngdoc function
|
||||
* @name angular.noop
|
||||
|
||||
Reference in New Issue
Block a user