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

jQuery script rendered? #30

Closed
ghost opened this issue Jun 22, 2013 · 3 comments
Closed

jQuery script rendered? #30

ghost opened this issue Jun 22, 2013 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 22, 2013

There is an issue when i try to add jquery file.

Example:

layout.ect

<script src="/js/assets/jquery-1.9.1.min.js"></script>

and in my console is see:

GET /js/assets/jquery.min.map 404 39ms - 56b

in jquery-1.9.1.min.js file there is a declaration on line 2:
//@ sourceMappingURL=jquery.min.map

With Jade template engine i didnt get any 404 errors.
How it come? Do i miss something?

@yuri-karadzhov
Copy link

Do you actually have jquery.min.map file? It seems like you don't.

@baryshev
Copy link
Owner

ECT doesn't affect the code outside of the control tags. By this request browser trying to load source map file for jquery minified script.

@ghost
Copy link
Author

ghost commented Jun 23, 2013

Ok thanks.

Just removed this line.

@ghost ghost closed this as completed Jun 23, 2013
This issue was closed.
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