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

Issue loading when compress_js is on? #42

Open
Mark-H opened this issue Jan 26, 2015 · 0 comments
Open

Issue loading when compress_js is on? #42

Mark-H opened this issue Jan 26, 2015 · 0 comments

Comments

@Mark-H
Copy link

Mark-H commented Jan 26, 2015

Hiya @danyaPostfactum!

It seems that in some installs, the latest version (1.5.0) of Ace can fail to load the syntax definitions when javascript compression is on. It somehow gets the URL wrong which results in a 404 and no syntax highlighting.

Failed to load resource: the server responded with a status of 404 (Not Found)
/manager/mode-html.js
Failed to load resource: the server responded with a status of 404 (Not Found)
/manager/mode-html.js

This happened on a client site using ContentBlocks. It's possible the difference in instantiating Ace in contentblocks is the problem, as that doesn't use extjs, but simply calls ace.edit. It only happens when the Ace package is installed, and not when using the locally included ace assets.

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