Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add missing doc for TiFighter.relatizeDate

  • Loading branch information...
commit 1a9e20b8e25f0cfa7f415236bbd6cb7284544be2 1 parent c586b20
@itspriddle itspriddle authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 ti-fighter.js
View
6 ti-fighter.js
@@ -449,6 +449,12 @@ var TiFighter = (function(window) {
// --------------------------------------------------------------------
+ /**
+ * Converts a date into a "relative" notation. Eg: 1 hour ago, 2 days ago, about
+ * 5 minutes ago. Based on GitHub's jQuery Relatize Date
+ * (https://github.com/github/jquery-relatize_date).
+ */
+
TiFighter.relatizeDate = function(date, includeTime) {
function distanceOfTimeInWords(fromTime, toTime, includeTime) {

0 comments on commit 1a9e20b

Please sign in to comment.
Something went wrong with that request. Please try again.