Home / File/ util.ts — vue Source File

util.ts — vue Source File

Architecture documentation for util.ts, a typescript file in the vue codebase. 1 imports, 1 dependents.

File typescript WebPlatform 1 imports 1 dependents

Entity Profile

Dependency Diagram

graph LR
  cf439f88_fb81_88c1_67e0_d8c40bf9a34e["util.ts"]
  156bf2e1_8a13_f22d_5437_54f14bcef8fa["util"]
  cf439f88_fb81_88c1_67e0_d8c40bf9a34e --> 156bf2e1_8a13_f22d_5437_54f14bcef8fa
  79e91077_f7a7_0ee1_926a_dbf257c88c51["options.ts"]
  79e91077_f7a7_0ee1_926a_dbf257c88c51 --> cf439f88_fb81_88c1_67e0_d8c40bf9a34e
  style cf439f88_fb81_88c1_67e0_d8c40bf9a34e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { makeMap } from 'shared/util'

export const isUnaryTag = makeMap(
  'area,base,br,col,embed,frame,hr,img,input,isindex,keygen,' +
    'link,meta,param,source,track,wbr'
)

// Elements that you can, intentionally, leave open
// (and which close themselves)
export const canBeLeftOpenTag = makeMap(
  'colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source'
)

// HTML5 tags https://html.spec.whatwg.org/multipage/indices.html#elements-3
// Phrasing Content https://html.spec.whatwg.org/multipage/dom.html#phrasing-content
export const isNonPhrasingTag = makeMap(
  'address,article,aside,base,blockquote,body,caption,col,colgroup,dd,' +
    'details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,' +
    'h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,' +
    'optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,' +
    'title,tr,track'
)

Domain

Dependencies

  • util

Frequently Asked Questions

What does util.ts do?
util.ts is a source file in the vue codebase, written in typescript. It belongs to the WebPlatform domain.
What does util.ts depend on?
util.ts imports 1 module(s): util.
What files import util.ts?
util.ts is imported by 1 file(s): options.ts.
Where is util.ts in the architecture?
util.ts is located at src/platforms/web/compiler/util.ts (domain: WebPlatform, directory: src/platforms/web/compiler).

Analyze Your Own Codebase

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

Try Supermodel Free