(property, preprocess)
| 9780 | |
| 9781 | |
| 9782 | function 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 | /** |