diff --git a/src/Data/Argonaut/Core.js b/src/Data/Argonaut/Core.js index 17f8d01..39a6da5 100644 --- a/src/Data/Argonaut/Core.js +++ b/src/Data/Argonaut/Core.js @@ -37,7 +37,7 @@ exports._foldJson = function (isNull, isBool, isNum, isStr, isArr, isObj, j) { else return isObj(j); }; -function _compare(EQ, GT, LT, a, b) { +exports._compare = function _compare (EQ, GT, LT, a, b) { if (a == null) { if (b == null) return EQ; else return LT; @@ -102,6 +102,4 @@ function _compare(EQ, GT, LT, a, b) { return EQ; } } -} - -exports._compare = _compare; +};