nateshmbhat / svelte-ace

Ace Editor component for Svelte with TypeScript support 🥳🥳
MIT License
48 stars 6 forks source link

ID generation removal not on NPM #7

Open Sparkier opened 3 years ago

Sparkier commented 3 years ago

I used this package for a project, and ran into an error, where the random ID assignment lead to a crash. I fixed that by using bind:this, but then I noticed you already applied the same fix.

However, when I install the package from npm, I get an older version where there is still the random ID generation. It would be awesome if you could release the newer version of the package.

Sparkier commented 3 years ago

To reproduce, I made a new directory, in it I issued npm i svelte-ace and then if you look at node_modules/svelte_ace/src/AceEditor.svelte, you see the random number generation even though the version says 1.0.21.