-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Conversation
/*global define, $, window */ | ||
|
||
/** | ||
* Utilities for working with Deferred, Promise, and other asynchronous processes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Reviewing |
Looks like there are some additional references that use Initial review complete. |
Sure - will make the changes. |
Thanks for the through review - i was rushing it a bit this morning |
@RaymondLim : I did think about that, but I looked it up. Turns out the original definition Note - I redefined the code as the brackets uses 187.
|
I googled on VK_EQUAL and found out that there are two camps. So I'm okay to keep it as is. BTW, there are some hard-coded key codes in CodeHintManager.js that you need to replace with your changes too. |
Thanks Ray - I'll take a look at Code hinte manger as well as the tests and update the pull request. |
Hi Jochen. Looks like you need to sync up with master before we can merge. |
Thanks for the info - won't get ti it before tonight. |
Conflicts: src/command/KeyBindingManager.js
@@ -23,7 +23,7 @@ | |||
|
|||
|
|||
/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */ | |||
/*global define, $, brackets, window */ | |||
/*global define, brackets */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing $ was ok here, but you should be seeing a jslint error for window.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes - JSLint did complain. - I put it back in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was complaining about both - I put both back in.
@couzteau please also sign the CLA before I merge this pull request http://dev.brackets.io/brackets-contributor-license-agreement.html |
done |
Thanks. Merging. |
Yay! Thanks -my pleasure. |
Hello Brackets people,
Happy to make a stab at my first contribution. :)
All keycode references in src should be updated. All tests are passing.
I have not updated all tests to use the new module yet, but would be happy to update them soon.
Got to get to my day job ;)
Not sure if you like that I added some KeyCode definitions that are not defined here:
http://www.javascripter.net/faq/keyeventconstantsfirefox.htm
Those listed below are not defined in the , as IE deviates from other browsers. Since brackets uses them I added them following the same naming convention as other key codes. We may want to use a different prefix rather than DOM_VK? to stay consisten Happy to change if you prefer.
DOM_VK_SEMICOLON: 186,
DOM_VK_EQUALS: 187,
DOM_VK_COMMA: 188,
DOM_VK_DASH: 189
Adding them in required to remove definition defined the reference doc above:
DOM_VK_EQUALS: 61,
DOM_VK_SEMICOLON: 59,
I have not updated any key code references in sources in 3rd party or extensions.
Jochen