Skip to content

Commit

Permalink
Add missing doc for TiFighter.relatizeDate
Browse files Browse the repository at this point in the history
  • Loading branch information
itspriddle committed Feb 28, 2011
1 parent c586b20 commit 1a9e20b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ti-fighter.js
Expand Up @@ -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) {

Expand Down

0 comments on commit 1a9e20b

Please sign in to comment.