big-text.js
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -11,6 +11,7 @@ /* | ||
maximumFontSize: {Number}, (null) | ||
limitingDimension: {Number}, ("both") | ||
limitingDimension: {String}, ("both") | ||
horizontalAlign: {String}, ("center") | ||
verticalAlign: {String}, ("center") | ||
textAlign: {String}, ("center") | ||
whiteSpace: {String}, ("nowrap") | ||
}); | ||
@@ -230,3 +231,3 @@ | ||
style.left = "100%"; | ||
style.marginTop = Math.floor(-innerWidth) + "px"; | ||
style.marginLeft = Math.floor(-innerWidth) + "px"; | ||
break; | ||
@@ -233,0 +234,0 @@ default: |
{ | ||
"name": "big-text.js", | ||
"version": "1.0.0", | ||
"description": "A JavaScript lib that makes text as big as possible while still fitting on the parent element.", | ||
"version": "1.0.1", | ||
"description": "A lib that makes text as big as possible while still fitting on the parent element.", | ||
"main": "big-text.js", | ||
@@ -14,3 +14,2 @@ "scripts": { | ||
"keywords": [ | ||
"jquery", | ||
"bigtext", | ||
@@ -17,0 +16,0 @@ "text" |
@@ -18,3 +18,3 @@ # big-text.js | ||
maximumFontSize: {Number}, (null) | ||
limitingDimension: {Number}, ("both") | ||
limitingDimension: {String}, ("both") | ||
horizontalAlign: {String}, ("center") | ||
@@ -21,0 +21,0 @@ verticalAlign: {String}, ("center") |
13934
201