Skip to content
This repository has been archived by the owner on Aug 24, 2018. It is now read-only.

Commit

Permalink
Update WebSocket.js
Browse files Browse the repository at this point in the history
  • Loading branch information
telepenin committed Sep 8, 2014
1 parent 7bc1c71 commit 18a0fd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WebSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ Ext.define('Ext.ux.WebSocket', {
constructor: function (cfg) {
var me = this;

me.messageQueue = (cfg.messageQueue || []).slice();

// Raises an error if no url is given
if (Ext.isEmpty(cfg)) {
Ext.Error.raise('URL for the websocket is required!');
Expand Down

0 comments on commit 18a0fd1

Please sign in to comment.