Sha256: 7c9e6e8986f3d2ebdcc90d9653e366752b4ee3170c41e0582b31d2944675ed27
Contents?: true
Size: 428 Bytes
Versions: 4
Compression:
Stored size: 428 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)-> console.log response @pagination = response.pagination console.log @page response.cards
Version data entries
4 entries across 4 versions & 1 rubygems