Make the message view's `render` method async
So that we first render dynamic content (e.g. images) before inserting it into the chat. Also, add the `show_images_inline` setting (which is the cause of this whole change). Updated tests to handle this new change and start using async/await instead of promise callbacks.
Showing
This diff is collapsed.
... | ... | @@ -40,7 +40,7 @@ |
"awesomplete-avoid-xss": "^1.1.2", | ||
"babel-loader": "^8.0.0-beta.3", | ||
"backbone": "1.3.3", | ||
"backbone.browserStorage": "0.0.3", | ||
"backbone.browserStorage": "jcbrand/Backbone.browserStorage#78e4a58f7cee10cad6af4fd5f3213331a396aa5a", | ||
"backbone.nativeview": "^0.3.3", | ||
"backbone.overview": "1.0.2", | ||
"backbone.vdomview": "1.0.1", | ||
... | ... |
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment