Home / Function/ guardIESVGBug() — vue Function Reference

guardIESVGBug() — vue Function Reference

Architecture documentation for the guardIESVGBug() function in index.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  20f42bb7_c852_11fa_9570_fb0e47784169["guardIESVGBug()"]
  101d3d34_ac07_228f_62b9_5d5ac4a0ea2e["index.ts"]
  20f42bb7_c852_11fa_9570_fb0e47784169 -->|defined in| 101d3d34_ac07_228f_62b9_5d5ac4a0ea2e
  19a26691_f7c4_e2d6_e9ed_59c6aff144df["parse()"]
  19a26691_f7c4_e2d6_e9ed_59c6aff144df -->|calls| 20f42bb7_c852_11fa_9570_fb0e47784169
  style 20f42bb7_c852_11fa_9570_fb0e47784169 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/compiler/parser/index.ts lines 972–982

function guardIESVGBug(attrs) {
  const res: any[] = []
  for (let i = 0; i < attrs.length; i++) {
    const attr = attrs[i]
    if (!ieNSBug.test(attr.name)) {
      attr.name = attr.name.replace(ieNSPrefix, '')
      res.push(attr)
    }
  }
  return res
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does guardIESVGBug() do?
guardIESVGBug() is a function in the vue codebase, defined in src/compiler/parser/index.ts.
Where is guardIESVGBug() defined?
guardIESVGBug() is defined in src/compiler/parser/index.ts at line 972.
What calls guardIESVGBug()?
guardIESVGBug() is called by 1 function(s): parse.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free