Permalink
Browse files

Changing Number.NEGATIVE_INFINITY to -1/0 (likewise with positive)

  • Loading branch information...
1 parent c6275ea commit 67063546df8456abb5bf0b9d6b930b4be4e93894 @adactio committed Mar 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 fittext.js
View
@@ -23,8 +23,8 @@
window.fitText = function (el, kompressor) {
var settings = {
- 'minFontSize' : Number.NEGATIVE_INFINITY,
- 'maxFontSize' : Number.POSITIVE_INFINITY
+ 'minFontSize' : -1/0,
+ 'maxFontSize' : 1/0
};
var fit = function (el) {

0 comments on commit 6706354

Please sign in to comment.