Skip to content
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

Not working with Meteor 1.3.2.4 #19

Open
trusktr opened this issue May 4, 2016 · 1 comment
Open

Not working with Meteor 1.3.2.4 #19

trusktr opened this issue May 4, 2016 · 1 comment

Comments

@trusktr
Copy link

trusktr commented May 4, 2016

I tried both of these:

Inject.rawModHtml('raf-timeout', function(html, res) {
    return html + "<!-- hello Inject -->"
})
Inject.rawModHtml('raf-timeout', function(html, res) {
    res.end(html + "<!-- hello Inject -->")
})

but in either case the browser tab load spinner spins forever, and eventually the connection fails.

cc @gadicc

@trusktr trusktr changed the title Not working on Meteor 1.3.2.4 Not working with Meteor 1.3.2.4 May 4, 2016
@gadicc
Copy link
Contributor

gadicc commented May 17, 2016

Hey, I can't seem to reproduce this. Works fine for me on a fresh site.

Your first way is the correct way; if you use res.end() you'll short-circuit all the other callbacks.

See if you can confirm with a fresh meteor create and then see if any other packages could be conflicting? Also that you're using the latest version (v1.0.4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants