UNPKG
wheelhouse-model
Version:
latest (0.1.0)
0.1.0
A wheelhouse library to prevent duplicate saves from client and server
wheelhouse-model
/
test
/
fixtures
/
items.js
10 lines
(7 loc)
•
166 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
;
var
Backbone
=
require
(
'backbone'
) ,
Model
=
require
(
'./item.js'
)
module
.
exports
=
Backbone
.
Collection
.
extend
({
url
:
'/items'
,
model
:
Model
})