mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 21:24:41 +08:00
Convert all Ajax calls to use Discourse.ajax()
This commit is contained in:
@ -28,7 +28,7 @@ Discourse.GithubCommit.reopenClass({
|
||||
findAll: function() {
|
||||
var result;
|
||||
result = Em.A();
|
||||
$.ajax( "https://api.github.com/repos/discourse/discourse/commits?callback=callback", {
|
||||
Discourse.ajax( "https://api.github.com/repos/discourse/discourse/commits?callback=callback", {
|
||||
dataType: 'jsonp',
|
||||
type: 'get',
|
||||
data: { per_page: 25 },
|
||||
|
Reference in New Issue
Block a user