Fix ES6 syntax in models.js
This broke the tests and the minification / update process on latest/pull.glowing-bear.org
This commit is contained in:
parent
3f393a62ab
commit
85dc498fdd
@ -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…
Reference in New Issue
Block a user