Skip to content

Instantly share code, notes, and snippets.

@truemagic-coder
Created September 8, 2012 01:52
Show Gist options
  • Save truemagic-coder/3671287 to your computer and use it in GitHub Desktop.
Save truemagic-coder/3671287 to your computer and use it in GitHub Desktop.
(function() {
var BatApp,
__hasProp = {}.hasOwnProperty,
__extends = 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; };
BatApp = (function(_super) {
__extends(BatApp, _super);
function BatApp() {
return BatApp.__super__.constructor.apply(this, arguments);
}
BatApp.BatData = new Batman.Set;
BatApp.BatClear = function() {
return this.BatData.clear();
};
BatApp.BatPush = function(data) {
return this.BatData.add(data);
};
window.BatApp = BatApp;
return BatApp;
})(Batman.App);
}).call(this);
window.BatApp.run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment