Created
February 4, 2014 21:49
-
-
Save jamespeerless/8813045 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Maskme.module "CardApp.Transactions", (Transactions, App, Backbone, Marionette, $, _) -> | |
class Transactions.Layout extends App.Views.Layout | |
template: "card/transactions/layout" | |
regions: | |
transactionsRegion: "#card-transactions-region" | |
class Transactions.Transactions extends App.Views.CollectionView | |
itemView: Transactions.Transaction | |
emptyView: Transactions.Empty | |
tagName: "ul" | |
className: "topcoat-list list actions" | |
collectionEvents: | |
"change":"render" | |
class Transactions.Transaction extends App.Views.ItemView | |
template: "card/transactions/transaction" | |
tagName: "li" | |
className: "topcoat-list__item" | |
class Transactions.Empty extends App.Views.ItemView | |
template: "card/transactions/empty" | |
tagName: "li" | |
className: "topcoat-list__item" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment