From ae84945b3ffdc2a774d404c4f1706ef937f068bf Mon Sep 17 00:00:00 2001 From: Ryan McGeary Date: Sun, 25 Oct 2009 20:22:09 -0400 Subject: [PATCH] Store the datetime as a jQuery data object instead of re-parsing on every refresh --- index.html | 4 +++- jquery.timeago.js | 22 ++++++++++++++++------ test/index.html | 24 ++++++++++++++++++++++-- test/test_helpers.js | 4 ++-- 4 files changed, 43 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index 9d132a1..cf3a9a7 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,7 @@