MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / readableLayerName

Method readableLayerName

front_end/core/sdk/CSSModel.ts:152–154  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

150 }
151
152 static readableLayerName(text: string): string {
153 return text || '<anonymous>';
154 }
155
156 static trimSourceURL(text: string): string {
157 let sourceURLIndex = text.lastIndexOf('/*# sourceURL=');

Callers 2

createLayerBlockMethod · 0.80
makeTreeNodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected