diff --git a/src/RosLib.js b/src/RosLib.js index d2806923e..66eceae80 100644 --- a/src/RosLib.js +++ b/src/RosLib.js @@ -18,7 +18,7 @@ import * as Tf from './tf/index.js'; import * as Urdf from './urdf/index.js'; // Add to global namespace for in-browser support (i.e. CDN) -global.ROSLIB = { +globalThis.ROSLIB = { REVISION, ...Core, ...ActionLib,