mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
plugins/cleanupAttrs: use isElem() API
This commit is contained in:
@ -14,7 +14,7 @@ var regNewlines = /\n/g,
|
||||
*/
|
||||
exports.cleanupAttrs = function(item, params) {
|
||||
|
||||
if (item.elem) {
|
||||
if (item.isElem()) {
|
||||
|
||||
item.eachAttr(function(attr) {
|
||||
|
||||
|
Reference in New Issue
Block a user