[18:21:03] i'm getting a "JavaScript parse error (scripts need to be valid ECMAScript 5)" in the console for a gadget i just enabled, even though i have `requiresES6` in the gadget definition 🤔 [18:21:36] the syntax still has to be ES5 compatible, at least until T75714 is done [18:22:01] damn 😞 [18:22:02] (but you can use ES6 APIs at least) [18:22:26] so no backticks then, i guess? [18:22:51] probably not [18:23:03] arrows was the one that caused problems for me, but backticks probably too [18:23:37] but `const` and `let` are fine? [18:25:46] I think so [18:26:16] hm, according to https://phabricator.wikimedia.org/T75714#8799066 const works but let doesn’t [18:26:31] lolwut [18:27:46] i'm glad i didn't try to make this a Vue gadget at least, that would've gone straight down the drain [18:30:50] there are some prototypes of Vue user scripts / gadgets, but I think it might be a bit early for “mainstream” use still [19:15:08] yeah, i was looking into basing this gadget on the one Vue user script i found that's working (revertrisk.js (https://en.wikipedia.org/wiki/User:JSherman_(WMF)/revertrisk.js)), but couldn't make icons work in it, so resorted to OOUI instead [21:58:57] Yeah. My "Dicothèque" on the French Wikisource is one of those. It's a user-script. And I ended up using webpack and other stuff so that I could use the fully-fledged Vue SFC features. But it's still quirky. (re @lucaswerkmeister: there are some prototypes of Vue user scripts / gadgets, but I think it might be a bit early for “mainstream” use still)