Release 5.11.0 (#1436)
This commit is contained in:
@@ -1085,7 +1085,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"));
|
||||
@@ -1351,6 +1351,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);
|
||||
@@ -1797,6 +1798,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 {
|
||||
|
||||
Reference in New Issue
Block a user