Created
February 7, 2016 17:23
-
-
Save piperswe/015d252842dba175c0bd to your computer and use it in GitHub Desktop.
emberjs.com "LOADING DATA FROM A SERVER" example modification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.ApplicationRoute = Ember.Route.extend({ | |
model: function() { | |
return Ember.$.getJSON('https://api.github.com/repos/emberjs/ember.js/pulls?page=1&per_page=3'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment