Message from JavaScript discussions

November 2018

— Ok i foudn a solution... by pressing strg-z a couple of times, reloaded, a sutuation where my toggler doesnt have the toggled={true/false} arg. what are the odds

Message permanent page

— 

Guys, this file here is an iffe, is there a way to import it in es6 ?

https://github.com/jieter/Leaflet.encoded/blob/master/Polyline.encoded.js

— Yes, with some hacks

— Meh

— Oh wait

— It supports commonJS

— So you should be able to use it that way

— Https://github.com/jieter/Leaflet.encoded/blob/master/Polyline.encoded.js#L200-L203

— Do you think it will payoff in performance ?

— ?

— Using the encoded strings instead of pure strings...

— The request is smaller of course...