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

Function trim

test/angular/1.3/angular.js:664–666  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

662
663
664var trim = function(value) {
665 return isString(value) ? value.trim() : value;
666};
667
668// Copied from:
669// http://docs.closure-library.googlecode.com/git/local_closure_goog_string_string.js.source.html#line1021

Callers 12

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