* 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 )
| 5049 | * @memberof DataTable#oApi |
| 5050 | */ |
| 5051 | function _fnDataSource ( settings ) |
| 5052 | { |
| 5053 | if ( settings.oFeatures.bServerSide ) { |
| 5054 | return 'ssp'; |
| 5055 | } |
| 5056 | else if ( settings.ajax || settings.sAjaxSource ) { |
| 5057 | return 'ajax'; |
| 5058 | } |
| 5059 | return 'dom'; |
| 5060 | } |
| 5061 | |
| 5062 | |
| 5063 | DataTable = function( options ) |
no outgoing calls
no test coverage detected