mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
Small spelling typo in mergePaths
This commit is contained in:
committed by
Aidan Steele
parent
d0c3355056
commit
dcab8e0c73
@ -12,7 +12,7 @@ exports.params = {
|
||||
|
||||
var path2js = require('./_path.js').path2js,
|
||||
js2path = require('./_path.js').js2path,
|
||||
interesects = require('./_path.js').interesects;
|
||||
intersects = require('./_path.js').intersects;
|
||||
|
||||
/**
|
||||
* Merge multiple Paths into one.
|
||||
@ -54,7 +54,7 @@ exports.fn = function(item, params) {
|
||||
prevPathJS = path2js(prevContentItem),
|
||||
curPathJS = path2js(contentItem);
|
||||
|
||||
if (equalData && !interesects(prevPathJS, curPathJS)) {
|
||||
if (equalData && !intersects(prevPathJS, curPathJS)) {
|
||||
js2path(prevContentItem, prevPathJS.concat(curPathJS), params);
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user