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
chai | |
should.js | |
expect |
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
mocha | |
jasmine | |
tape | |
Qunit | |
ava | |
jest |
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
https://webpack.js.org/loaders/css-loader/ | |
https://webpack.js.org/loaders/babel-loader/ |
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
babel - recommended | |
typescript - type safety | |
elm - steep learning curve but cause no errors in runtime | |
transpiling with babel: http://jsrocks.org/2016/01/configuring-babel-6-for-node-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
1. grunt | |
2. gulp | |
3. npm scripts | |
http://bit.ly/npmvsgulp |
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
1. http-server | |
2. live-server | |
3. express ( alternatives: kapi and hoa) | |
4. budo | |
5. webpack dev server | |
6. browserSync |
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
local-tunnel | |
ngrok | |
now | |
surge |
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
https://github.com/settings/applications/new |
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
https://www.splessons.com/how-to-use-ng-option-to-set-default-value-of-select-element/ | |
/*a clear explanation can be found here on how to use default value in drop down*/ | |
https://www.gurustop.net/blog/2014/01/28/common-problems-and-solutions-when-using-select-elements-with-angular-js-ng-options-initial-selection/ |
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
let counter = 0; | |
const getData = function() { | |
console.log('fetching data ...' + counter++); | |
}; | |
const debounce = function(fn, delay) { | |
let timer; | |
return function() { | |
let context = this, |