Sha256: 961fb80f016e00c1b5fc9e6957b62ac77eb9d263905f353bec83cc4f0bfee0cc
Contents?: true
Size: 515 Bytes
Versions: 13
Compression:
Stored size: 515 Bytes
Contents
pageflow.linkmapPage.ColorMapDelegator = pageflow.Object.extend({ initialize: function() { this._colorMap = pageflow.linkmapPage.ColorMap.empty; }, updateDelegate: function(colorMap) { this._colorMap = colorMap; this.trigger('update'); } }); _(['components', 'componentFromPoint', 'componentByPermaId', 'previewUrl']).each(function(method) { pageflow.linkmapPage.ColorMapDelegator.prototype[method] = function() { return this._colorMap[method].apply(this._colorMap, arguments); }; });
Version data entries
13 entries across 13 versions & 1 rubygems