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
// TODO: Add semicolon at end of this and all the other statements. | |
// TODO: Move module.exports statement to bottom of file--not necessary, but best practice. | |
module.exports = Batch | |
/** | |
* Creates a new instance of Batch | |
* @param {Boolean} sync Whether or not a delay frame should be set during queueing. | |
*/ | |
function Batch(sync) { | |
if(!(this instanceof Batch)) { |
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
# me> gi tpush | |
# computer> -bash: gi: command not found | |
# me> dang it you kno wwhat I meant! | |
gi() { TCOMMAND=$1; shift; OTHERARGS=$@; if [ ${TCOMMAND:0:1} = "t" ]; then git ${TCOMMAND:1} $OTHERARGS; fi; } |