comment out console.log statements as the log

module is not yet loaded at these points
This commit is contained in:
Fabian Jakobs 2010-12-15 14:14:41 +01:00
commit 5383a297c2
2 changed files with 2 additions and 3 deletions

View file

@ -48,7 +48,7 @@ exports.startup = function(data, reason) {
// TODO: we should have a better way to specify command lines???
this.input = document.getElementById('cockpit');
if (!this.input) {
console.log('No element with an id of cockpit. Bailing on plain cli');
// console.log('No element with an id of cockpit. Bailing on plain cli');
return;
}
@ -87,7 +87,7 @@ exports.startup = function(data, reason) {
end: this.input.selectionEnd
}
});
console.log(JSON.stringify(cli.getHints()));
//console.log(JSON.stringify(cli.getHints()));
}
// return handled;

View file

@ -52,7 +52,6 @@ define(packages, function(require, exports, module) {
exports.startup = function(data, reason) {
deps.forEach(function(dep) {
console.log("test startup for " + dep);
var module = require(dep);
if (typeof module.startup === "function") {
module.startup(data, reason);