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
First of all this plugin completely rocks... thank you.
I have a complex JSON array that contains the sub-object pasted below, note that it has a value of "watch" for the key "caption".
{"imageId": 558230, "videoId": null, "title": "Shinola", "caption": "watch", "size": [1416, 2048]}
In FireFox (47.0.1), calling ko.mapping.fromJS(), fails at objectLookup() because there is a built-in watch() function on Object.prototype:
var bucket = buckets[bucketKey];
If bucketKey == 'watch', you get back the watch() function (!)
Working on a fix (I posted one earlier that stupidly replaced the Object.prototype... not good if the key is, say "is".... )
The text was updated successfully, but these errors were encountered:
Fix for issue 215: SteveSanderson#215 check that lookup key doesn't s…
917ed96
…tep on Object.prototype
No branches or pull requests
First of all this plugin completely rocks... thank you.
I have a complex JSON array that contains the sub-object pasted below, note that it has a value of "watch" for the key "caption".
{"imageId": 558230, "videoId": null, "title": "Shinola", "caption": "watch", "size": [1416, 2048]}
In FireFox (47.0.1), calling ko.mapping.fromJS(), fails at objectLookup() because there is a built-in watch() function on Object.prototype:
var bucket = buckets[bucketKey];
If bucketKey == 'watch', you get back the watch() function (!)
Working on a fix (I posted one earlier that stupidly replaced the Object.prototype... not good if the key is, say "is".... )
The text was updated successfully, but these errors were encountered: