MCPcopy Create free account
hub / github.com/apache/cloudstack / trim

Function trim

tools/ngui/static/js/lib/angular.js:439–441  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

437
438
439function trim(value) {
440 return isString(value) ? value.replace(/^\s*/, '').replace(/\s*$/, '') : value;
441}
442
443/**
444 * @ngdoc function

Callers 8

JQLiteRemoveClassFunction · 0.85
JQLiteAddClassFunction · 0.85
collectDirectivesFunction · 0.85
applyDirectivesToNodeFunction · 0.85
compileTemplateUrlFunction · 0.85
parseHeadersFunction · 0.85
listenerFunction · 0.85
parseFunction · 0.85

Calls 2

isStringFunction · 0.85
replaceMethod · 0.80

Tested by

no test coverage detected