From acfaf2d967c06faf283d734bcba42af668a89b44 Mon Sep 17 00:00:00 2001 From: Vladimir Mitnick Date: Fri, 12 Sep 2014 10:52:26 +0400 Subject: return true when transport.send returns undefined --- priv/bullet.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'priv/bullet.js') diff --git a/priv/bullet.js b/priv/bullet.js index a838f93..75db156 100644 --- a/priv/bullet.js +++ b/priv/bullet.js @@ -321,7 +321,8 @@ }; this.send = function(data){ if (transport){ - return transport.send(data); + var ret = transport.send(data); + return (ret === undefined) || ret; } else{ return false; } -- cgit v1.2.3