@wordpress/block-library
Version:
Block library for the WordPress editor.
8 lines (7 loc) • 626 B
Source Map (JSON)
{
"version": 3,
"sources": ["../../src/file/view.js"],
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { store } from '@wordpress/interactivity';\n/**\n * Internal dependencies\n */\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": ";;;AAGA,2BAAsB;AAItB,mBAAoC;AAAA,IAEpC;AAAA,EACC;AAAA,EACA;AAAA,IACC,OAAO;AAAA,MACN,IAAI,gBAAgB;AACnB,mBAAO,kCAAoB;AAAA,MAC5B;AAAA,IACD;AAAA,EACD;AAAA,EACA,EAAE,MAAM,KAAK;AACd;",
"names": []
}