+++ /dev/null
-Class("Unlimitedpizza").inherits(Widget)({
- prototype : {
- _loaded : false,
-
- init : function (config) {
- Widget.constructor.prototype.init.call(this, config)
-
- this._bindInternalEvents();
- },
-
- _bindInternalEvents : function bindInternalEvents() {
- this.bind('activate', this._onActivate.bind(this));
- this.bind('deactivate', this._onDeactivate.bind(this));
- },
-
- _onActivate : function _activate() {
- if (!this._loaded) {
- this._load();
- }
- },
-
- _load : function _load() {
- var meltyCheese;
-
- meltyCheese = new Unlimitedpizza.MeltyCheese
- }
- }
-});