This commit is contained in:
AJ ONeal 2014-07-17 01:17:57 -06:00
parent 65f572556a
commit cfca163597
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ I don't think I can prevent the `process.nextTick()` that `EventEmitter` calls.
options = { options = {
listeners: { listeners: {
names: function (root, nodeNamesArray) { names: function (root, nodeNamesArray) {
nodeNames.sort(function (a, b) { nodeNamesArray.sort(function (a, b) {
if (a > b) return 1; if (a > b) return 1;
if (a < b) return -1; if (a < b) return -1;
return 0; return 0;