Merge pull request #2317 from ahocevar/export-transform

Make transform exportable
This commit is contained in:
Andreas Hocevar
2014-07-07 11:19:04 +02:00

View File

@@ -105,6 +105,7 @@ ol.ObjectAccessor = function(source, target, sourceKey, targetKey) {
* before it is set to the target.
* @param {function(?): ?} to A function that transforms the target value
* before it is set to the source.
* @api
*/
ol.ObjectAccessor.prototype.transform = function(from, to) {
this.from = from;