fix #36
This commit is contained in:
parent
65f572556a
commit
cfca163597
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue