@wordpress/block-library
Version:
Block library for the WordPress editor.
1 lines • 549 B
Source Map (JSON)
{"version":3,"file":"view.cjs","names":["store","browserSupportsPdfs"],"sources":["../../src/file/view.js"],"sourcesContent":["import { store } from '@wordpress/interactivity';\nimport { browserSupportsPdfs } from './utils';\n\nstore(\n\t'core/file',\n\t{\n\t\tstate: {\n\t\t\tget hasPdfPreview() {\n\t\t\t\treturn browserSupportsPdfs();\n\t\t\t},\n\t\t},\n\t},\n\t{ lock: true }\n);\n"],"mappings":";;;;;;;;CAGAA,GAAAA,yBAAAA,MAAAA,CACC,aACA,EACC,OAAO,EACN,IAAI,gBAAgB;CACnB,QAAA,GAAOC,iBAAAA,oBAAAA,CAAoB;AAC5B,EACD,EACD,GACA,EAAE,MAAM,KAAK,CACd"}