Sha256: 6eb936f63bca3ef8fdb5bf4353b9f0878aa58c9c0993a0d740204415b03bbb11
Contents?: true
Size: 784 Bytes
Versions: 26
Compression:
Stored size: 784 Bytes
Contents
extend = require 'assimilate' storable = require './storable' # merge = extend.withStrategy 'deep' stampit = require '../../vendor/stampit' queryable = # FIXME don't let everyone use the same storage instance! or let it? storage: storable() find: (key) -> @storage.store key all: -> @storage.values() where: -> throw new Error 'queryable.where: Not implemented yet' # Extend indemma # TODO use stampit to extend record and model model = window.model # TODO better way to get parent record = window.record # TODO better way to get parent # queryable = stampit.compose queryable, storable model.queryable = true module.exports = queryable model.mix (modelable) -> # TODO use stampit to extend record and model extend modelable, queryable
Version data entries
26 entries across 26 versions & 1 rubygems