Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

illegal character #test { #2

Open
oivinds opened this issue May 14, 2012 · 4 comments
Open

illegal character #test { #2

oivinds opened this issue May 14, 2012 · 4 comments

Comments

@oivinds
Copy link

oivinds commented May 14, 2012

I unzipped your files to my local webserver, and just ran the index file over localhost with latest firefox on windows 7. The examples works the first time when run, but on refresh of the page i get this error in the console:

illegal character
[Break On This Error]

test {

test.css (line 1)
illegal character
[Break On This Error]

test {

test.css (line 1)
illegal character
[Break On This Error]

test {

test2.css (line 1)
illegal character
[Break On This Error]

test {

test.css (line 1)
illegal character
[Break On This Error]

test {

test.css (line 1)
syntax error
[Break On This Error]

.ui-helper-hidden { display: none; }

@samuelvogel
Copy link
Member

So you did run it through your webserver (http:) and not a direct file: URL?

@devilankur18
Copy link

I am getting similar error. I think its intrepretting the css file as a javacript file.

@oivinds
Copy link
Author

oivinds commented May 25, 2012

Yes i did, a local webserver but still.

Den 18. mai 2012 kl. 18.39 skrev Samuel Vogel:

So you did run it through your webserver (http:) and not a direct file: URL?


Reply to this email directly or view it on GitHub:
#2 (comment)

@danse
Copy link

danse commented Mar 5, 2013

This is because the style is included as a script (css.js line 86). This is no more needed now for the most modern browsers, since the link elements can trigger onload.

See also http://stackoverflow.com/a/13610128/393758

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

No branches or pull requests

4 participants