Created
September 20, 2010 10:19
-
-
Save dotnetCarpenter/587700 to your computer and use it in GitHub Desktop.
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
"define metadata"; | |
({ | |
"description": "Provides a clear command to the command line", | |
"provides": [ | |
{ | |
"ep": "command", | |
"name": "clear", | |
"pointer": "#clear" | |
} | |
], | |
"version": "0.0.1", | |
"maintainers": [ | |
{ | |
"name": "Jon Ege Ronnenberg A.K.A. dotnetCarpenter", | |
"email": "[email protected]" | |
} | |
], | |
"licenses": [ | |
{ | |
"type": "WTFPL", | |
"url": "http://sam.zoy.org/wtfpl/COPYING" | |
} | |
] | |
}) | |
"end"; | |
/* | |
var env = require('environment').env; | |
var cmdLine = env.commandLine; | |
*/ | |
exports.clear = function(){ | |
/* might create problems with EventListeners? */ | |
document.getElementsByClassName("cmd_table")[0].innerHTML = ""; | |
request.done(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment