Closed Redmega closed 4 years ago
Thanks @Redmega. We're migrating away from this repo, but I opened and merged companion PR on my fork, which we are using to publish. Look for this in 3.0.0 and 2.3.1.
You might want to hold off on that @dmurvihill
I added a proper test and it's not giving the expected result. I need to look into why.
Do you want me to open a PR to that fork and move discussion there?
Yes, go ahead and reopen over there if you don't mind.
I've been looking into this; I think the priorityComparator
method (utils.js:64
) is incomplete. It seems to be interested only in priorities of type null
, string
, and number
, ignoring boolean and object values in spite of the Firebase docs.
There may (not sure) also be a problem with Slice.prototype._inRange
(slice.js:85
) which might be doing an exclusive rather than an inclusive range.
Resolves #166