Skip to content

Commit 4840268

Browse files
authored
Merge pull request #378 from Elity/develop
fix: es-check error
2 parents f92ddc0 + fe84967 commit 4840268

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/enc-base64url.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
*
2525
* var base64String = CryptoJS.enc.Base64url.stringify(wordArray);
2626
*/
27-
stringify: function (wordArray, urlSafe=true) {
27+
stringify: function (wordArray, urlSafe) {
28+
if (urlSafe === undefined) {
29+
urlSafe = true
30+
}
2831
// Shortcuts
2932
var words = wordArray.words;
3033
var sigBytes = wordArray.sigBytes;

0 commit comments

Comments
 (0)