Skip to content
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] Restoring the brackets alias intitialization in appshell_extensions.js #411

Open
core-ai-bot opened this issue Aug 17, 2021 · 2 comments

Comments

@core-ai-bot
Copy link
Member

Issue by nethip
Thursday Feb 01, 2018 at 05:09 GMT
Originally opened as adobe#630


This is still going to be required as brackets.app.language was getting accessed even before it was getting initialized in global.js.

I have unit tested on Win, Linux and MAC with this change and the change seems to be working fine. Also I tested by hard routing the language to "fr", and Brackets is now correctly able to take the language, defined by brackets.app.language.

Thanks @swmitra for debugging this. Could you please review this?
@abhijitapte It would be great if you can review this as well.


nethip included the following code: https://github.com/adobe/brackets-shell/pull/630/commits

@core-ai-bot
Copy link
Member Author

Comment by swmitra
Thursday Feb 01, 2018 at 07:16 GMT


@nethip A very minor change just for better readability purpose.
If we can define the alias "brackets" upfront while defining "appshell" and then assign the initialised "appshell" placeholder to the alias before going through the self executing member initialisation block.

@core-ai-bot
Copy link
Member Author

Comment by nethip
Thursday Feb 01, 2018 at 07:18 GMT


@swmitra Thanks for reviewing this! I will update the PR with your review comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant