MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / debugAttributeStore

Function debugAttributeStore

packages/nativescript-inspector/src/index.ts:179–192  ·  view source on GitHub ↗
(node: any)

Source from the content-addressed store, hash-verified

177}
178
179function debugAttributeStore(node: any): Map<string, string> {
180 let attributes = node[nativeScriptDebugAttributes] as
181 | Map<string, string>
182 | undefined;
183 if (!attributes) {
184 attributes = new Map<string, string>();
185 Object.defineProperty(node, nativeScriptDebugAttributes, {
186 configurable: false,
187 enumerable: false,
188 value: attributes,
189 });
190 }
191 return attributes;
192}
193
194function installAngularSourceLocationCaptureShim(): void {
195 if (angularSourceLocationCaptureInstalled) {

Callers 5

hasAttributeFunction · 0.85
getAttributeFunction · 0.85
setAttributeFunction · 0.85
removeAttributeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected