Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React, { PropTypes } from 'react';
import * as Core from 'spectacle';
import sanitizeHtml from 'sanitize-html';
import theme from '../theme';
import Syntax from './syntax';
import migrate from '../migrations';
import { passAllowedSpectacleElements, sanitizeUri } from '../util/sanitize';
const { Spectacle, Deck, Slide, Appear } = Core;
Core.Plotly = ({src, style, height, width, scrolling, frameBorder, name}) => (