+ 6
Remove all console.log in this
I was testing WebVR using Mozilla's Aframe. Tried a simple one but when I run it, information about the script comes in the console .So I tried this :- console.log = function() {} To remove all the console.log but now new errors come , can someone remove all this https://code.sololearn.com/WIdVXzlq5GiC/?ref=app â If you want to test the code on mobile , tilt your phone left , right,up and down ,the sphere moves . Some phones may not support it
3 Answers
+ 6
@Andrew :- Should I add whole script in the try..catch .?đ
+ 5
@Nikky Amresh : working , thank you!
+ 3
I dont think there is way from coding to disable SL console.log message. Contact SL, to set an option to disable console.log messages.
Btw it's a nice code.