Sha256: 0f7b11f57394eb9b0136fbb27a0d07c693e5bd7dd37d22abc216af354dcc7881

Contents?: true

Size: 997 Bytes

Versions: 7

Compression:

Stored size: 997 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.5.14', 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,UAAWC,UAAS,CAC3DC,SAAAA,WACAC,UAAAA,kCCGI,SAAqBC,EAAOC,UAC9BJ,eACHA,cAAqBI,GAEfD"}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
isomorfeus-preact-10.5.8 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.5.7 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.5.6 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.5.5 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.5.4 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.5.3 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.5.2 node_modules/preact/devtools/dist/devtools.js.map