comment out console.log statements as the log
module is not yet loaded at these points
This commit is contained in:
parent
7bb4950a1c
commit
5383a297c2
2 changed files with 2 additions and 3 deletions
|
|
@ -48,7 +48,7 @@ exports.startup = function(data, reason) {
|
||||||
// TODO: we should have a better way to specify command lines???
|
// TODO: we should have a better way to specify command lines???
|
||||||
this.input = document.getElementById('cockpit');
|
this.input = document.getElementById('cockpit');
|
||||||
if (!this.input) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -87,7 +87,7 @@ exports.startup = function(data, reason) {
|
||||||
end: this.input.selectionEnd
|
end: this.input.selectionEnd
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
console.log(JSON.stringify(cli.getHints()));
|
//console.log(JSON.stringify(cli.getHints()));
|
||||||
}
|
}
|
||||||
|
|
||||||
// return handled;
|
// return handled;
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,6 @@ define(packages, function(require, exports, module) {
|
||||||
|
|
||||||
exports.startup = function(data, reason) {
|
exports.startup = function(data, reason) {
|
||||||
deps.forEach(function(dep) {
|
deps.forEach(function(dep) {
|
||||||
console.log("test startup for " + dep);
|
|
||||||
var module = require(dep);
|
var module = require(dep);
|
||||||
if (typeof module.startup === "function") {
|
if (typeof module.startup === "function") {
|
||||||
module.startup(data, reason);
|
module.startup(data, reason);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue