Closed tomwayson closed 8 years ago
FYI - IMHO this would take precedence over #31
Looks good! Thanks!
Thanks!
I'll update #31
Any thoughts on when this might make it into a release?
I should be able to push Monday, I just want to test it against a larger app that we have and verify there's not gotchas on that end. Ping me to remind me if I forget.
That would be awesome. No rush. Thanks!
Fixes an error I see when using this w/ ember-cli-mapillary, which is that the
{{mapillary-viewer}}
component is broken and you see severalthree.min.js:711 THREE.WebGLShader: Shader couldn't compile.
errors, each followed by a warning like this:Finally you see this error:
It seems like the regEx used to find and replace on "define"
/(\W|^|["])define(\W|["]|$)/g
is matching "#define" that occurs in some kind of three.js template.Since the
\W
in the above is a shorthand for[^A-Za-z0-9_]
I just used that negated character set and included "#" as one of the characters to not match:[^A-Za-z0-9_#]
This prevents the above errors and does not seem to break any of the other parts of my application.