hmdne

Results 111 comments of hmdne

My suggestion would be to get this thing for 1.5 alpha, but keep pushing for maybe some Intl-based solution for later on.

Updated: https://opalrb.com/try/?code=require%20%27native%27%0A%0Awindow%20%3D%20Native(%60window%60)%0Aputs%20%22location%20href%3A%22%0Aputs%20window%5B%3Alocation%5D%5B%3Ahref%5D

Nowadays, JS has native functions for some hashes https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest but they are async. We could also implement those functions in webassembly and they would be sync if the resulting code...

@Mogztter That's a great idea in my opinion.

Good catch. I must say this isn't exactly the most trivial bug to fix, as String is immutable in certain scenarios (in strict mode) and we need to somehow account...

I agree a lot that getting Opal to work is kind of hard. I struggled a lot and with this struggle I found out there were a lot of integrations...

There should be a basic howto for opal-browser there I agree. But for now, you can take a look at opal-browser's readme: https://github.com/opal/opal-browser

I have revisited this and rebased it for the latest Opal. There are still issues with perhaps doing it in a similar way as we have pluggable mechanisms for cache....