Sha256: 27f444dcd0f63a7ec4112d6b5417ed1c7b7aec0041c786a6c2b0497bfb5ba6ee

Contents?: true

Size: 1022 Bytes

Versions: 13

Compression:

Stored size: 1022 Bytes

Contents

{"version":3,"file":"devtools.modern.js","sources":["../src/index.js","../src/devtools.js"],"sourcesContent":["import { options } from 'preact';\nimport { initDevTools } from './devtools';\n\ninitDevTools();\n\n/**\n * Display a custom label for a custom hook for the devtools panel\n * @type {<T>(value: T, name: string) => T}\n */\nexport function addHookName(value, name) {\n\tif (options._addHookName) {\n\t\toptions._addHookName(name);\n\t}\n\treturn value;\n}\n","import { options, Fragment, Component } from 'preact';\n\nexport function initDevTools() {\n\tif (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {\n\t\twindow.__PREACT_DEVTOOLS__.attachPreact('10.5.13', options, {\n\t\t\tFragment,\n\t\t\tComponent\n\t\t});\n\t}\n}\n"],"names":["addHookName","value","name","options","window","__PREACT_DEVTOOLS__","attachPreact","Fragment","Component"],"mappings":"uEASgBA,EAAYC,EAAOC,GAIlC,OAHIC,OACHA,MAAqBD,GAEfD,ECVc,oBAAVG,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,UAAWH,EAAS,CAC3DI,SAAAA,EACAC,UAAAA"}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
isomorfeus-preact-10.6.2 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.6.1 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.6.0 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.5.11 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.5.10 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.5.9 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.5.8 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.5.7 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.5.6 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.5.5 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.5.4 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.5.3 node_modules/preact/devtools/dist/devtools.modern.js.map
isomorfeus-preact-10.5.2 node_modules/preact/devtools/dist/devtools.modern.js.map