Skip to content

Commit 57966bf

Browse files
committed
Fix null/undefined issue
1 parent a98c5f2 commit 57966bf

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.psci*
12
bower_components/
23
output/
34

bower.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,9 @@
1616
"dependencies": {
1717
"purescript-maybe": "^0.3.0",
1818
"purescript-functions": "^0.1.0"
19-
}
19+
},
20+
"repository": {
21+
"type": "git",
22+
"url": "git://github.com/paf31/purescript-nullable.git"
23+
}
2024
}

src/Data/Nullable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// module Data.Nullable
55

6-
exports.$$null = null;
6+
exports["null"] = null;
77

88
exports.nullable = function(a, r, f) {
99
return a == null ? r : f(a);

0 commit comments

Comments
 (0)