mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 08:25:22 -07:00
refactor into separate events
This commit is contained in:
1 parent
92735bf9fe
commit
21bea9d143
3 files changed
+53
-44
No files matched your search
@@ -393,8 +393,8 @@ define(function (require, exports, module) {
|
||||
*/
|
||||
function installListeners(editor) {
|
||||
|
||||
$(editor).on("keyEvent", function (jqEvent, editor, event) {
|
||||
if (event.type === "keydown" && event.keyCode === KeyEvent.DOM_VK_ESCAPE) {
|
||||
$(editor).on("keydown", function (jqEvent, editor, event) {
|
||||
if (event.keyCode === KeyEvent.DOM_VK_ESCAPE) {
|
||||
dismissHint();
|
||||
}
|
||||
}).on("scroll", function () {
|
||||
|
||||
Reference in new issue
Block a user