diff --git a/package.js b/package.js index 5d60535..1ef381f 100644 --- a/package.js +++ b/package.js @@ -9,9 +9,10 @@ Package.onUse(function(api) { api.versionsFrom('1.0.2.1'); api.use([ 'coffeescript', - 'meteor-platform', + 'random', + 'templating', 'reactive-var', - 'momentjs:moment@2.9.0' + 'momentjs:moment@2.11.0' ]); api.addFiles([ 'wollardj:timeago.html', diff --git a/wollardj:timeago.coffee b/wollardj:timeago.coffee index 0ad9ed9..b869c23 100644 --- a/wollardj:timeago.coffee +++ b/wollardj:timeago.coffee @@ -35,7 +35,7 @@ Template.registerHelper 'timeagoDurationRaw', (start, end)-> Template.timeago.created = -> - this.uuid = Meteor.uuid() + this.uuid = Random.id() # only setup the interval if it hasn't been done already - we don't want # or expect one timer for every template instance.