Skip to content

Commit f3cfca6

Browse files
authored
Upgraded jQuery timeago plugin to 1.6.7.
1 parent 00398fa commit f3cfca6

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222

2323
* Changes the pie chart with top browsers to a table.
2424

25+
* Upgrades [jQuery timeago plugin](https://timeago.yarp.com/) from version
26+
1.5.3 to 1.6.7.
27+
2528
## 1.6.3
2629

2730
### Enhancements

request/static/request/js/jquery.timeago.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
44
*
55
* @name timeago
6-
* @version 1.5.3
7-
* @requires jQuery v1.2.3+
6+
* @version 1.6.7
7+
* @requires jQuery >=1.5.0 <4.0
88
* @author Ryan McGeary
99
* @license MIT License - http://www.opensource.org/licenses/mit-license.php
1010
*
1111
* For usage and examples, visit:
1212
* http://timeago.yarp.com/
1313
*
14-
* Copyright (c) 2008-2015, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org)
14+
* Copyright (c) 2008-2019, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org)
1515
*/
1616

1717
(function (factory) {
@@ -51,7 +51,7 @@
5151
prefixFromNow: null,
5252
suffixAgo: "ago",
5353
suffixFromNow: "from now",
54-
inPast: 'any moment now',
54+
inPast: "any moment now",
5555
seconds: "less than a minute",
5656
minute: "about a minute",
5757
minutes: "%d minutes",
@@ -140,6 +140,7 @@
140140
// functions are called with context of a single element
141141
var functions = {
142142
init: function() {
143+
functions.dispose.call(this);
143144
var refresh_el = $.proxy(refresh, this);
144145
refresh_el();
145146
var $s = $t.settings;

0 commit comments

Comments
 (0)