activity-list
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -8,4 +8,4 @@ 'use strict'; | ||
var noBufferOpts = { highWaterMark: 0, lowWaterMark: 0, objectMode: true }; | ||
var parseIso = require('mout/date/parseIso'); | ||
/** | ||
@@ -26,3 +26,2 @@ * Render an activity stream in an HTMLElement | ||
var activity = rendered.activity; | ||
self.activities.push(activity); | ||
@@ -77,4 +76,4 @@ // determine index | ||
// published date descending | ||
var aPublished = Date.parse(a.published); | ||
var bPublished = Date.parse(b.published); | ||
var aPublished = parseIso(a.published); | ||
var bPublished = parseIso(b.published); | ||
return bPublished - aPublished; | ||
@@ -81,0 +80,0 @@ }; |
{ | ||
"name": "activity-list", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5517
129