From 1bf6f98bde9494d380c1494c0799a86162c7d217 Mon Sep 17 00:00:00 2001 From: David Cormier Date: Mon, 27 Jan 2014 11:14:48 -0500 Subject: [PATCH] Add missing () to constructor --- js/websockets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/websockets.js b/js/websockets.js index 9777a78..8a8ce48 100644 --- a/js/websockets.js +++ b/js/websockets.js @@ -224,7 +224,7 @@ weechat.factory('connection', ['$q', '$rootScope', '$log', '$store', 'handlers', var cbId = getCurrentCallBackId(); callbacks[cbId] = { - time: new Date, + time: new Date(), cb: defer, };