From 85dc498fdd79094b5a9c06f2a85da70a794883d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Tue, 21 Jul 2020 13:53:34 +0200 Subject: [PATCH] Fix ES6 syntax in models.js This broke the tests and the minification / update process on latest/pull.glowing-bear.org --- js/models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/models.js b/js/models.js index ddc93ea..d555790 100644 --- a/js/models.js +++ b/js/models.js @@ -19,7 +19,7 @@ models.service('models', ['$rootScope', '$filter', 'bufferResume', function($roo var parseRichText = function(text) { if(!text) { - return [{text}]; + return [{'text': text}]; } var textElements = weeChat.Protocol.rawText2Rich(text),