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

Unexpected token ILLEGAL - multiline problem in polymer.html #504

Closed
teek opened this issue May 15, 2014 · 4 comments
Closed

Unexpected token ILLEGAL - multiline problem in polymer.html #504

teek opened this issue May 15, 2014 · 4 comments
Assignees

Comments

@teek
Copy link

teek commented May 15, 2014

I've just updated today polymer by bower and got an 'Uncaught SyntaxError: Unexpected token ILLEGAL'. I'm actually using polymer in RoR.

Fixed for me in polymer/polymer.html by changing this lines:

<link rel="import" href="layout.html">

<script src="polymer.js"></script>
<!--<link rel="import" href="../polymer-dev/polymer.html">--> 

to this

<link rel="import" href="layout.html"> \
<script src="polymer.js"></'+'script>
@teek teek changed the title Uncaught SyntaxError: Unexpected token ILLEGAL Unexpected token ILLEGAL - multiline problem in polymer.html May 15, 2014
@dfreedm
Copy link
Member

dfreedm commented Aug 12, 2014

I'm confused by this. Do you have some setup that turns html files into javascript? The HTML parser will never spit errors out on the console.

@tjsavage
Copy link
Contributor

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.

@ankurwase
Copy link

hey am still getting this issue.
Uncaught SyntaxError: Unexpected token ILLEGAL polymer.html

@tjsavage
Copy link
Contributor

Hey @ankurwase, what exactly does the file look like that's causing this problem? This doesn't appear like a problem in Polymer. Also - are you using the latest Polymer 1.2.3?

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

No branches or pull requests

4 participants