-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Webpack3 (no es6 changes) #4800
Changes from all commits
3e7561f
7ae2548
809cb33
46b784b
6a2960f
aca13d4
ddee08b
33b9d5e
68c2c5c
1670703
07a8505
f8e4263
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,13 @@ | |
<section id="matrixchat" style="height: 100%;"></section> | ||
<noscript>Sorry, Riot requires JavaScript to be enabled.</noscript> <!-- TODO: Translate this? --> | ||
<% for (var i=0; i < htmlWebpackPlugin.files.js.length; i++) { | ||
if (_.endsWith(htmlWebpackPlugin.files.js[i], 'olm.js')) { | ||
var array = htmlWebpackPlugin.files.js; | ||
htmlWebpackPlugin.files.js.unshift(htmlWebpackPlugin.files.js[i]); | ||
htmlWebpackPlugin.files.js.splice(i, 1); | ||
} | ||
} | ||
for (var i=0; i < htmlWebpackPlugin.files.js.length; i++) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
2 and 3 can I fix after the weekend There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @dbkr I am not sure about 3. Should I do 2 spaces or 4? the html uses 2 spaces. Or do you mean the if that is missing one space? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah ok. Yeah, I can see how that would break. Generally all the indents should be 4 spaces. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess I will leave the html as is but fix the Js code in there There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, I wonder if we should be using |
||
// Not a particularly graceful way of not putting the indexeddb worker script | ||
// into the main page | ||
if (_.endsWith(htmlWebpackPlugin.files.js[i], 'indexeddb-worker.js')) { | ||
|
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.
I vaguely remember asking you about this back when you submitted the PR... if I did, I can't remember the conclusion though. Why is this necessary?
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.
I think it was the CI being stupid. It works this way not the other way. But I have to admit I do not know if this still is required
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 propably the symlink issue that npm has which later got finished