Skip to content

Commit 6f6a613

Browse files
committed
Workaround for 6236
1 parent 28939df commit 6f6a613

6 files changed

+6
-6
lines changed

jscomp/runtime/caml_external_polyfill.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ let getGlobalThis: (. unit) => global = %raw(` function(){
2929
if (typeof window !== 'undefined') return window;
3030
if (typeof global !== 'undefined') return global;
3131
if (typeof this !== 'undefined') return this;
32-
throw new Error('Unable to locate global \`this\`');
32+
throw new Error('Unable to locate global this');
3333
}`)
3434

3535
type dyn

jscomp/runtime/caml_splice_call.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ let spliceApply: (obj, obj) => obj = %raw(`function(fn,args){
4141
let spliceNewApply: (obj, obj) => obj = %raw(`function (ctor,args){
4242
var i, argLen;
4343
argLen = args.length
44-
var applied = [null] // Function.prototype.bind.apply(fn, args) requires the first element in \`args\` to be \`null\`
44+
var applied = [null] // Function.prototype.bind.apply(fn, args) requires the first element in args to be null
4545
for(i = 0; i < argLen - 1; ++i){
4646
applied.push(args[i])
4747
}

lib/es6/caml_external_polyfill.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var getGlobalThis = (function(){
77
if (typeof window !== 'undefined') return window;
88
if (typeof global !== 'undefined') return global;
99
if (typeof this !== 'undefined') return this;
10-
throw new Error('Unable to locate global \`this\`');
10+
throw new Error('Unable to locate global this');
1111
});
1212

1313
var resolve = (function(s){

lib/es6/caml_splice_call.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var spliceApply = (function(fn,args){
1818
var spliceNewApply = (function (ctor,args){
1919
var i, argLen;
2020
argLen = args.length
21-
var applied = [null] // Function.prototype.bind.apply(fn, args) requires the first element in \`args\` to be \`null\`
21+
var applied = [null] // Function.prototype.bind.apply(fn, args) requires the first element in args to be null
2222
for(i = 0; i < argLen - 1; ++i){
2323
applied.push(args[i])
2424
}

lib/js/caml_external_polyfill.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var getGlobalThis = (function(){
77
if (typeof window !== 'undefined') return window;
88
if (typeof global !== 'undefined') return global;
99
if (typeof this !== 'undefined') return this;
10-
throw new Error('Unable to locate global \`this\`');
10+
throw new Error('Unable to locate global this');
1111
});
1212

1313
var resolve = (function(s){

lib/js/caml_splice_call.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var spliceApply = (function(fn,args){
1818
var spliceNewApply = (function (ctor,args){
1919
var i, argLen;
2020
argLen = args.length
21-
var applied = [null] // Function.prototype.bind.apply(fn, args) requires the first element in \`args\` to be \`null\`
21+
var applied = [null] // Function.prototype.bind.apply(fn, args) requires the first element in args to be null
2222
for(i = 0; i < argLen - 1; ++i){
2323
applied.push(args[i])
2424
}

0 commit comments

Comments
 (0)