This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/socket.io/lib/manager.js Mon Nov 28 10:46:16 2011 -0500 | |
+++ b/socket.io/lib/manager.js Mon Nov 28 10:49:24 2011 -0500 | |
@@ -466,12 +466,13 @@ | |
* @api private | |
*/ | |
-Manager.prototype.onClientDisconnect = function (id, reason) { | |
+Manager.prototype.onClientDisconnect = function (id, reason, local) { | |
for (var name in this.namespaces) { | |
this.namespaces[name].handleDisconnect(id, reason, typeof this.roomClients[id][name] !== 'undefined'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -name '*.php' -type f | while read files | |
do | |
sedtest=$(sed -n '/^/,/$/p' "${files}" | sed -n '/<?php/p') | |
if [ "${sedtest}" ] | |
then | |
echo ${files} |