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

AMD support for locales #307

Closed singingwolfboy closed 6 years ago

singingwolfboy commented 8 years ago

This makes the locales files compatible with loading jQuery and jQuery.timeago via an AMD loader, such as require.js. Note that it may be easier to review this pull request by adding ?w=1 to the URL on GitHub, since that will cause GitHub to not display lines in the diff that only change whitespace.

Also note that these files all declare dependencies on the "jquery" module and the "jquery.timeago" module. I'm not sure if "jquery.timeago" is the right name to use, or if I should use a different one.

rmm5t commented 6 years ago

Sorry I never merged this 😞, but this was later resolved by #319