* Detect the data source being used for the table. Used to simplify the code * a little (ajax) and to make it compress a little smaller. * * @param {object} settings dataTables settings object * @returns {string} Data source * @memberof DataTable#oApi
(settings)
| 6039 | * @memberof DataTable#oApi |
| 6040 | */ |
| 6041 | function _fnDataSource(settings) { |
| 6042 | if (settings.oFeatures.bServerSide) { |
| 6043 | return "ssp" |
| 6044 | } else if (settings.ajax) { |
| 6045 | return "ajax" |
| 6046 | } |
| 6047 | return "dom" |
| 6048 | } |
| 6049 | |
| 6050 | /** |
| 6051 | * Common replacement for language strings |
no outgoing calls
no test coverage detected