Sha256: 1f20a2c619150b0e614ec5e085c55d7d1f233d1d68dc984ec46680edf6c956a3

Contents?: true

Size: 996 Bytes

Versions: 19

Compression:

Stored size: 996 Bytes

Contents

{"version":3,"file":"devtools.js","sources":["../src/devtools.js","../src/index.js"],"sourcesContent":["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.6.5', options, {\n\t\t\tFragment,\n\t\t\tComponent\n\t\t});\n\t}\n}\n","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"],"names":["window","__PREACT_DEVTOOLS__","attachPreact","options","Fragment","Component","value","name"],"mappings":"wBAGsB,oBAAVA,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,SAAUC,UAAS,CAC1DC,SAAAA,WACAC,UAAAA,kCCGI,SAAqBC,EAAOC,UAC9BJ,eACHA,cAAqBI,GAEfD"}

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
isomorfeus-preact-10.6.33 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.32 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.31 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.30 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.29 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.28 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.27 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.26 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.25 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.24 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.23 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.22 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.21 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.20 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.19 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.18 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.17 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.16 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.15 node_modules/preact/devtools/dist/devtools.js.map