We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serialize:false
I've started a test for this here: https://github.com/canjs/can-23/pull/10/files. Will be fixed by #10
The text was updated successfully, but these errors were encountered:
When calling .attr() with no arguments, it internally calls mapHelpers.serialize with the how prop set to 'attr', here:
how
'attr'
The serialize method calls map.forEach, here:
serialize
Inside forEach, the getOwnEnumerableKeys method is called:
forEach
getOwnEnumerableKeys
This eventually runs the version of can.getOwnEnumerableKeys from can-map-define.
can.getOwnEnumerableKeys
On line 444, above, calling keysForDefinition removes any attribute defined with serialize:false:
keysForDefinition
Sorry, something went wrong.
@justinbmeyer Maybe we can make a canReflect symbol for keysForDefinition to replace the one in the last screenshot?
Support legacy .attr() and serialize behavior
06c8c03
This is for can-23 legacy .attr() compatibility. See canjs/can-23#11
No branches or pull requests
I've started a test for this here: https://github.com/canjs/can-23/pull/10/files. Will be fixed by #10
The text was updated successfully, but these errors were encountered: