-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
js: write PerCharacterEscaper.js #9
Conversation
- There is a lot more code that can be reused - Key method points are: `codePointAt`, `codePoints`, `charCount` - Seems jsTests are not running from gradle, but I couldn't figure it out how to do it Let me know if you want to go `harder` with code reuse in this class and just makes platform dependent the 3/4 functions I mentioned.
Excellent!
KMM doesn't follow the normal Gradle convention, it actually doesn't have a selfie/selfie-lib/build.gradle Lines 30 to 33 in a0aaadc
I would start with test reuse: delete the tests in In general, I would like to go as hard with the |
will that run all the targets (jvm/js) from it? |
Correct. |
If you break the |
moved test to |
This works great, we can revisit it in the future if we want to, but we might not need to. |
codePointAt
,codePoints
,charCount
Let me know if you want to go
harder
with code reuse in this class and just makes platform dependent the 3/4 functions I mentioned.Finally, let me know if I screw something.. first time with kmm JS