Release 5.6.1 (#1287)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Font Awesome Pro 5.6.0 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Pro 5.6.1 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license (Commercial License)
|
||||
*/
|
||||
(function () {
|
||||
@@ -739,7 +739,7 @@
|
||||
mark: noop$1,
|
||||
measure: noop$1
|
||||
};
|
||||
var preamble = "FA \"5.6.0\"";
|
||||
var preamble = "FA \"5.6.1\"";
|
||||
|
||||
var begin = function begin(name) {
|
||||
p.mark("".concat(preamble, " ").concat(name, " begins"));
|
||||
@@ -762,7 +762,8 @@
|
||||
* Internal helper to bind a function known to have 4 arguments
|
||||
* to a given context.
|
||||
*/
|
||||
var bindInternal4 = function bindInternal4 (func, thisContext) {
|
||||
|
||||
var bindInternal4 = function bindInternal4(func, thisContext) {
|
||||
return function (a, b, c, d) {
|
||||
return func.call(thisContext, a, b, c, d);
|
||||
};
|
||||
@@ -779,17 +780,20 @@
|
||||
* @param {Object} thisContext The context for the reducer.
|
||||
* @return {mixed} The final result.
|
||||
*/
|
||||
var reduce = function fastReduceObject (subject, fn, initialValue, thisContext) {
|
||||
|
||||
|
||||
var reduce = function fastReduceObject(subject, fn, initialValue, thisContext) {
|
||||
var keys = Object.keys(subject),
|
||||
length = keys.length,
|
||||
iterator = thisContext !== undefined ? bindInternal4(fn, thisContext) : fn,
|
||||
i, key, result;
|
||||
i,
|
||||
key,
|
||||
result;
|
||||
|
||||
if (initialValue === undefined) {
|
||||
i = 1;
|
||||
result = subject[keys[0]];
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
i = 0;
|
||||
result = initialValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user