I'm new to DataTables due to new requirements of a project. I've started to learn it, but I'm confused about the inconsistency between the official site examples and the real usages.
Specifically, I wonder why the name of the options when initialize datatables could be always different between the official examples and practical use. For example, in official guides, initializing table with static data is demonstrated as follow:
aaData is used for jQuery DataTables 1.9. New camelCase naming convention
data is used in jQuery DataTables 1.10+. Both are supported in jQuery DataTables 1.10+ to provide backward compatibility.
See Converting parameter names for 1.10 for more information.