colReorder inconsistent javascript files?
colReorder inconsistent javascript files?

https://cdn.datatables.net/colreorder/1.5.2/js/dataTables.colReorder.min.js
vs https://cdn.datatables.net/colreorder/1.5.2/js/dataTables.colReorder.js
Using unminified version (dataTables.colReorder.js) results an exception in my case:
colReorder.js:177 Uncaught TypeError: Cannot create property '0' on number '2'
at jQuery.fn.init.$.fn.dataTableExt.oApi.fnColReorder (colReorder.js:177)
at jQuery.fn.init.fnColReorder (datatables.js:15014)
Using minified version (dataTables.colReorder.min.js) is fine.
When I manually compress/minify (dataTables.colReorder.js) exception still occurs. So I suspect that release files are inconsistent.
Please confirm do your experience same issues.
It Man.
Answers
Got the difference. In minified version strict mode is skipped. Is it intended?
In such case exception will not be raised on:
171: oSettings.aaSorting[i][0] = aiInvertMapping[oSettings.aaSorting[i][0]];
when oSettings.aaSorting[i] element is an number (in my case it is).
It Man
I'm not seeing that happen in this example.
Could you link to a test case showing the initial error please?
Probably it shouldn't remove `'use strict'; but I think that is just masking something else in this case.
Thanks,
Allan