From 1933d809e27da42007280888918ff57ef0e81f80 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Mon, 7 Jul 2014 10:45:15 +0200 Subject: [PATCH] Export transform ol.ObjectAccessor#transform is used in the bind-input example. Why the example works without this export is a mystery to me. Either way, we will want this in the docs. --- src/ol/object.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ol/object.js b/src/ol/object.js index c9332eff94..ea67cb03fe 100644 --- a/src/ol/object.js +++ b/src/ol/object.js @@ -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;