(selector, conf)
| 119 | |
| 120 | var minEntriesToShowPagination = 20; |
| 121 | function dtAutoPage(selector, conf) { |
| 122 | if ($(selector.concat(" tr")).length <= minEntriesToShowPagination) { |
| 123 | $.extend(conf, {paging: false}); |
| 124 | } |
| 125 | return $(selector).DataTable(conf); |
| 126 | } |
| 127 | |
| 128 | function renderIntegerWithCommas(data, type) { |
| 129 | if (type !== 'display' && type !== 'filter') { |
no outgoing calls
no test coverage detected