Do not patch in "context" when invoking command through keybinding service

This commit is contained in:
Alex Dima
2016-05-02 17:55:37 +02:00
parent c63fbe6fb1
commit 487e7dd1a0
36 changed files with 256 additions and 235 deletions

View File

@@ -145,7 +145,7 @@ export class MainThreadCommands {
return this._proxy.$executeContributedCommand(id, ...args);
},
weight: undefined,
context: undefined,
when: undefined,
win: undefined,
mac: undefined,
linux: undefined,
@@ -190,7 +190,7 @@ KeybindingsRegistry.registerCommandDesc({
console.log(all.join('\n'));
});
},
context: undefined,
when: undefined,
weight: KeybindingsRegistry.WEIGHT.builtinExtension(0),
primary: undefined
});