Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

string bsearch fixed

  • Loading branch information...
commit 9b58392f9fc0bab951c1909680ce8f659bbf9e99 1 parent c11353f
@danstocker danstocker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/index/order.js
View
2  src/index/order.js
@@ -51,10 +51,10 @@ jOrder.order = function ($constants, $logging, $signature) {
// tests an actual key value against expected
function equal(actual, expected) {
switch (self.options.type) {
- case $constants.string:
case $constants.text:
return actual.match(new RegExp('^' + expected));
default:
+ case $constants.string:
case $constants.number:
return actual === expected;
}
Please sign in to comment.
Something went wrong with that request. Please try again.