Skip to content

Instantly share code, notes, and snippets.

@napolux
Created September 29, 2015 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save napolux/931d023cd242f55c0e93 to your computer and use it in GitHub Desktop.
Save napolux/931d023cd242f55c0e93 to your computer and use it in GitHub Desktop.
if (ACTIVE && key) {
// Takeoff
if (key.name === 't') {
try {
d.takeOff(function() {
console.log('[INFO] Rolling Spider take-off completed'.green);
});
} catch(err) {
console.log('[ERROR] '.red + err.red);
}
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment