Sha256: 4e592d2e1b7a550107ebd684ab64da19da0bb9f8947f1188dd7311821da685f4

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

Backbone = require('backbone')
config = require('../config')
querystring = require('querystring')
$ = require('jquery')

module.exports = class Tag extends Backbone.Model
  modelName: 'Tag'
  idAttribute: 'name'
  url: ()-> config.root_path + config.api_path + '/tags/' + encodeURIComponent(@get('name')) + '.json'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
carte-server-1.0.11 lib/carte/client/models/tag.coffee
carte-server-1.0.10 lib/carte/client/models/tag.coffee
carte-server-1.0.9 lib/carte/client/models/tag.coffee