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
  a8a536b1_b93d_ee72_7ba3_79c7aab21b4d["util.ts"]
  09aa5370_2caa_6b33_3f44_6ac5211bd11b["util"]
  a8a536b1_b93d_ee72_7ba3_79c7aab21b4d --> 09aa5370_2caa_6b33_3f44_6ac5211bd11b
  c617a26f_747b_ad91_805e_3599015c7466["options.ts"]
  c617a26f_747b_ad91_805e_3599015c7466 --> a8a536b1_b93d_ee72_7ba3_79c7aab21b4d
  style a8a536b1_b93d_ee72_7ba3_79c7aab21b4d 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