Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove console.logs
  • Loading branch information
CoderPuppy committed Apr 19, 2012
1 parent ae3a522 commit 1fd65f3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/autocomplete.js
Expand Up @@ -37,8 +37,6 @@ define(['require', 'exports', './commandParser', './argument'], function(require
cmdName = args.splice(0, 1)[0];
terminal = terminal || this.terminal;

console.log(cmdName + ':', args);

var autoCompleteCMD = position && position.length > 0 ? parsed[position[0]] : parsed[parsed.length - 1];
var autoCompleteFile = terminal.findCMD(cmdName || '');
if(autoCompleteFile) {
Expand All @@ -48,8 +46,6 @@ define(['require', 'exports', './commandParser', './argument'], function(require
if(autoCompleteArgDef) {
var autoCompleteBefore = position && position.length > 2 ? autoCompleteArg.substr(0, position[3]) : autoCompleteArg;

console.log(autoCompleteCMD, autoCompleteFile, autoCompleteArg, autoCompleteBefore, autoCompleteArgDef);

return ((new Argument(( typeof(autoCompleteArgDef.type) == 'string' ? autoCompleteArgDef.type : autoCompleteArgDef.type.name ),
( typeof(autoCompleteArgDef.type) == 'object' ? autoCompleteArgDef.type : {} )))
.setInput(autoCompleteArg).autoComplete(autoCompleteBefore) || []).map(function(completion) {
Expand Down

0 comments on commit 1fd65f3

Please sign in to comment.