+ 6

FOR KrishnaTejaYeluripati ONLY!

Well hello there... I hope u see this... You've got loads of codes and if I run them it just shows errors... Mind helping me out? cuz I'm a big , young fan of yourself . I want to enjoy your codes but unfortunately errors occur all the time. =)

29th Jul 2017, 9:13 AM
Vasanth Mani Vasi Venkatram Vasi
Vasanth Mani Vasi Venkatram Vasi - avatar
6 Answers
+ 12
You can just manually replace the ES6 features with supported features! These are the most common used with the relative easiest solution: Let keyword: let name_var 》var name_var Arrow functions: ( ) => { } 》function( ) { } The Navigator can give issues too, just remove lines like: navigator.vibrate(500); **** FOR ALL PROGRAMMERS **** Please, make controls before to use the Navigator, for example: if("vibrate" in navigator) navigator.vibrate(500); ... this will works only on supported devices removing annoying errors.
29th Jul 2017, 9:48 AM
Maz
Maz - avatar
+ 16
He uses ES6 (ecmascript 6).... Not supported by all devices...
29th Jul 2017, 9:33 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 13
I am planning on modifying all such codes. Can you comment (to the code) the errors you are getting?
29th Jul 2017, 10:42 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 9
Problem solved! Headway given by @ValentinHacker. Robust solution provided by @Maz. ^-^
29th Jul 2017, 10:24 AM
Femyk
Femyk - avatar
+ 2
Thanks everyone for taking time to explain it. @KrishnaTejaYeluripati yea definitely!
29th Jul 2017, 11:31 AM
Vasanth Mani Vasi Venkatram Vasi
Vasanth Mani Vasi Venkatram Vasi - avatar
+ 1
Upvote the question so that everyone can see this and comment their errors on your codes.
29th Jul 2017, 11:32 AM
Vasanth Mani Vasi Venkatram Vasi
Vasanth Mani Vasi Venkatram Vasi - avatar