Example #1
0
 .each(function(sName, next) {
     var oExt = _self.workspace.getExt(sName);
     if (oExt.$commandHints) {
         oExt.$commandHints(commands, message, next);
     }
     else {
         if (oExt.metadata && oExt.metadata.commands)
             util.extend(commands, oExt.metadata.commands);
         next();
     }
 })
Example #2
0
 })(function() {
     if (oExt.metadata && oExt.metadata.commands)
         util.extend(commands, oExt.metadata.commands);
     next();
 });
Example #3
0
 function onfinish() {
     Util.extend(commands, hghelp);
     callback();
 }
Example #4
0
 this.augmentCommand = function(cmd, struct) {
     var map = commandsMap[cmd] || commandsMap["default"];
     return Util.extend(struct, map || {});
 };
Example #5
0
File: shell.js Project: ESGR/cloud9
 function afterMeta() {
     if (oExt.metadata && oExt.metadata.commands)
         util.extend(commands, oExt.metadata.commands);
     next();
 }