When I run it in Samsung Internet for VR, I get
Uncaught SyntaxError: Unexpected token )
on the last line of this fragment:
function putOnTable(){
console.log("put on table: ");
Object(_utils_aAnimationWrapper__WEBPACK_IMPORTED_MODULE_4__["default"])(
element, '', 'position', schema.inCan, schema.outOfCan, schema.dur,
'', true, 'forwards',
);
So
- Lint your code, or use your IDE's syntax checker
- Post a version that isn't minified (or at least has sourcemaps) when asking for help
- Use Chrome's Remote Debugging to view the JavaScript console log: https://developer.oculus.com/documentation/vrweb/latest/concepts/carmel-remote-debugging/