Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| git checkout --orphan newBranch | |
| git add -A # Add all files and commit them | |
| git commit | |
| git branch -D master # Deletes the master branch | |
| git branch -m master # Rename the current branch to master | |
| // have to confrim below command | |
| git remote rm origin | |
| // Push is optional | 
| // Create an event bus | |
| function Bus() { | |
| let eventFuncObject={}; | |
| function on(eventName, eventFunc){ | |
| if(!eventFuncObject[eventName]){ | |
| eventFuncObject[eventName]=[]; | |
| } | |
| eventFuncObject[eventName].push(eventFunc); | 
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.