timdream/wordcloud2.js — pull request #35 by Fensterbank (2014-09-12 17:48:48+00:00)
Title: Pass array of objects including element attributes

Array of objects can also be passed as list option which makes it possible to add arbitrary attributes to the rendered span elements.

Needed for a project where words represent categories and further details of the categories should be appear on mouse over.
See commit comment for further details.