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

Function locationGetterSetter

tools/ngui/static/js/lib/angular.js:5452–5462  ·  view source on GitHub ↗
(property, preprocess)

Source from the content-addressed store, hash-verified

5450
5451
5452function locationGetterSetter(property, preprocess) {
5453 return function(value) {
5454 if (isUndefined(value))
5455 return this[property];
5456
5457 this[property] = preprocess(value);
5458 this.$$compose();
5459
5460 return this;
5461 };
5462}
5463
5464
5465/**

Callers 1

angular.jsFile · 0.85

Calls 1

isUndefinedFunction · 0.85

Tested by

no test coverage detected