Sha256: 20b08ddeb03f718bc53c9ec685bc62bc0847e483f071a30022ac5af10411c9a7
Contents?: true
Size: 381 Bytes
Versions: 11
Compression:
Stored size: 381 Bytes
Contents
Backbone = require('backbone') CardModel = require('./card') $ = require('jquery') config = require('../config') module.exports = class Cards extends Backbone.Collection model: CardModel query: {} url: ()-> url = '/cards.json?' + $.param(@query) config.root_path + config.api_path + url parse: (response)-> @pagination = response.pagination response.cards
Version data entries
11 entries across 11 versions & 1 rubygems