function checkSize() {
          var truncate = function truncate() {
            if (line < 1) lineData = [that._ellipsis("", line)];else lineData[line - 1] = that._ellipsis(lineData[line - 1], line);
          }; // Constraint the font size


          fS = src_max([fS, fMin]);
          fS = src_min([fS, fMax]);

          if (resize) {
            lH = fS * lHRatio;
            wrapper.fontSize(fS).lineHeight(lH);
            style["font-size"] = fS;
            style["line-height"] = lH;
          }

          wrapResults = wrapper(t);
          lineData = wrapResults.lines.filter(function (l) {
            return l !== "";
          });
          line = lineData.length;

          if (wrapResults.truncated) {
            if (resize) {
              fS--;

              if (fS < fMin) {
                fS = fMin;
                truncate();
                return;
              } else checkSize();
            } else truncate();
          }
        }
/**
            Figures out the lineData to be used for wrapping.
            @private
        */
Figures out the lineData to be used for wrapping.
Figures out the lineData to be used for wrapping .
function checkSize() {
          var truncate = function truncate() {
            if (line < 1) lineData = [that._ellipsis("", line)];else lineData[line - 1] = that._ellipsis(lineData[line - 1], line);
          }; 
          fS = src_max([fS, fMin]);
          fS = src_min([fS, fMax]);
          if (resize) {
            lH = fS * lHRatio;
            wrapper.fontSize(fS).lineHeight(lH);
            style["font-size"] = fS;
            style["line-height"] = lH;
          }
          wrapResults = wrapper(t);
          lineData = wrapResults.lines.filter(function (l) {
            return l !== "";
          });
          line = lineData.length;
          if (wrapResults.truncated) {
            if (resize) {
              fS--;
              if (fS < fMin) {
                fS = fMin;
                truncate();
                return;
              } else checkSize();
            } else truncate();
          }
        }
function checkSize ( ) { var truncate = function truncate ( ) { if ( line < 1 ) lineData = [ that . _ellipsis ( "" , line ) ] ; else lineData [ line - 1 ] = that . _ellipsis ( lineData [ line - 1 ] , line ) ; } ; fS = src_max ( [ fS , fMin ] ) ; fS = src_min ( [ fS , fMax ] ) ; if ( resize ) { lH = fS * lHRatio ; wrapper . fontSize ( fS ) . lineHeight ( lH ) ; style [ "font-size" ] = fS ; style [ "line-height" ] = lH ; } wrapResults = wrapper ( t ) ; lineData = wrapResults . lines . filter ( function ( l ) { return l !== "" ; } ) ; line = lineData . length ; if ( wrapResults . truncated ) { if ( resize ) { fS -- ; if ( fS < fMin ) { fS = fMin ; truncate ( ) ; return ; } else checkSize ( ) ; } else truncate ( ) ; } }
Figures out the lineData to be used for wrapping.
Figures out the lineData to be used for wrapping .
// Constraint the font size