Easily prevent typographic orphans.
Horunge is the Swedish equivalent for orphans when we’re talking typography. Supports CommonJS, AMD or browser globals.
bower install jquery-horunge
Download the production version or the development version.
In your web page:
<h1>This is a sample heading</h1>
<script src="jquery.js"></script>
<script src="bower_components/jquery-horunge/dist/jquery.horunge.min.js"></script>
<script>
$(function() {
$('h1').horunge();
});
</script>
$.horunge({
words: 2 // number of words to always keep at new line. default "2"
});