mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
Update code so Ember 2.3 can have more tests passing
This commit is contained in:
@ -6,8 +6,9 @@ import { buildResolver } from 'discourse-common/resolver';
|
||||
|
||||
export default function() {
|
||||
const resolver = buildResolver('discourse').create();
|
||||
|
||||
return Store.create({
|
||||
container: {
|
||||
register: {
|
||||
lookup(type) {
|
||||
if (type === "adapter:rest") {
|
||||
this._restAdapter = this._restAdapter || RestAdapter.create({ container: this });
|
||||
|
Reference in New Issue
Block a user