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

Uncaught ReferenceError: Home is not defined #6

Closed
cies opened this issue Apr 12, 2014 · 5 comments
Closed

Uncaught ReferenceError: Home is not defined #6

cies opened this issue Apr 12, 2014 · 5 comments

Comments

@cies
Copy link

cies commented Apr 12, 2014

The issue exists for a while; I tested it with recent version of Chrome. Home is the name of the module that contains the Fay code I guess. Since the issue is well described in the stackexchange question below, I'll simply refer to it.

http://stackoverflow.com/questions/22741312/yesod-fay-uncaught-referenceerror-xxx-is-not-defined

@cies
Copy link
Author

cies commented Apr 12, 2014

I removed the last line, Fay$$_(Home.main);, from my currently generated JS file (static/tmp/autogen-CKyimEwM.js) and it fixed the error.

@bergmark
Copy link

Related, maybe the hard coded call can be removed: #2

snoyberg added a commit that referenced this issue Apr 20, 2014
@snoyberg
Copy link
Member

OK, I just tried removing the call, which seems to fix the problem for me without introducing any regressions. Can you guys test it?

@mostalive
Copy link

It's gone :), my micro app has no regressions.

@cies
Copy link
Author

cies commented May 3, 2014

Finally found to time to check this one. All seems to work fine, and the error has gone.

@snoyberg snoyberg closed this as completed May 4, 2014
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

4 participants