UNPKG
wheelhouse-model
Version:
latest (0.1.0)
0.1.0
A wheelhouse library to prevent duplicate saves from client and server
wheelhouse-model
/
lib
/
server.js
10 lines
(7 loc)
•
207 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
;
var
model =
require
(
'./mutual.js'
)
module
.
exports
= model.
extend
({
// we know we're on the server because browserify will look at the package.json
_isClient
:
false
,
_isServer
:
true
})