aristus / sweet-justice Goto Github PK
View Code? Open in Web Editor NEWSome pithy Javascript for beautiful justified text
Home Page: http://carlos.bueno.org/2010/04/sweet-justice.html
Some pithy Javascript for beautiful justified text
Home Page: http://carlos.bueno.org/2010/04/sweet-justice.html
Hi Aristus,
great work. It works surprisingly fast. I just noticed that in IE the links get stuck to the following word. What is mean is that the space, if there is any, is dropped after a href tag, so the to words will be concatenated.
If you have a fix, let me know.
Regards,
Arnaud
So... something about the terribleness of this caught me, and I made a little bookmarklet for it. It's a bit hacky, and could be improved in several ways, but yeah, there it is.
I'm also rather tired right now, so forgive me if this doesn't make sense in the morning...
I'm polish and in polish language there are some digraps: "ch", "cz", "sz", "dz", "rz", "dź" and "dż" an one trigraph "dzi". that should not be split in general (those digraphs often mean one sound). Can you implement some kind of blacklist to denote such exceptions?
For this script to work, do I have to re-run it every time I update a "sweet-justice" div in the DOM?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.