Sha256: 1b3c8defa1baf66ef719a84da01072ffa902205e64b2b239b324014390626674
Contents?: true
Size: 1.41 KB
Versions: 5
Compression:
Stored size: 1.41 KB
Contents
I"”(function() { var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; App.Views.Base = (function(superClass) { extend(Base, superClass); function Base(opts) { if (opts == null) { opts = {}; } this.views = {}; this.intervals = {}; this.receivers = {}; this.controller = null; this.delegator = null; if (opts.controller != null) { this.setController(opts.controller); } if (opts.delegator != null) { this.setDelegator(opts.delegator); } } Base.prototype.setController = function(cntr) { return this.controller = cntr; }; Base.prototype.getController = function() { return this.controller; }; Base.prototype.setView = function(key, view) { return this.views[key] = view; }; Base.prototype.getView = function(key) { return this.views[key]; }; Base.prototype.getViews = function() { return this.views; }; Base.prototype.setDelegator = function(delegator) { return this.delegator = delegator; }; return Base; })(App.Mix(App.Mixins.Connectivity)); }).call(this); :ET
Version data entries
5 entries across 4 versions & 1 rubygems