Closed Oletus closed 6 years ago
Please don't use a file URL. that's a bad practice. use a simple file server. Here a bunch. They take zero to 90 seconds to setup
This patch is not specific only to file URLs - I get the same issue also when accessing the page through the server from server/ directory. Updated the pull request description to reflect that.
I don't see a big problem with using file URLs either in some situations, but that's another conversation.
Obsolete now that the regexpes were changed in a different way.
The regexpes used for shader code filtering need to allow CRLF besides just LF to be compatible with Edge when opening the page through a file: URL or using the server config included in the repository. The issue doesn't appear on webglsamples.org so it may be specific to a certain git configuration but with the patch either style of line endings will work.