MCPcopy Create free account
hub / github.com/binux/qiandao / locationGetterSetter

Function locationGetterSetter

web/static/components/angularjs/angular.js:9623–9633  ·  view source on GitHub ↗
(property, preprocess)

Source from the content-addressed store, hash-verified

9621
9622
9623function locationGetterSetter(property, preprocess) {
9624 return function(value) {
9625 if (isUndefined(value))
9626 return this[property];
9627
9628 this[property] = preprocess(value);
9629 this.$$compose();
9630
9631 return this;
9632 };
9633}
9634
9635
9636/**

Callers 1

angular.jsFile · 0.85

Calls 1

isUndefinedFunction · 0.70

Tested by

no test coverage detected