i18n/src/messenger/webim/js/compiled/thread_log/collections/messages.js
Dmitriy Simushev fb6517dc9f Update plugins message system.
Now arbitrary data can be attached to any message.
2013-06-19 14:17:04 +00:00

9 lines
430 B
JavaScript

/*
Copyright 2005-2013 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License").
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
*/
(function(d,e){d.Collections.Messages=e.Collection.extend({model:d.Models.Message,updateMessages:function(b){for(var c=[],a=0;a<b.length;a++)b[a].message&&c.push(b[a]);0<c.length&&this.add(c)}})})(Mibew,Backbone,_);