Skip to content

hugesuccess/livestamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

livestamp for Meteor.js

Livestamp.js, a simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js, packaged for Meteor.

Installation

mrt add livestamp-hs

Usage

Just like the Livestamp docs tell you:

<span data-livestamp="2013-12-24T08:14:42.345Z"></span>

Or you can use the handlebars helper, where timestamp is a timestamp from your database or template helper:

{{livestamp timestamp}}

Notes

Use the .livestamp CSS selector to style your markup.

About

Livestamp packaged for Meteor.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published