Sha256: 2f5c35e346e56d68e14940136e7b448a29b392066fb1ad3e70a472d083ebfb83

Contents?: true

Size: 1000 Bytes

Versions: 19

Compression:

Stored size: 1000 Bytes

Contents

{"version":3,"file":"devtools.umd.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":"0NAGsB,oBAAVA,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,SAAUC,UAAS,CAC1DC,SAAAA,WACAC,UAAAA,4BCGI,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.umd.js.map
isomorfeus-preact-10.6.32 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.31 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.30 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.29 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.28 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.27 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.26 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.25 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.24 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.23 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.22 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.21 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.20 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.19 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.18 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.17 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.16 node_modules/preact/devtools/dist/devtools.umd.js.map
isomorfeus-preact-10.6.15 node_modules/preact/devtools/dist/devtools.umd.js.map