File Structure:
- seed_database.js
- config.json
- models/
- index.js
- User.js
- UserType.js
Make sure that the SQL configs are in config.json.
| var Number; | |
| (function (Number_1) { | |
| var map = new WeakMap(); | |
| var internal = function (object) { | |
| if (!map.has(object)) | |
| map.set(object, {}); | |
| return map.get(object); | |
| }; | |
| var Number = (function () { | |
| function Number(x) { |
File Structure:
Make sure that the SQL configs are in config.json.
| var gulp = require('gulp'), | |
| gutil = require('gulp-util'); | |
| var paths = { | |
| css: 'assets/css/**/*.css', | |
| html: 'assets/html/**/*.html', | |
| js: 'assets/js/**/*.js', | |
| img: 'assets/images/**/*.{png,jpg,jpeg,gif}' | |
| }; |
| var Class = | |
| // Create a closure with an Immediately-Invoked Function Expression (IIFE) | |
| (function () { | |
| (function _init() { | |
| // Similar to a static initializer in Java | |
| // This is optional, but it prevents polluting the Class scope. | |
| })(); | |
| // Private static variable | |
| var _static; |