Comparing version 1.16.0 to 1.16.1
16
net.js
// Generated by CoffeeScript 1.7.0 | ||
var Connection, HttpConnection, Promise, TcpConnection, ar, aropt, cursors, err, events, mkAtom, mkErr, net, protoProtocol, protoQueryType, protoResponseType, protoVersion, protodef, r, util, varar, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__slice = [].slice; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
@@ -510,11 +509,4 @@ net = require('net'); | ||
this.rawSocket.on('error', (function(_this) { | ||
return function() { | ||
var args; | ||
args = 1 <= arguments.length ? __slice.call(arguments, 0) : []; | ||
if (_this.isOpen()) { | ||
_this.close({ | ||
noreplyWait: false | ||
}); | ||
} | ||
return _this.emit('close'); | ||
return function(err) { | ||
return _this.emit('error', err); | ||
}; | ||
@@ -616,3 +608,3 @@ })(this)); | ||
xhr = new XMLHttpRequest; | ||
xhr.open("GET", url + "open-new-connection", true); | ||
xhr.open("POST", url + "open-new-connection", true); | ||
xhr.responseType = "arraybuffer"; | ||
@@ -619,0 +611,0 @@ xhr.onreadystatechange = (function(_this) { |
{ "name" : "rethinkdb" | ||
, "version" : "1.16.0" | ||
, "version" : "1.16.1" | ||
, "main" : "rethinkdb" | ||
@@ -4,0 +4,0 @@ , "description" : "This package provides the JavaScript driver library for the RethinkDB database server for use either from node or your web-browser." |
179342
5228