This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var EventEmitter = require('events').EventEmitter; | |
| module.exports = new EventEmitter(); | |
| setTimeout(function() { | |
| module.exports.emit('ready'); | |
| }, 1000); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root.js | |
| /** | |
| * You just have to require the folder where the index.js file is in | |
| */ | |
| var index = require('./models'); | |
| console.log(index); | |
| --------- | |
| models/index.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var debug = require('debug')('carcass:Factory:Storage'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| This library was developed by Will Honey. | |
| It is licensed under the GPLv3 Open Source License | |
| This library requires the underscore library found at http://documentcloud.github.com/underscore/ | |
| This library requires the underscore string library found at http://edtsech.github.com/underscore.string/ | |
| This library requires the support of localStorage. Updates could be easily made to change that. | |
| */ | |
| /* jslint adsafe: false, devel: true, regexp: true, browser: true, vars: true, nomen: true, maxerr: 50, indent: 4 */ |
NewerOlder