mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
12 lines
398 B
CoffeeScript
12 lines
398 B
CoffeeScript
RootView = require 'views/core/RootView'
|
|
template = require 'templates/account/payments-view'
|
|
CocoCollection = require 'collections/CocoCollection'
|
|
Payments = require 'collections/Payments'
|
|
|
|
module.exports = class PaymentsView extends RootView
|
|
id: "payments-view"
|
|
template: template
|
|
|
|
initialize: ->
|
|
@payments = new Payments()
|
|
@supermodel.trackRequest(@payments.fetch({cache: false}))
|