Skip to content

jQuery_pivot Supporting Cast

Augustus Yuan edited this page Jul 29, 2014 · 3 revisions

Tools also used in the demo:

Currency/Numeric Formatting (accounting.js)

Accounting.js allows us to store the values in the CSV/JSON data file without commas or currency symbols, but still display them in a human readable way.

accounting.formatMoney('12345.98')   // => '$12,345.98'
accounting.formatNumber('12345.98')  // => '12,346'

Table Formatting (DataTables)

DataTables is a great jQuery plugin that allows you to make interactive tables from standard HTML. Learn more about our usage of DataTables here.

Date Parsing (js-iso8601)

ISO8601(2012-04-19) dates are still not handled properly by Safari 5.1 or IE8. This library allows us to reliably use ISO8601 dates in the CSV/JSON data file. This library add ISO8601 support to Date.parse for those browsers that do not support it natively.