knockout.mapping icon indicating copy to clipboard operation
knockout.mapping copied to clipboard

Array order modified when specifying 'key' function

Open antch opened this issue 11 years ago • 0 comments

When specifying a key function in the mapping config, the array order may be modified (depending on the lexographical order of the keys). I am assuming that this is an unintended side effect. It looks like this line is the cause:

knockout.mapping.js#L571

If it's unclear you can see the behavior here: fiddle

antch avatar Jan 06 '14 14:01 antch