Sha256: 21b27002823ea41d04253cc62e554ca2f5694efcf1d098b045e46acdb2bda42d
Contents?: true
Size: 599 Bytes
Versions: 26
Compression:
Stored size: 599 Bytes
Contents
var extend, model, queryable, record, stampit, storable; extend = require('assimilate'); storable = require('./storable'); stampit = require('../../vendor/stampit'); queryable = { storage: storable(), find: function(key) { return this.storage.store(key); }, all: function() { return this.storage.values(); }, where: function() { throw new Error('queryable.where: Not implemented yet'); } }; model = window.model; record = window.record; model.queryable = true; module.exports = queryable; model.mix(function(modelable) { return extend(modelable, queryable); });
Version data entries
26 entries across 26 versions & 1 rubygems