animate.css icon indicating copy to clipboard operation
animate.css copied to clipboard

SyntaxError: illegal character animate.min.css:1:0

Open pareshsojitra opened this issue 11 years ago • 5 comments

hi,

i fount illegal character error in animate.min.css "javascript console".

Error : SyntaxError: illegal character animate.min.css:1:0

pareshsojitra avatar May 01 '15 21:05 pareshsojitra

@smpdesignmedia hello, could you post a pen explaining your problem?

procodeing avatar May 01 '15 21:05 procodeing

Chrome reports Uncaught SyntaxError: Unexpected token ILLEGAL in the console when using animate.css 3.4.0 via cdnjs. The offending line is @charset "UTF-8";/*!

I have tried the example: <h1 class="animated infinite bounce">Example</h1> and nothing seems to happen. Aha, made a silly mistake and used a script tag instead of link for some reason :P

polarathene avatar Aug 23 '15 17:08 polarathene

oh, its probibly mad because of the non seperation of the comment and the first line

procodeing avatar Aug 25 '15 00:08 procodeing

@procodeing I thought that at first, but turns out I was too tired and used a script tag instead of a link tag. @smpdesignmedia probably did the same?

polarathene avatar Aug 25 '15 00:08 polarathene

probably, plus, it's not that big of a deal at all

procodeing avatar Aug 25 '15 00:08 procodeing