remove FitText.js
This commit is contained in:
parent
354e519ae9
commit
cc9dacbde6
|
@ -321,7 +321,6 @@ mappings.cdn = {
|
|||
'fancybox/{version}/jquery.fancybox.css': resources.fancyBoxCSS,
|
||||
'fastclick/{version}/fastclick.': resources.fastclick,
|
||||
'feather-icons/{version}/feather.': resources.feather,
|
||||
'FitText.js/{version}/jquery.fittext.': resources.fitTextJs,
|
||||
'flickity/{version}/flickity.pkgd.': resources.flickity,
|
||||
'font-awesome/{version}/css/font-awesome': resources.fontawesome,
|
||||
'font-awesome/{version}/css/': resources.fontawesome5CSS,
|
||||
|
|
|
@ -423,10 +423,6 @@ var resources = {
|
|||
'feather': {
|
||||
'path': 'resources/feather-icons/{version}/feather.min.jsm'
|
||||
},
|
||||
// FitText.js [Deprecated]
|
||||
'fitTextJs': {
|
||||
'path': 'resources/FitText.js/{version}/jquery.fittext.min.jsm'
|
||||
},
|
||||
// flickity
|
||||
'flickity': {
|
||||
'path': 'resources/flickity/{version}/flickity.pkgd.min.jsm'
|
||||
|
|
|
@ -203,7 +203,6 @@ targets.setLastVersion = function (type, version) {
|
|||
if (type.startsWith('/fancybox/2.')) return '2.1.7';
|
||||
if (type.startsWith('/fancybox/3.')) return '3.5.7';
|
||||
if (type.startsWith('/feather-icons/4.')) return '4.29.1';
|
||||
if (type.startsWith('/FitText.js/1.')) return '1.2.0';
|
||||
if (type.startsWith('/flickity/3.')) return '3.0.0';
|
||||
if (type.startsWith('/flv.js/')) return '1.6.2';
|
||||
if (type.startsWith('/font-awesome/3.')) return '3.2.1';
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
<h2>New in LocalCDN:</h2>
|
||||
</div>
|
||||
<div class="release-notes-area">
|
||||
<p></p>
|
||||
<p>Removed</p>
|
||||
<ul>
|
||||
<li></li>
|
||||
<li>FitText.js</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="generator-section">
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
/*!
|
||||
* FitText.js 1.2
|
||||
*
|
||||
* Copyright 2011, Dave Rupert http://daverupert.com
|
||||
* Released under the WTFPL license
|
||||
* http://sam.zoy.org/wtfpl/
|
||||
*
|
||||
* Date: Thu May 05 14:23:00 2011 -0600
|
||||
*/
|
||||
(function(a){a.fn.fitText=function(d,b){var e=d||1,c=a.extend({minFontSize:Number.NEGATIVE_INFINITY,maxFontSize:Number.POSITIVE_INFINITY},b);return this.each(function(){var f=a(this);var g=function(){f.css("font-size",Math.max(Math.min(f.width()/(e*10),parseFloat(c.maxFontSize)),parseFloat(c.minFontSize)))};g();a(window).on("resize.fittext orientationchange.fittext",g)})}})(jQuery);
|
Loading…
Reference in New Issue