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
  0485f3cb_c3b3_9bf3_1eed_c0cc3e1c9ee0["guardIESVGBug()"]
  c27f0203_4eed_0348_4118_e8e105adc6ee["parse()"]
  c27f0203_4eed_0348_4118_e8e105adc6ee -->|calls| 0485f3cb_c3b3_9bf3_1eed_c0cc3e1c9ee0
  style 0485f3cb_c3b3_9bf3_1eed_c0cc3e1c9ee0 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
}

Subdomains

Called By

Frequently Asked Questions

What does guardIESVGBug() do?
guardIESVGBug() is a function in the vue codebase.
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