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

Instructions? #32

Open
VeeK727 opened this Issue Oct 28, 2015 · 11 comments

Comments

Projects
None yet
10 participants
@VeeK727

VeeK727 commented Oct 28, 2015

Could you be bothered to write some instructions on how to use this please?

Thanks

@wentin

This comment has been minimized.

Owner

wentin commented Oct 28, 2015

Will do, I need to fix a few bugs before it is publicly used. Otherwise it could be a nightmare! Stay tuned!

@tomByrer

This comment has been minimized.

tomByrer commented Jan 2, 2016

Looking forward to your improvements.

@oyeanuj

This comment has been minimized.

oyeanuj commented Jan 6, 2016

+1 to this, looking forward to the instructions to try it out! Thanks @wentin for your work on this!

@fabiocaccamo

This comment has been minimized.

fabiocaccamo commented Mar 31, 2016

+1

1 similar comment
@tbredin

This comment has been minimized.

tbredin commented Jun 6, 2016

+1

@Fastidious

This comment has been minimized.

Fastidious commented Jun 8, 2016

Interested as well. Any updates?

@TeMuNiDe

This comment has been minimized.

TeMuNiDe commented Jun 8, 2017

+1

1 similar comment
@zr87

This comment has been minimized.

zr87 commented Oct 4, 2017

+1

@jdmdigital

This comment has been minimized.

jdmdigital commented Oct 6, 2017

We didn't develop Underline.js, but here's a quick & dirty explanation on how we got this to work.

Include Underline.js in your project. The code is: https://github.com/CloudflareApps/SmartUnderline/blob/master/js/smart-underline.js

We minified that in our project, but whatever.

Once that was included we just initialize it like so:

$( document ).ready(function() { SmartUnderline.init({}); });

That turns it on with no options. There are plenty, but we liked it just the way it is.

Hope that helps. Let us know if you need some more direction and we'll put something together and post a link here to a more in-depth instructional article.

@oyeanuj

This comment has been minimized.

oyeanuj commented Oct 18, 2017

@jdmdigital Thank you for the explanation! I'd appreciate any links with more in-depth instructions whenever you get to that. Until then, quick question - how does SmartUnderline differ from Underline.js?

@jdmdigital

This comment has been minimized.

jdmdigital commented Oct 18, 2017

@oyeanuj, Totally got that wrong. UnderlineJS is self-initializing. What we posted above is how to initialize SmartUnderline--which is what we chose to use in our project. Oops!

Posted something about the two JS libraries, how they work, and what the differences are. Take a look here: https://jdmdigital.co/news/design/skip-descenders-javascript/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment