davidjbradshaw/iframe-resizer

Uncaught syntax error

Closed this issue · 3 comments

screen shot 2018-01-10 at 4 55 39 pm

I get 'Uncaught syntaxError: Unexpected token <' on iframeResizer.contentWindow.min.js. Is there any formatting issue when saving the min file from git?

@chaitanya1248 how did you solve the problem?

Don't try and run it directly from GitHub would be my guess looking at the @chaitanya1248 post above. If you don't want to host the file yourself, use jsdeliver or cdnjs.

@chaitanya1248 How did you solve this issue ? i am facing the same
Also @davidjbradshaw i didn't understand your last comment, can you please explain it ?

FYI: My parent website is using coffescript and the website inside iFrame is using react