mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Convert Discourse.Post
to ES6 and use Store model
- Includes acceptance tests for composer (post, edit) - Supports acceptance testing of bootbox
This commit is contained in:
@ -59,7 +59,11 @@ sinon.config = {
|
||||
useFakeServer: false
|
||||
};
|
||||
|
||||
window.assetPath = function() { return null; };
|
||||
window.assetPath = function(url) {
|
||||
if (url.indexOf('defer') === 0) {
|
||||
return "/assets/" + url;
|
||||
}
|
||||
};
|
||||
|
||||
// Stop the message bus so we don't get ajax calls
|
||||
window.MessageBus.stop();
|
||||
|
Reference in New Issue
Block a user