Skip to content

Instantly share code, notes, and snippets.

@jamespeerless
Created February 4, 2014 22:17
Show Gist options
  • Save jamespeerless/8813474 to your computer and use it in GitHub Desktop.
Save jamespeerless/8813474 to your computer and use it in GitHub Desktop.
Charges.Charge = (function(_super) {
__extends(Charge, _super);
function Charge() {
_ref1 = Charge.__super__.constructor.apply(this, arguments);
return _ref1;
}
Charge.prototype.template = "card/charges/transaction";
Charge.prototype.tagName = "li";
Charge.prototype.className = "topcoat-list__item";
Charge.prototype.triggers = {
"click #wtf": "wtf:clicked"
};
return Charge;
})(App.Views.ItemView);
Charges.Empty = (function(_super) {
__extends(Empty, _super);
function Empty() {
_ref2 = Empty.__super__.constructor.apply(this, arguments);
return _ref2;
}
Empty.prototype.template = "card/charges/empty";
Empty.prototype.tagName = "li";
Empty.prototype.className = "topcoat-list__item";
return Empty;
})(App.Views.ItemView);
return Charges.Charges = (function(_super) {
__extends(Charges, _super);
function Charges() {
_ref3 = Charges.__super__.constructor.apply(this, arguments);
return _ref3;
}
Charges.prototype.itemView = Charges.Charge;
Charges.prototype.emptyView = Charges.Empty;
Charges.prototype.className = "topcoat-list list actions";
return Charges;
})(App.Views.CollectionView);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment