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

Ajax wrapper #41

Merged
merged 2 commits into from
Dec 13, 2013
Merged

Ajax wrapper #41

merged 2 commits into from
Dec 13, 2013

Conversation

makepanic
Copy link
Owner

  • added $.ajax, $.getJSON wrapper inspired by discourse ajax.
  • added Ember shorthand Em
  • added new Globe trac link

Using the GLOBE.ajax or GLOBE.getJSON returns a RSVP.Promise that calls resolve or reject with Ember.run. This way it won't break on async operations if Ember testing is active.

makepanic added a commit that referenced this pull request Dec 13, 2013
@makepanic makepanic merged commit f0111f4 into master Dec 13, 2013
@makepanic makepanic deleted the ajax-wrapper branch December 13, 2013 22:24
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.

1 participant