MCPcopy Create free account
hub / github.com/angular-ui/ui-router / trim

Function trim

test/angular/1.5/angular.js:760–762  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

758
759
760var trim = function(value) {
761 return isString(value) ? value.trim() : value;
762};
763
764// Copied from:
765// http://docs.closure-library.googlecode.com/git/local_closure_goog_string_string.js.source.html#line1021

Callers 13

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

Calls 1

isStringFunction · 0.70

Tested by

no test coverage detected