Skip to content
New issue

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

Do not parse as JSON when window has a truthy 'json' prop #250

Closed
wants to merge 2 commits into from

Conversation

FagnerMartinsBrack
Copy link
Member

Related to #238.

@FagnerMartinsBrack FagnerMartinsBrack added this to the v2.1.3 milestone Jul 31, 2016
@FagnerMartinsBrack FagnerMartinsBrack force-pushed the fix-window-json branch 6 times, most recently from 7be0462 to f35d99d Compare July 31, 2016 09:52
IE 6-8 throws an exception when trying to delete properties from window
@@ -127,7 +127,7 @@

api.set = api;
api.get = function (key) {
return api(key);
return api.call(api, key);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you pass "api" to this, if in "this" it expects window

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not expects window. See #251 (comment).

@FagnerMartinsBrack FagnerMartinsBrack deleted the fix-window-json branch August 26, 2016 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants