Last active
April 13, 2017 08:24
-
-
Save hcodes/6846135c46f7353aa54996d271491279 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="./jquery.js"></script> | |
<script src="./typograf.js"></script> | |
<script> | |
var tp = new Typograf({locale: ['ru', 'en-US']}); | |
$(document).ready(function() { | |
$('p').each(function() { | |
var elem = $(this); | |
elem.html(tp.execute(elem.html())); | |
}) | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment