Skip to content

Commit 6271114

Browse files
committed
Workaround for 6236
1 parent 28939df commit 6271114

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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

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/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){

0 commit comments

Comments
 (0)