diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/comb.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/utils/comb.js b/utils/comb.js index dee97c1..9ffcb86 100644 --- a/utils/comb.js +++ b/utils/comb.js @@ -1,15 +1,12 @@ // A set of combine utilities for use with Space.comb() // Note: char1 is this and char2 is other. char1 will go "over" char2 -function add(char1, char2){ +exports.add = function(char1, char2){ if (char1 == '') return char2; else return char1; } -function sub(char1, char2){ +exports.sub = function(char1, char2){ if (char1 == char2) return ''; else return char1; } - -exports.add = add; -exports.sub = sub; |