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

Booleans only handle strings not "true" Booleans #3

Open
louisvarley opened this issue Jun 25, 2019 · 0 comments
Open

Booleans only handle strings not "true" Booleans #3

louisvarley opened this issue Jun 25, 2019 · 0 comments

Comments

@louisvarley
Copy link

I've forked here

Link

our framework for handling ajax requests sends true booleans from PHP in a dedicated response object.

In my fork the JS checks responses for both booleans as strings "true" as well as true
Unsure if this would be useful to change for people writing their own processor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant