I'm Dreaming of White Spaces
This commit is contained in:
parent
f4f6181923
commit
772bd39543
9 changed files with 27 additions and 27 deletions
|
|
@ -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]';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue