diff options
author | Vladimir Mitnick <[email protected]> | 2014-09-12 10:52:26 +0400 |
---|---|---|
committer | Vladimir Mitnick <[email protected]> | 2014-09-12 10:52:26 +0400 |
commit | acfaf2d967c06faf283d734bcba42af668a89b44 (patch) | |
tree | a7c3af7d8524f9b7d698c7f82f81f3d9e5d029eb /priv/bullet.js | |
parent | 999f02f57c75edf7ddb5ed08b667ac6657418422 (diff) | |
download | bullet-acfaf2d967c06faf283d734bcba42af668a89b44.tar.gz bullet-acfaf2d967c06faf283d734bcba42af668a89b44.tar.bz2 bullet-acfaf2d967c06faf283d734bcba42af668a89b44.zip |
return true when transport.send returns undefined
Diffstat (limited to 'priv/bullet.js')
-rw-r--r-- | priv/bullet.js | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |