Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
more extrakey cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
redmunds committed Aug 17, 2012
1 parent 7600d7c commit e51ae22
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/editor/EditorManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,7 @@ define(function (require, exports, module) {
function _createEditorForDocument(doc, makeMasterEditor, container, range, additionalKeys) {
var mode = EditorUtils.getModeFromFileExtension(doc.file.fullPath);

var extraKeys = {};

if (additionalKeys) {
mergeExtraKeys(null, extraKeys, additionalKeys);
}

return new Editor(doc, makeMasterEditor, mode, container, extraKeys, range);
return new Editor(doc, makeMasterEditor, mode, container, additionalKeys, range);
}

/**
Expand Down

0 comments on commit e51ae22

Please sign in to comment.