Closed dferber90 closed 8 years ago
Hey @dferber90, sorry, you wrote this while I was away on a trip and it slipped straight passed me. Thanks for the detailed report; wish I saw it before the other issue :) Anyway, please see this comment and let's continue this there (in short, please confirm if v1.0.4-rc.0
solves the issue for you).
Works as expected. Thanks! :-)
this also solves https://github.com/meteor-utilities/avatar/issues/58 Thanks!
The package doesn't work with
METEOR@1.3-modules-beta.8
. It still works atMETEOR@1.3-modules-beta.6
, but broke withMETEOR@1.3-modules-beta.7
.When using beta-8, the server doesn't inject any data into the initial page.
Reproduction steps:
Add one file to the top-level directory:
Now, run the app with
$ meteor
and everything will work correctly. If you open the browser console, you'll see the log as expected.This breaks after upgrading to beta-8:
Now run the app again with
meteor
, and open the browser. The console will have a log wheredata
isundefined
. The tag formyData
will be missing from the page.I already tried debugging it a bit and it seemed like this monkey-patched function doesn't run nearly as often in beta-8 as in beta-6. The
if
-block in it never runs, because no chunk matches the regex (actually, all chunks are buffers in beta-8).