MCPcopy Index your code
hub / github.com/angular-ui/ui-router / locationGetterSetter

Function locationGetterSetter

test/angular/1.2/angular.js:9782–9792  ·  view source on GitHub ↗
(property, preprocess)

Source from the content-addressed store, hash-verified

9780
9781
9782function locationGetterSetter(property, preprocess) {
9783 return function(value) {
9784 if (isUndefined(value))
9785 return this[property];
9786
9787 this[property] = preprocess(value);
9788 this.$$compose();
9789
9790 return this;
9791 };
9792}
9793
9794
9795/**

Callers 1

angular.jsFile · 0.70

Calls 1

isUndefinedFunction · 0.70

Tested by

no test coverage detected