Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
var VIEW_MIME_TYPE = "application/vnd.jupyter.widget-view+json"
var htmlManagerVersion = require("@jupyter-widgets/html-manager/package.json").version;
var embed_widgets = function() {
/**
* Escape a string that will be the content of an HTML script tag.
*
* We replace the opening bracket of