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; }; Base.prototype.getDelegator = function(delegator) { return this.delegator; }; return Base; })(App.Mix(App.Mixins.Connectivity)); }).call(this); :ET