ES6 version incoming

Hi guys. I have some issues with PG “latest” version.

https://playground.babylonjs.com/#5W5B6W#14 — Lines 4 and 785 never run.

https://www.babylonjs-playground.com/#1PVBTF#104 — Lines 4 and 785 never run.

These OimoJS joint-work playgrounds… USE TO “hijack-in” the OimoJSPlugin and PhysicsImpostor over-ride code at top of playground. They appear to be broken or something changed.

Could be Wingnut screw-up, too, of course. Firefox 60.3.0 ESR (extended support release).


For Internet Explorer 11.0.9600.etc (these PG’s not tested in my IE… before now)…

IE console for #14 playground: (failed to render)…

DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
File: playground.babylonjs.com
HTML1300: Navigation occurred.
File: playground.babylonjs.com
SCRIPT1046: Multiple definitions of a property not allowed in strict mode
File: Oimo.js, Line: 1, Column: 32942
SCRIPT1002: Syntax error
File: gltf_validator.js, Line: 8456, Column: 42
SCRIPT1002: Syntax error
File: babylonx.cloner.js, Line: 5, Column: 5
SCRIPT1002: Syntax error
File: babylonx.CompoundShader.js, Line: 5, Column: 5
SEC7118: XMLHttpRequest for https://raw.githubusercontent.com/BabylonJS/Documentation/master/examples/list.json required Cross Origin Resource Sharing (CORS).
File: playground.babylonjs.com
SEC7118: XMLHttpRequest for https://snippet.babylonjs.com/5W5B6W/14 required Cross Origin Resource Sharing (CORS).
File: playground.babylonjs.com
SyntaxError: Syntax error
   {
      [functions]: ,
      __proto__: { },
      description: "Syntax error",
      message: "Syntax error",
      name: "SyntaxError",
      number: -2146827286,
      stack: "SyntaxError: Syntax error
   at Anonymous function (https://playground.babylonjs.com/js/index.js:556:25)
   at getRunCode (https://playground.babylonjs.com/js/index.js:7:5)
   at compileAndRun (https://playground.babylonjs.com/js/index.js:523:17)
   at xmlHttp.onreadystatechange (https://playground.babylonjs.com/js/index.js:1128:37)"
   }

IE console for #104 playground: (failed to render)

DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
File: playground.babylonjs.com
HTML1300: Navigation occurred.
File: www.babylonjs-playground.com
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
File: playground.babylonjs.com
SCRIPT1046: Multiple definitions of a property not allowed in strict mode
File: Oimo.js, Line: 1, Column: 32942
SCRIPT1002: Syntax error
File: gltf_validator.js, Line: 8456, Column: 42
SCRIPT1002: Syntax error
File: babylonx.cloner.js, Line: 5, Column: 5
SCRIPT1002: Syntax error
File: babylonx.CompoundShader.js, Line: 5, Column: 5
SEC7118: XMLHttpRequest for https://raw.githubusercontent.com/BabylonJS/Documentation/master/examples/list.json required Cross Origin Resource Sharing (CORS).
File: www.babylonjs-playground.com
SEC7118: XMLHttpRequest for https://snippet.babylonjs.com/1PVBTF/104 required Cross Origin Resource Sharing (CORS).
File: www.babylonjs-playground.com
Babylon.js v4.0.0-alpha.17 - WebGL1
ReferenceError: 'OIMO' is undefined
   {
      [functions]: ,
      __proto__: { },
      description: "'OIMO' is undefined",
      message: "'OIMO' is undefined",
      name: "ReferenceError",
      number: -2146823279,
      stack: "ReferenceError: 'OIMO' is undefined
   at e (https://preview.babylonjs.com/babylon.js:16:1507690)
   at createScene (eval code:1213:2)
   at eval code (eval code:1:1)
   at Anonymous function (https://www.babylonjs-playground.com/js/index.js:565:25)
   at getRunCode (https://www.babylonjs-playground.com/js/index.js:7:5)
   at compileAndRun (https://www.babylonjs-playground.com/js/index.js:523:17)
   at xmlHttp.onreadystatechange (https://www.babylonjs-playground.com/js/index.js:1128:37)"
   }

ALL Firefox tests WORK FINE in “stable” mode (BJS 3.3). Hijacks active.
ALL IE tests fail in both “latest” and “stable” - no scene render.

I can do my work… in stable version… minor inconvenience. But, I thought I had better report all unusual stuff seen. ES6-related? Perhaps I need to post this in bugs or q&a? thx for info/work.

1 Like