mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-01-30 23:18:24 +08:00
Update comment for EOT re. IE9+
This commit is contained in:
parent
9022748864
commit
3c302e861a
@ -8,7 +8,7 @@ var packageJson = JSON.parse(Npm.require("fs").readFileSync('package.json'));
|
|||||||
Package.describe({
|
Package.describe({
|
||||||
name: packageName,
|
name: packageName,
|
||||||
summary: 'Font Awesome (official): 470+ scalable vector icons, customizable via CSS, Retina friendly',
|
summary: 'Font Awesome (official): 470+ scalable vector icons, customizable via CSS, Retina friendly',
|
||||||
version: packageJson.version,
|
version: packageJson.version + '_2',
|
||||||
git: 'https://github.com/FortAwesome/Font-Awesome.git'
|
git: 'https://github.com/FortAwesome/Font-Awesome.git'
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ Package.onUse(function (api) {
|
|||||||
api.versionsFrom('METEOR@0.9.2.1');
|
api.versionsFrom('METEOR@0.9.2.1');
|
||||||
api.addFiles([
|
api.addFiles([
|
||||||
// we bundle all font files, but the client will request only one of them via the CSS @font-face rule
|
// we bundle all font files, but the client will request only one of them via the CSS @font-face rule
|
||||||
'fonts/fontawesome-webfont.eot', // IE8 or older
|
'fonts/fontawesome-webfont.eot', // IE8 or older only understands EOT. IE9+ will read it too because it loads the first occurrence of `src`
|
||||||
'fonts/fontawesome-webfont.svg', // SVG fallback for iOS < 5 - http://caniuse.com/#feat=svg-fonts, http://stackoverflow.com/a/11002874/1269037
|
'fonts/fontawesome-webfont.svg', // SVG fallback for iOS < 5 - http://caniuse.com/#feat=svg-fonts, http://stackoverflow.com/a/11002874/1269037
|
||||||
'fonts/fontawesome-webfont.ttf', // Android Browers 4.1, 4.3 - http://caniuse.com/#feat=ttf
|
'fonts/fontawesome-webfont.ttf', // Android Browers 4.1, 4.3 - http://caniuse.com/#feat=ttf
|
||||||
'fonts/fontawesome-webfont.woff', // Most modern browsers
|
'fonts/fontawesome-webfont.woff', // Most modern browsers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user