Skip to content

Commit 02c5550

Browse files
authored
Merge pull request #15 from menelaos/fix-ffi
Fix dead code elimination issue with `psc-bundle`
2 parents 576563b + 18b25d6 commit 02c5550

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Data/Argonaut/Core.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ exports._foldJson = function (isNull, isBool, isNum, isStr, isArr, isObj, j) {
3737
else return isObj(j);
3838
};
3939

40-
function _compare(EQ, GT, LT, a, b) {
40+
exports._compare = function _compare (EQ, GT, LT, a, b) {
4141
if (a == null) {
4242
if (b == null) return EQ;
4343
else return LT;
@@ -102,6 +102,4 @@ function _compare(EQ, GT, LT, a, b) {
102102
return EQ;
103103
}
104104
}
105-
}
106-
107-
exports._compare = _compare;
105+
};

0 commit comments

Comments
 (0)