Fix 'EJSON.newBinary' -- it's just 'Base64.newBinary'

This commit is contained in:
Emily Stark
2014-09-09 10:41:37 -07:00
parent 8a8df1f89d
commit 1971765628

View File

@@ -453,6 +453,4 @@ EJSON.clone = function (v) {
* @locus Anywhere
* @param {Number} size The number of bytes of binary data to allocate.
*/
EJSON.newBinary = function (len) {
return new Base64.newBinary(len);
};
EJSON.newBinary = Base64.newBinary;