mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
REFACTOR: Remove Discourse.Ajax
This commit is contained in:
parent
56f07529bb
commit
b8125b3512
111 changed files with 567 additions and 549 deletions
|
@ -245,6 +245,7 @@ define("discourse/initializers/login-method-#{hash}",
|
|||
name: "login-method-#{hash}",
|
||||
after: "inject-objects",
|
||||
initialize: function() {
|
||||
if (Ember.testing) { return; }
|
||||
module.register(#{auth_json});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue