addywaddy/jquery.tagcloud.js — pull request #11 by godspeed1715 (2014-01-10 06:22:23+00:00)
Title: Major revision

I would like to contribute, and have addressed a few pull request, and added a few features I felt were needed. I forked a version at https://github.com/godspeed1715/jquery.tagcloud.js.

Updates:
Added support for JSON, which added two new options; "bJson" and "oData', "bJson" is a Boolean option that is either true or false, and the "oData" is expecting an object, example [{"weight":"","value":""}]. Removed the need to specify the "" tag in the jQuery selector, which improves performance with .find(); however,the option "sSelector" was added which allows you to select the "" option if desired, or to specify any other element. In addition, the pull request for rel vs data-weight was resolved by adding the "sWeightSelector" which will change allow you to specify which to use; data-weight="" or rel="". All the options are being verify against the correct type, and defaults are set within the "oOptions" variable.