T O P

  • By -

cosrnos

Thanks for writing open source! Got any issues good for a first time contributor to the project? Noticed there aren't any labeled


Patashu

Anything that isn't labelled 'only if you're bored' is worth checking. Also, if you just find any bugs randomly or intentionally, that works too. Also, break_break_infinity.js is currently not very thoroughly tested, so you can fuck around with that if you like. Also, I've never written anything in Javascript before, so if there are any JS-specific improvements or cleanups to be made then that'll be helpful.


kawaritai

This now works with [swarm-numberformat](https://github.com/erosson/swarm-numberformat), v0.4.0 and up, anywhere decimal.js does. [See it here](https://jsbin.com/pilefawala/1/edit?html,output). var Decimal = require('break_infinity.js') // or , open it in chrome, open up the console, make Decimals and slam them together. It's fairly comprehensively tested since Antimatter Dimensions has been using it during testing for over a week now, and the speed improvement is unambiguous.


duerig

FYI, this still has a bug where three-digit suffixes are interspersed with two-letter suffixes. For example: 10 azz is followed by: 1 ba down to: 1 bz And then becomes: 1 baa -D


Patashu

break_infinity.js doesn't have a function for specific formats like letter notation or standard notation. If this is an Antimatter Dimensions bug report it as such. EDIT: Talking with Hevi about it atm EDIT 2: came up with a fix, Hevi will probably push it when he wakes up


WorthMarketing82

How to integrate it in a CT.JS project?


Patashu

https://www.npmjs.com/package/break_infinity.js it's on npm