Created
April 21, 2016 12:34
-
-
Save jdlrobson/61d663270ebf88d85d9ade49f2aed5fa to your computer and use it in GitHub Desktop.
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
| { | |
| "ResourceModules": { | |
| "joaquin.js": { | |
| "scripts": "joaquin.js" | |
| }, | |
| "jon.js": { | |
| "scripts": "jon.js" | |
| }, | |
| "baha.js": { | |
| "scripts": "baha.js" | |
| }, | |
| "others/sam.js": { | |
| "scripts": "others/sam.js" | |
| } | |
| "others/jeff.js": { | |
| "scripts": "others/jeff.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
| // (imagine this is inside a folder called other - gist wont let me do that) | |
| var baha = require( 'baha.js' ); | |
| module.exports = { | |
| understand: function () { | |
| return true; | |
| }, | |
| bahaUnderstands: function () { | |
| return baha.understand(); | |
| }, | |
| wtf: function () { | |
| return false; | |
| } | |
| }; |
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 jon = require( 'jon.js' ); | |
| var jeff = require( 'others/jeff.js' ); | |
| var sam = require( 'others/sam.js' ); | |
| console.log( 'Is this thing on?', jon.understand() && sam.understand() && jeff.understand() && jeff.bahaUnderstands() ); |
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
| module.exports = { | |
| understand: function () { | |
| return true; | |
| }, | |
| wtf: function () { | |
| return false; | |
| } | |
| }; |
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
| // (imagine this is inside a folder called other - gist wont let me do that) | |
| module.exports = { | |
| understand: function () { | |
| return true; | |
| }, | |
| wtf: function () { | |
| return false; | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment