chrome-net
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -690,3 +690,3 @@ /** | ||
if (self._timeoutMs) { | ||
self._timeout = setTimeout(self._onTimeout, self.timeoutMs) | ||
self._timeout = setTimeout(self._onTimeout.bind(self), self.timeoutMs) | ||
} | ||
@@ -693,0 +693,0 @@ } |
{ | ||
"name": "chrome-net", | ||
"description": "Use the Node `net` API in Chrome Apps", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -1,5 +0,2 @@ | ||
# chrome-net | ||
[![NPM Version](http://img.shields.io/npm/v/chrome-net.svg)](https://npmjs.org/package/chrome-net) | ||
[![NPM](http://img.shields.io/npm/dm/chrome-net.svg)](https://npmjs.org/package/chrome-net) | ||
[![Gittip](http://img.shields.io/gittip/feross.svg)](https://www.gittip.com/feross/) | ||
# chrome-net [![npm](https://img.shields.io/npm/v/chrome-net.svg)](https://npmjs.org/package/chrome-net) [![downloads](https://img.shields.io/npm/dm/chrome-net.svg)](https://npmjs.org/package/chrome-net) [![gittip](https://img.shields.io/gittip/feross.svg)](https://www.gittip.com/feross/) | ||
@@ -10,3 +7,3 @@ ### Use the Node `net` API in Chrome Apps | ||
Instead of learning the quirks of Chrome's `chrome.socket` API for networking in Chrome Apps just **use the higher-level node API you're familiar with**. Then, compile your code with [browserify](https://github.com/substack/node-browserify) and you're all set! | ||
Instead of learning the quirks of Chrome's `chrome.sockets` API for networking in Chrome Apps just **use the higher-level node API you're familiar with**. Then, compile your code with [browserify](https://github.com/substack/node-browserify) and you're all set! | ||
@@ -23,3 +20,3 @@ This module is used by [webtorrent](https://github.com/feross/webtorrent). | ||
Use node's `net` API, including all parameter list shorthands and variations. | ||
Use node's `net` API, including all parameter list shorthands and variations. | ||
@@ -26,0 +23,0 @@ Example TCP client: |
Sorry, the diff of this file is too big to display
9
209420
6182
72