-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Simplify FindUtils.parseDollars #6825
Comments
Comment by dangoor
|
Comment by dangoor Stealing this from Thanks! |
Comment by njx Before merging this, let me check whether it will merge cleanly with the replace-across-files branch - I might have moved the function elsewhere. |
Comment by dangoor
Getting replace-across-files in is higher priority, so you can just carry on, merge that and then we'll see what needs to happen. |
Comment by njx Yup, it's moved to |
Comment by MarcelGerber
|
Comment by dangoor
|
Comment by MarcelGerber
|
Comment by dangoor
|
Issue by MarcelGerber
Saturday Apr 19, 2014 at 23:22 GMT
Originally opened as adobe/brackets#7582
I tried to simplify/comment the quite complicated
FindReplace
helper functionparseDollars
, but to be honest, I don't know if I made it better or worse.Let's see if someone understands the function now 😆
The only architectural change is that
parseInt
is only called after we made sureindex
is indeed an integer (and not&
).MarcelGerber included the following code: https://github.com/adobe/brackets/pull/7582/commits
The text was updated successfully, but these errors were encountered: