Sha256: a2d91b6a87dd28b8143045f07f5fda16d44660a04d5c16b7d3c909012bdcd16d
Contents?: true
Size: 455 Bytes
Versions: 5
Compression:
Stored size: 455 Bytes
Contents
Backbone = require('backbone') CardModel = require('./card') $ = require('jquery') config = require('../../shared/config.json') module.exports = class Cards extends Backbone.Collection model: CardModel query: {} url: ()-> url = '/api/cards.json?' + $.param(@query) if config.api_path url = config.api_path + url url parse: (response)-> console.log response @page = response.page console.log @page response.cards
Version data entries
5 entries across 5 versions & 1 rubygems