diff --git a/README.markdown b/README.markdown index 66e767f8..3969b064 100644 --- a/README.markdown +++ b/README.markdown @@ -15,7 +15,7 @@ Now, let's attach it to your timestamps on DOM ready:
       jQuery(document).ready(function() {
-        jQuery('abbr[class*=timeago]').timeago();
+        jQuery("abbr.timeago").timeago();
       });
     
@@ -25,7 +25,7 @@ This will turn all abbr elements with a class of timeago and an ISO 8601 timesta into something like this: - about 1 day ago + about 1 day ago As time passes, the timestamps will automatically update. @@ -41,4 +41,4 @@ As time passes, the timestamps will automatically update. [MIT License](http://www.opensource.org/licenses/mit-license.php) -Copyright (c) 2008-2009, Ryan McGeary (ryanonjavascript -[at]- mcgeary [*dot*] org) +Copyright (c) 2008-2010, Ryan McGeary (ryanonjavascript -[at]- mcgeary [*dot*] org) diff --git a/index.html b/index.html index 88f3d0c3..1d7c0440 100644 --- a/index.html +++ b/index.html @@ -5,12 +5,13 @@ timeago: a jQuery plugin - + - + + @@ -24,7 +24,7 @@

Short term

-

You opened this page sometime before now.

+

You opened this page (you shouldn't see this).

This page was last modified sometime before @@ -66,12 +66,15 @@

Long term

Other formats

-

Date only: (you shouldn't see this).

+

Date only (abbr element): (you shouldn't see this).

+

Date only (time element): .

+

Date only (friendly tooltip): February 26th.

+

Date only (default tooltip): .

Errors

Bad (letters): (this should be displayed).

-

Bad (numbers): (this should be displayed).

+

Bad (numbers): (this should be displayed).

Bad (blank): (this should be displayed).

Bad (missing): (this should be displayed).

@@ -166,82 +169,10 @@

Settings

+