Release 5.11.0 (#1436)

This commit is contained in:
Rob Madole
2019-09-18 12:10:06 -05:00
committed by GitHub
parent ad98aa363b
commit 3900f1b104
2041 changed files with 48106 additions and 8869 deletions

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Pro 5.10.2 by @fontawesome - https://fontawesome.com
* Font Awesome Pro 5.11.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
*/
(function () {
@@ -1096,7 +1096,7 @@
mark: noop$1,
measure: noop$1
};
var preamble = "FA \"5.10.2\"";
var preamble = "FA \"5.11.0\"";
var begin = function begin(name) {
p.mark("".concat(preamble, " ").concat(name, " begins"));
@@ -1362,6 +1362,7 @@
var forSvg = new RegExp("".concat(config.familyPrefix, "-.*"));
delete abstract[0].attributes.style;
delete abstract[0].attributes.id;
var splitClasses = abstract[0].attributes.class.split(' ').reduce(function (acc, cls) {
if (cls === config.replacementClass || cls.match(forSvg)) {
acc.toSvg.push(cls);
@@ -1808,6 +1809,12 @@
return resolve(asFoundIcon(icon));
}
var headers = {};
if (_typeof(WINDOW.FontAwesomeKitConfig) === 'object' && typeof window.FontAwesomeKitConfig.token === 'string') {
headers['fa-kit-token'] = WINDOW.FontAwesomeKitConfig.token;
}
if (iconName && prefix && !config.showMissingIcons) {
reject(new MissingIcon("Icon is missing for prefix ".concat(prefix, " with icon name ").concat(iconName)));
} else {