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 TypeError: Object [object Object] has no method 'tmpl' #183

Open
jimmymain opened this issue Aug 9, 2013 · 1 comment
Open

Comments

@jimmymain
Copy link
Contributor

I am getting the below error, but only on some pages.

image

If I inspect the elements in chrome, I see the two links to the necessary dependent script files.
image

If I check the network tab, the two files have been loaded.

My suspicion is that this might be race condition in the loading of the asyc java script files. I am happy to try and fix it myself if you guys have a few pointers?

Thanks
Regards
Craig.

@jimmymain
Copy link
Contributor Author

Hi,

I have commented out the async, and this appears to have solved the problem (which is intermittent anyway).
I think you might need to omit the async loading of the template, or find a way to ensure that the load order is preserved / correct.

Regards
Craig.

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

1 participant