timeago.js
timeago.js copied to clipboard
Handle empty node list
Implementation of the fix suggested in issue #230 :
'Uncaught TypeError: node.getAttribute is not a function when passed an empty node list'
See https://github.com/hustcc/timeago.js/issues/230