Fix ES6 syntax in models.js

This broke the tests and the minification / update process on latest/pull.glowing-bear.org
codeql
Lorenz Hübschle-Schneider 5 years ago committed by GitHub
parent 3f393a62ab
commit 85dc498fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      js/models.js

@ -19,7 +19,7 @@ models.service('models', ['$rootScope', '$filter', 'bufferResume', function($roo
var parseRichText = function(text) { var parseRichText = function(text) {
if(!text) { if(!text) {
return [{text}]; return [{'text': text}];
} }
var textElements = weeChat.Protocol.rawText2Rich(text), var textElements = weeChat.Protocol.rawText2Rich(text),

Loading…
Cancel
Save