Skip to content

Commit

Permalink
lib/base64: more natural exports
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeetienne committed Sep 6, 2010
1 parent d3981f8 commit 7dda12a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/base64.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,10 @@ var base64 = {
}

// exports public functions
exports.encode = base64.encode;
exports.decode = base64.decode;
exports.encode_safe = base64.encode_safe;
exports.decode_safe = base64.decode_safe;

// obsolete API - backward compatiblity
exports.base64 = base64;

0 comments on commit 7dda12a

Please sign in to comment.