This file contains 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
node-config | |
1) install the config module | |
npm install config | |
2) create a directory called ‘config’ in your application directory | |
3) create a file inside the ‘config’ directory called ‘default.json’ | |
4) create a file inside the ‘config’ directory called ‘localhost.json’ | |
5) create a file inside the ‘config’ directory called ‘development.json’ |
This file contains 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
Clear Cache | |
https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn | |
Chrome Sniffer | |
https://chrome.google.com/webstore/detail/chrome-sniffer/homgcnaoacgigpkkljjjekpignblkeae | |
JSONView | |
https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc | |
Edit This Cookie |
This file contains 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
console.log("*****************************************************************************"); | |
console.log("calling a function as a method"); | |
console.log(""); | |
// calling a function as a method | |
// "this" property refers to the calling object, in this case, "kitty" | |
var kitty = { | |
animal_type: "excellent", |