-
Notifications
You must be signed in to change notification settings - Fork 373
JS Programming: Fix tab loading + Monaco editor import #2445
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
JS Programming: Fix tab loading + Monaco editor import #2445
Conversation
Branch Targeting SuggestionYou've targeted the
If This is an automated suggestion to help route contributions to the appropriate branch. |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
Should now work in packed app
PR Type
Bug fix, Enhancement
Description
Replace jQuery load with ES6 import for HTML template
Wrap initialization logic inside import callback
Ensure proper async loading of Monaco Editor
Fix compatibility with packed application builds
Diagram Walkthrough
File Walkthrough
javascript_programming.js
Refactor HTML import to use ES6 modulestabs/javascript_programming.js
$('#content').load()to ES6import()with
?rawquery parameterproper async execution
example loading
ES6 modules