davatron5000/FitText.js — pull request #115 by dcondrey (2014-08-09 06:11:42+00:00)
Title: new option: direction

Added new user option to scale based on viewport height instead of width. Having trouble getting the 'both' option to work, maybe you can take a look.. Declaring direction:width is the same as not declaring direction at all (defaults to normal function). Updated demo html with demo of new option as well.