From 67ce5367cadd21121b29b2446edb16acf8ebfa42 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Wed, 16 Sep 2020 11:22:35 +0200 Subject: Import libjs-jquery-timeago_1.6.7.orig.tar.gz [dgit import orig libjs-jquery-timeago_1.6.7.orig.tar.gz] --- .github/no-response.yml | 13 + .gitignore | 4 + CNAME | 1 + CONTRIBUTING.md | 37 ++ LICENSE.txt | 22 + README.markdown | 132 ++++++ Rakefile | 50 +++ bower.json | 12 + clock.png | Bin 0 -> 5530 bytes composer.json | 32 ++ contrib/timeago-koext.js | 14 + index.html | 224 +++++++++++ jquery.timeago.js | 232 +++++++++++ locales/README.md | 27 ++ locales/jquery.timeago.af.js | 30 ++ locales/jquery.timeago.am.js | 30 ++ locales/jquery.timeago.ar.js | 104 +++++ locales/jquery.timeago.az-short.js | 30 ++ locales/jquery.timeago.az.js | 30 ++ locales/jquery.timeago.be.js | 43 ++ locales/jquery.timeago.bg.js | 28 ++ locales/jquery.timeago.bs.js | 55 +++ locales/jquery.timeago.ca.js | 30 ++ locales/jquery.timeago.cs.js | 34 ++ locales/jquery.timeago.cy.js | 30 ++ locales/jquery.timeago.da.js | 28 ++ locales/jquery.timeago.de-short.js | 30 ++ locales/jquery.timeago.de.js | 28 ++ locales/jquery.timeago.dv.js | 32 ++ locales/jquery.timeago.el.js | 28 ++ locales/jquery.timeago.en-short.js | 30 ++ locales/jquery.timeago.en.js | 30 ++ locales/jquery.timeago.es-short.js | 31 ++ locales/jquery.timeago.es.js | 29 ++ locales/jquery.timeago.et.js | 28 ++ locales/jquery.timeago.eu.js | 28 ++ locales/jquery.timeago.fa-short.js | 30 ++ locales/jquery.timeago.fa.js | 32 ++ locales/jquery.timeago.fi.js | 38 ++ locales/jquery.timeago.fr-short.js | 26 ++ locales/jquery.timeago.fr.js | 27 ++ locales/jquery.timeago.gl.js | 28 ++ locales/jquery.timeago.he.js | 26 ++ locales/jquery.timeago.hr.js | 54 +++ locales/jquery.timeago.hu.js | 28 ++ locales/jquery.timeago.hy.js | 28 ++ locales/jquery.timeago.id.js | 29 ++ locales/jquery.timeago.is.js | 29 ++ locales/jquery.timeago.it-short.js | 30 ++ locales/jquery.timeago.it.js | 28 ++ locales/jquery.timeago.ja.js | 29 ++ locales/jquery.timeago.jv.js | 28 ++ locales/jquery.timeago.ko.js | 31 ++ locales/jquery.timeago.ky.js | 42 ++ locales/jquery.timeago.lt.js | 30 ++ locales/jquery.timeago.lv.js | 30 ++ locales/jquery.timeago.mk.js | 30 ++ locales/jquery.timeago.nl.js | 30 ++ locales/jquery.timeago.no.js | 28 ++ locales/jquery.timeago.pl.js | 39 ++ locales/jquery.timeago.pt-br-short.js | 30 ++ locales/jquery.timeago.pt-br.js | 28 ++ locales/jquery.timeago.pt-short.js | 30 ++ locales/jquery.timeago.pt.js | 26 ++ locales/jquery.timeago.ro.js | 29 ++ locales/jquery.timeago.rs.js | 54 +++ locales/jquery.timeago.ru.js | 43 ++ locales/jquery.timeago.rw.js | 30 ++ locales/jquery.timeago.si.js | 28 ++ locales/jquery.timeago.sk.js | 34 ++ locales/jquery.timeago.sl.js | 46 +++ locales/jquery.timeago.sq.js | 26 ++ locales/jquery.timeago.sr.js | 54 +++ locales/jquery.timeago.sv.js | 28 ++ locales/jquery.timeago.th.js | 30 ++ locales/jquery.timeago.tr-short.js | 30 ++ locales/jquery.timeago.tr.js | 26 ++ locales/jquery.timeago.uk.js | 42 ++ locales/jquery.timeago.ur.js | 30 ++ locales/jquery.timeago.uz.js | 29 ++ locales/jquery.timeago.vi.js | 30 ++ locales/jquery.timeago.zh-CN.js | 31 ++ locales/jquery.timeago.zh-TW.js | 30 ++ package.json | 37 ++ test/index.html | 732 ++++++++++++++++++++++++++++++++++ test/test_helpers.js | 215 ++++++++++ timeago.jquery.json | 30 ++ 87 files changed, 4094 insertions(+) create mode 100644 .github/no-response.yml create mode 100644 .gitignore create mode 100644 CNAME create mode 100644 CONTRIBUTING.md create mode 100644 LICENSE.txt create mode 100644 README.markdown create mode 100644 Rakefile create mode 100644 bower.json create mode 100644 clock.png create mode 100644 composer.json create mode 100644 contrib/timeago-koext.js create mode 100644 index.html create mode 100644 jquery.timeago.js create mode 100644 locales/README.md create mode 100644 locales/jquery.timeago.af.js create mode 100644 locales/jquery.timeago.am.js create mode 100644 locales/jquery.timeago.ar.js create mode 100644 locales/jquery.timeago.az-short.js create mode 100644 locales/jquery.timeago.az.js create mode 100644 locales/jquery.timeago.be.js create mode 100644 locales/jquery.timeago.bg.js create mode 100644 locales/jquery.timeago.bs.js create mode 100644 locales/jquery.timeago.ca.js create mode 100644 locales/jquery.timeago.cs.js create mode 100644 locales/jquery.timeago.cy.js create mode 100644 locales/jquery.timeago.da.js create mode 100644 locales/jquery.timeago.de-short.js create mode 100644 locales/jquery.timeago.de.js create mode 100644 locales/jquery.timeago.dv.js create mode 100644 locales/jquery.timeago.el.js create mode 100644 locales/jquery.timeago.en-short.js create mode 100644 locales/jquery.timeago.en.js create mode 100644 locales/jquery.timeago.es-short.js create mode 100644 locales/jquery.timeago.es.js create mode 100644 locales/jquery.timeago.et.js create mode 100644 locales/jquery.timeago.eu.js create mode 100644 locales/jquery.timeago.fa-short.js create mode 100644 locales/jquery.timeago.fa.js create mode 100644 locales/jquery.timeago.fi.js create mode 100644 locales/jquery.timeago.fr-short.js create mode 100644 locales/jquery.timeago.fr.js create mode 100644 locales/jquery.timeago.gl.js create mode 100644 locales/jquery.timeago.he.js create mode 100644 locales/jquery.timeago.hr.js create mode 100644 locales/jquery.timeago.hu.js create mode 100644 locales/jquery.timeago.hy.js create mode 100644 locales/jquery.timeago.id.js create mode 100644 locales/jquery.timeago.is.js create mode 100644 locales/jquery.timeago.it-short.js create mode 100644 locales/jquery.timeago.it.js create mode 100644 locales/jquery.timeago.ja.js create mode 100644 locales/jquery.timeago.jv.js create mode 100644 locales/jquery.timeago.ko.js create mode 100644 locales/jquery.timeago.ky.js create mode 100644 locales/jquery.timeago.lt.js create mode 100644 locales/jquery.timeago.lv.js create mode 100644 locales/jquery.timeago.mk.js create mode 100644 locales/jquery.timeago.nl.js create mode 100644 locales/jquery.timeago.no.js create mode 100644 locales/jquery.timeago.pl.js create mode 100644 locales/jquery.timeago.pt-br-short.js create mode 100644 locales/jquery.timeago.pt-br.js create mode 100644 locales/jquery.timeago.pt-short.js create mode 100644 locales/jquery.timeago.pt.js create mode 100644 locales/jquery.timeago.ro.js create mode 100644 locales/jquery.timeago.rs.js create mode 100644 locales/jquery.timeago.ru.js create mode 100644 locales/jquery.timeago.rw.js create mode 100644 locales/jquery.timeago.si.js create mode 100644 locales/jquery.timeago.sk.js create mode 100644 locales/jquery.timeago.sl.js create mode 100644 locales/jquery.timeago.sq.js create mode 100644 locales/jquery.timeago.sr.js create mode 100644 locales/jquery.timeago.sv.js create mode 100644 locales/jquery.timeago.th.js create mode 100644 locales/jquery.timeago.tr-short.js create mode 100644 locales/jquery.timeago.tr.js create mode 100644 locales/jquery.timeago.uk.js create mode 100644 locales/jquery.timeago.ur.js create mode 100755 locales/jquery.timeago.uz.js create mode 100644 locales/jquery.timeago.vi.js create mode 100644 locales/jquery.timeago.zh-CN.js create mode 100644 locales/jquery.timeago.zh-TW.js create mode 100644 package.json create mode 100644 test/index.html create mode 100644 test/test_helpers.js create mode 100644 timeago.jquery.json diff --git a/.github/no-response.yml b/.github/no-response.yml new file mode 100644 index 0000000..7e40c03 --- /dev/null +++ b/.github/no-response.yml @@ -0,0 +1,13 @@ +# Configuration for probot-no-response - https://github.com/probot/no-response + +# Number of days of inactivity before an Issue is closed for lack of response +daysUntilClose: 7 +# Label requiring a response +responseRequiredLabel: more-information-needed +# Comment to post when closing an Issue for lack of response. Set to `false` to disable +closeComment: > + This issue has been automatically closed because there has been no response + to our request for more information from the original author. With only the + information that is currently in the issue, we don't have enough information + to take action. Please reach out if you have or find the answers we need so + that we can investigate further. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..db54837 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.bundle +vendor/ruby +public +node_modules/ diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..0e83d43 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +timeago.yarp.com diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..accb164 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,37 @@ +## Want to Contribute? + +Found an issue? Thank you for helping out by reporting it. Please describe the +problem, what you tried, what you expected to see, and what you actually +experienced. Please [re-read the documentation](http://timeago.yarp.com/) to +make sure you're using the API as designed, but if you found something that's +broken, we really appreciate your efforts in letting us know. Bonus points for +submitting a failing test case to help us diagnose and potentially fix the +issue. + +## Want to Contribute? + +Awesome. We love help, but before getting started, please read: + +**[Don't "Push" Your Pull Requests](http://www.igvita.com/2011/12/19/dont-push-your-pull-requests/)** + +## Ready for a Pull-Request? + +1. Fork the repo. + +2. Run the tests. Run `rake` or open `open test/index.html`. We only take pull + requests with passing tests, and it's great to know that you started from a + clean slate. + +3. Add a test for your change. Only refactoring and documentation change + require no new tests. If you are adding functionality or fixing a bug, we + need a test! + +4. Make the test pass. + +5. Push to your fork (hopefully this comes from a topical branch) and submit a + pull request. + +At this point you're waiting on us. Please keep in mind that OSS maintainers +are often very busy. We'll do our best to at least comment on issues and +pull-requests as soon as possible, but sometimes life gets in the way. We may +also suggest some changes or improvements or alternatives. diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..4af20e7 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,22 @@ +Copyright (c) 2008-2019 Ryan McGeary + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.markdown b/README.markdown new file mode 100644 index 0000000..0b48e62 --- /dev/null +++ b/README.markdown @@ -0,0 +1,132 @@ +# timeago: a jQuery plugin + +[![NPM](https://img.shields.io/npm/v/timeago.svg)](https://www.npmjs.com/package/timeago) +[![Bower](https://img.shields.io/bower/v/jquery-timeago.svg)](http://bower.io/search/?q=jquery-timeago) + +Timeago is a jQuery plugin that makes it easy to support automatically updating +fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago") from ISO 8601 +formatted dates and times embedded in your HTML (à la microformats). + +--- + +**How You Can Help** + +[![Square Cash](http://img.shields.io/badge/square%20cash-$rmm5t-brightgreen.svg)][square] +[![PayPal](http://img.shields.io/badge/paypal-rmm5t-blue.svg)][paypal] +[![Book a Codementor session](http://img.shields.io/badge/codementor-book%20a%20session-orange.svg)][codementor] + +If you like this project, [buy me a coffee][paypal], or [book a session with me][codementor], or donate bitcoin: `1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m` + +[square]: https://cash.me/$rmm5t/5 "Donate to rmm5t for open source!" +[paypal]: https://www.paypal.me/rmm5t/5 "Donate to rmm5t for open source!" +[bitcoin]: bitcoin:1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m?amount=0.01&label=Coffee%20to%20rmm5t%20for%20Open%20Source "Buy rmm5t a coffee for open source!" +[codementor]: https://www.codementor.io/rmm5t?utm_campaign=profile&utm_source=button-rmm5t&utm_medium=shields "Book a session with rmm5t on Codementor!" + +[![Twitter](https://img.shields.io/twitter/follow/rmm5t.svg?style=social)](https://twitter.com/rmm5t) +[![Stack Overflow](https://img.shields.io/stackexchange/stackoverflow/r/8985.svg?style=social)](http://stackoverflow.com/users/8985/ryan-mcgeary) + +## Usage + +First, load jQuery and the plugin: + +```html + + +``` + +Now, let's attach it to your timestamps on DOM ready - put this in the head +section: + +```html + +``` + +This will turn all `