Skip to content

Commit 98d2646

Browse files
committed
Merge pull request locutusjs#170 from marceloxp/patch-1
Update base64_encode.js
2 parents 88466d6 + 8aae4f1 commit 98d2646

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/url/base64_encode.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function base64_encode(data) {
2424
return data;
2525
}
2626

27-
data = unescape(encodeURIComponent(data))
27+
data = unescape(encodeURIComponent(data));
2828

2929
do {
3030
// pack three octets into four hexets
@@ -48,4 +48,4 @@ function base64_encode(data) {
4848
var r = data.length % 3;
4949

5050
return (r ? enc.slice(0, r - 3) : enc) + '==='.slice(r || 3);
51-
}
51+
}

0 commit comments

Comments
 (0)