Merge branch 'next-release'

This commit is contained in:
Jeff Parsons 2016-12-27 14:41:53 -08:00
commit 31d634eb72
28 changed files with 652 additions and 509 deletions

View file

@ -1,5 +1,5 @@
Shared Sources
===
==============
This folder contains a mix of shared code, with some files used only by Node (server) modules,
some used only by Browser (client) modules, and others used by both.
@ -8,7 +8,7 @@ At the moment, only a few files are completely agnostic; eg: [strlib.js](strlib.
One give-away is that neither contain references to any globals (although references to each other
would be fine).
**netlib.js** is appropriate only for Node modules, because it contains code that relies on Node's
[netlib.js](netlib.js) is appropriate only for Node modules, because it contains code that relies on Node's
global *Buffer* object, as indicated by:
/* global Buffer: false */

View file

@ -1081,7 +1081,7 @@ if (!Array.prototype.indexOf) {
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray
*/
if (!Array.isArray) {
Array.isArray = function (arg) {
Array.isArray = function(arg) {
return Object.prototype.toString.call(arg) === '[object Array]';
};
}

View file

@ -34,6 +34,6 @@
var socket = io.connect();
// if we get an "info" emit from the socket server then console.log the data we receive
socket.on('info', function (data) {
socket.on('info', function(data) {
console.log(data);
});