MCPcopy Create free account
hub / github.com/microsoft/SandDance / embedHtml

Function embedHtml

docs/app/js/sanddance-app.js:11790–11818  ·  view source on GitHub ↗
(title, embed)

Source from the content-addressed store, hash-verified

11788parcelHelpers.defineInteropFlag(exports);
11789parcelHelpers.export(exports, "embedHtml", ()=>embedHtml);
11790const embedHtml = (title, embed)=>`<!DOCTYPE html>
11791<html lang="en">
11792
11793<head>
11794 <meta charset="UTF-8">
11795 <meta name="viewport" content="width=device-width, initial-scale=1.0">
11796 <title>${title}</title>
11797 <link rel="stylesheet" type="text/css"
11798 href="https://unpkg.com/@msrvida/sanddance-embed@3/dist/css/sanddance-embed.css" />
11799 <link rel="stylesheet" type="text/css"
11800 href="https://unpkg.com/@msrvida/sanddance-explorer@3/dist/css/sanddance-explorer.css" />
11801</head>
11802
11803<body>
11804 <script src="https://unpkg.com/react@16.13/umd/react.production.min.js" crossorigin></script>
11805 <script src="https://unpkg.com/react-dom@16.13/umd/react-dom.production.min.js" crossorigin></script>
11806 <script src="https://unpkg.com/deck.gl@8.3.7/dist.min.js"></script>
11807 <script src="https://unpkg.com/vega@5.17/build/vega.min.js"></script>
11808 <script src="https://unpkg.com/@fluentui/react@7.150/dist/fluentui-react.js"></script>
11809 <script src="https://unpkg.com/@msrvida/sanddance-explorer@3/dist/umd/sanddance-explorer.js"></script>
11810 <script src="https://unpkg.com/@msrvida/sanddance-embed@3/dist/umd/sanddance-embed.js"></script>
11811
11812 <div id="app"></div>
11813
11814 ${embed}
11815
11816</body>
11817
11818</html>`;
11819
11820},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"7GONW":[function(require,module,exports) {
11821var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected