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

Xml http request support #251

Merged
merged 7 commits into from
Nov 27, 2017
Merged

Xml http request support #251

merged 7 commits into from
Nov 27, 2017

Conversation

johnnymast
Copy link
Contributor

Hello Here,

I did removed the dependency on for the web environment. This is can be linked to issue #186.

Copy link
Member

@kirsle kirsle left a comment

Choose a reason for hiding this comment

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

Thanks for this!

if typeof(onError) is "function"
onError.call undefined, textStatus, loadCount

self = @
Copy link
Member

Choose a reason for hiding this comment

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

In CoffeeScript, you can avoid needing to do self = @ by using the wide arrow operator for the nested functions (e.g. on line 399, xhr.onreadystatechange = () =>). More information here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kirsle thanks for the review i will make my changes now.

@kirsle kirsle merged commit 64e7f55 into aichaos:master Nov 27, 2017
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

Successfully merging this pull request may close these issues.

2 participants