MCPcopy
hub / github.com/angular-ui/ui-router / trim

Function trim

test/angular/1.4/angular.js:767–769  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

765
766
767var trim = function(value) {
768 return isString(value) ? value.trim() : value;
769};
770
771// Copied from:
772// http://docs.closure-library.googlecode.com/git/local_closure_goog_string_string.js.source.html#line1021

Callers 15

JQLiteFunction · 0.70
jqLiteRemoveClassFunction · 0.70
jqLiteAddClassFunction · 0.70
$CompileProviderFunction · 0.70
collectDirectivesFunction · 0.70
applyDirectivesToNodeFunction · 0.70
compileTemplateUrlFunction · 0.70
parseHeadersFunction · 0.70
listenerFunction · 0.70
ngListDirectiveFunction · 0.70
parseFunction · 0.70
ngModelOptionsDirectiveFunction · 0.70

Calls 1

isStringFunction · 0.70

Tested by

no test coverage detected