mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
Correct the last few test failures in the 1.9.0 branch
This commit is contained in:
parent
3e8d8bf90d
commit
331bba4b6d
3 changed files with 17 additions and 5 deletions
|
@ -16,7 +16,7 @@ function response(code, obj) {
|
|||
}
|
||||
|
||||
function success() {
|
||||
return response();
|
||||
return response({ success: true });
|
||||
}
|
||||
|
||||
export default function() {
|
||||
|
|
10
vendor/assets/javascripts/development/ember.js
vendored
10
vendor/assets/javascripts/development/ember.js
vendored
|
@ -49586,7 +49586,13 @@ enifed("rsvp/promise",
|
|||
_guidKey: guidKey,
|
||||
|
||||
_onerror: function (reason) {
|
||||
config.trigger('error', reason);
|
||||
config.async(function(promise) {
|
||||
setTimeout(function() {
|
||||
if (promise._onerror) {
|
||||
config['trigger']('error', reason);
|
||||
}
|
||||
}, 0);
|
||||
}, this);
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -50328,4 +50334,4 @@ enifed("rsvp/utils",
|
|||
});
|
||||
requireModule("ember");
|
||||
|
||||
})();
|
||||
})();
|
||||
|
|
10
vendor/assets/javascripts/production/ember.js
vendored
10
vendor/assets/javascripts/production/ember.js
vendored
|
@ -47682,7 +47682,13 @@ enifed("rsvp/promise",
|
|||
_guidKey: guidKey,
|
||||
|
||||
_onerror: function (reason) {
|
||||
config.trigger('error', reason);
|
||||
config.async(function(promise) {
|
||||
setTimeout(function() {
|
||||
if (promise._onerror) {
|
||||
config['trigger']('error', reason);
|
||||
}
|
||||
}, 0);
|
||||
}, this);
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -48424,4 +48430,4 @@ enifed("rsvp/utils",
|
|||
});
|
||||
requireModule("ember");
|
||||
|
||||
})();
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue