Sha256: 6d4bf7db80e362ee2a6c3ed57e20bd278615e6afa8c23f10749acc50c7d30998
Contents?: true
Size: 471 Bytes
Versions: 7
Compression:
Stored size: 471 Bytes
Contents
pageflow.linkmapPage.MasksDelegator = pageflow.Object.extend({ initialize: function() { this._masks = pageflow.linkmapPage.Masks.empty; }, updateDelegate: function(masks) { this._masks = masks; this.trigger('update'); } }); _(['findByPermaId', 'atPoint', 'each', 'draw', 'isEmpty']).each(function(method) { pageflow.linkmapPage.MasksDelegator.prototype[method] = function() { return this._masks[method].apply(this._masks, arguments); }; });
Version data entries
7 entries across 7 versions & 1 rubygems