Skip to content

Commit a2eba55

Browse files
committed
Apply PR jsonurl#660
1 parent f593882 commit a2eba55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/proto.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,23 @@ export function setupToJsonURLText({
3131
}) {
3232
Object.defineProperty(Array.prototype, "toJsonURLText", {
3333
value: toJsonURLText_Array,
34+
configurable: true
3435
});
3536
Object.defineProperty(Boolean.prototype, "toJsonURLText", {
3637
value: toJsonURLText_Boolean,
38+
configurable: true
3739
});
3840
Object.defineProperty(Number.prototype, "toJsonURLText", {
3941
value: toJsonURLText_Number,
42+
configurable: true
4043
});
4144
Object.defineProperty(Object.prototype, "toJsonURLText", {
4245
value: toJsonURLText_Object,
46+
configurable: true
4347
});
4448
Object.defineProperty(String.prototype, "toJsonURLText", {
4549
value: toJsonURLText_String,
50+
configurable: true
4651
});
4752
}
4853

0 commit comments

Comments
 (0)