rmm5t / jquery-timeago

:clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago").
http://timeago.yarp.com
MIT License
3.82k stars 710 forks source link

remove invalid character from fa locale that result in parsing error in IE #348

Closed ydkn closed 5 years ago

ydkn commented 5 years ago

Hi,

I encountered a problem when loading the fa locale.

There is an invalid character in front of the "//" in the fa locale that results in a parsing error in IE: SCRIPT1014: Invalid character jquery.timeago.fa.js (10,4)

Other browsers are not affected as far as I can tell.

Github is not showing the character on the web so here is a screenshot of the diff:

jquery-timeago-fa-locale-fix-diff
rmm5t commented 5 years ago

Interesting. Thanks for catching this.