Sha256: 0e5b847641bf41455a5f7bd7aa0676e953d4f5df7e38a429d6fc9837b78c1058

Contents?: true

Size: 1.02 KB

Versions: 12

Compression:

Stored size: 1.02 KB

Contents

{"version":3,"file":"devtools.js","sources":["../src/devtools.js","../src/index.js"],"sourcesContent":["import { options, Fragment, Component } from 'preact';\r\n\r\nexport function initDevTools() {\r\n\tif (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {\r\n\t\twindow.__PREACT_DEVTOOLS__.attachPreact('10.6.4', options, {\r\n\t\t\tFragment,\r\n\t\t\tComponent\r\n\t\t});\r\n\t}\r\n}\r\n","import { options } from 'preact';\r\nimport { initDevTools } from './devtools';\r\n\r\ninitDevTools();\r\n\r\n/**\r\n * Display a custom label for a custom hook for the devtools panel\r\n * @type {<T>(value: T, name: string) => T}\r\n */\r\nexport function addHookName(value, name) {\r\n\tif (options._addHookName) {\r\n\t\toptions._addHookName(name);\r\n\t}\r\n\treturn value;\r\n}\r\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

12 entries across 12 versions & 1 rubygems

Version Path
isomorfeus-preact-10.6.14 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.13 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.12 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.11 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.10 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.9 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.8 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.7 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.6 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.5 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.4 node_modules/preact/devtools/dist/devtools.js.map
isomorfeus-preact-10.6.3 node_modules/preact/devtools/dist/devtools.js.map