Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created February 11, 2016 22:47
Show Gist options
  • Save chuck0523/b2e85d7114f56e40471e to your computer and use it in GitHub Desktop.
Save chuck0523/b2e85d7114f56e40471e to your computer and use it in GitHub Desktop.
module.exports = (function() {
'use strict';
const Nodal = require('nodal');
class Word extends Nodal.Model {}
Word.setDatabase(Nodal.require('db/main.js'));
Word.setSchema(Nodal.my.Schema.models.Word);
return Word;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment