-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Use native es6 modules instead of require js #1025
Conversation
document.getElementById('closeMessage').textContent = closeMessageLabel; | ||
document.getElementById('modalLabel').textContent = label; | ||
// Using innerHTML to set the message to allow HTML formatting | ||
document.getElementById('modalText').innerHTML = message; |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML
link.setAttribute('id', 'kiwixJSTheme'); | ||
link.setAttribute('rel', 'stylesheet'); | ||
link.setAttribute('type', 'text/css'); | ||
link.setAttribute('href', prefix + '/css/kiwixJS' + contentTheme + '.css'); |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML
Some tests re-enabled. |
Build configuration (with rollup and babel) now added. |
After careful testing, it's clear that the issue with Firefox compatibility is not with this PR, but a longstanding one as stated in #879. I have now tested carefully, and have updated the Compatibility section of the Readme to make clear that support for Firefox in SW mode is FF >= 56 (non-ESR version). We also support at least 52-56 and 58 ESR in jQuery mode only (hence support for Firefox OS). This info has been added. |
Last things:
|
Everything appears to be working. Proof will be in the daily pudding. 😉. Merging now. |
Initial working version of native ES6 module. No build process yet.