From cfca1635979396cb094d5cd31c823f69fc81c043 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 17 Jul 2014 01:17:57 -0600 Subject: [PATCH] fix #36 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 189855a..099a76b 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ I don't think I can prevent the `process.nextTick()` that `EventEmitter` calls. options = { listeners: { names: function (root, nodeNamesArray) { - nodeNames.sort(function (a, b) { + nodeNamesArray.sort(function (a, b) { if (a > b) return 1; if (a < b) return -1; return 0;