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); });