Is it expected that a camelCase option supersedes one in Hungarian case?

Is it expected that a camelCase option supersedes one in Hungarian case?

oleonardoleonard Posts: 6Questions: 2Answers: 0

Link to test case: https://jsfiddle.net/ute7byc2/
Debugger code (debug.datatables.net): ihepab
Error messages shown: None
Description of problem:
I'm working with a project that has quite a bit of legacy code and I'm testing an upgrade of DataTables from v1.10.x to v1.13.x. I'm finding that if our default options are defined in camelCase (e.g. "dom") and the page uses Hungarian (e.g. "sDom") the default is used instead of the redefined option.

Is this an expected difference between 1.10.x and 1.13.x?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Answer ✓

    There was a bug in the early 1.10 releases which didn't correctly do the conversion for the defaults. So I suspect that might be what you are seeing.

    I'd strongly encourage you to update your page to just use camelCase. Mixing the two is not something we test for and there will come a time when I remove support for the old notation. Not any time soon, but one day. Only the camelCase notation is documented now.

    Allan

  • oleonardoleonard Posts: 6Questions: 2Answers: 0

    Thanks very much!

Sign In or Register to comment.