mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 14:05:09 +00:00
Remove unused public method
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import _ from 'lodash';
|
||||
|
||||
const merge = _.assign;
|
||||
const merge = Object.assign;
|
||||
|
||||
function arrayDiffer(a, b) {
|
||||
if (_.isNil(a) || _.isNil(b) ) {
|
||||
/*eslint eqeqeq:0*/
|
||||
if (a == null || b == null) {
|
||||
return true;
|
||||
}
|
||||
if (a.length !== b.length) {
|
||||
@@ -22,11 +21,10 @@ function fontDiffer(a, b) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (a.fontSize !== b.fontSize || a.fontFamily !== b.fontFamily || a.fontStyle !== b.fontStyle || a.fontWeight !== b.fontWeight) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return a.fontSize !== b.fontSize ||
|
||||
a.fontFamily !== b.fontFamily ||
|
||||
a.fontStyle !== b.fontStyle ||
|
||||
a.fontWeight !== b.fontWeight;
|
||||
}
|
||||
|
||||
const ViewBoxAttributes = {
|
||||
|
||||
Reference in New Issue
Block a user