diff --git a/client/modules/App/App.js b/client/modules/App/App.js index 5598225d..61896cf7 100644 --- a/client/modules/App/App.js +++ b/client/modules/App/App.js @@ -1,6 +1,7 @@ import React, { PropTypes } from 'react'; import { connect } from 'react-redux'; import DevTools from './components/DevTools'; +require('es6-promise').polyfill(); class App extends React.Component { constructor(props, context) { diff --git a/client/modules/IDE/components/Toolbar.js b/client/modules/IDE/components/Toolbar.js index c7f8d00e..da289b1b 100644 --- a/client/modules/IDE/components/Toolbar.js +++ b/client/modules/IDE/components/Toolbar.js @@ -1,11 +1,10 @@ import React, { PropTypes } from 'react'; - -const Isvg = require('react-inlinesvg'); +const InlineSVG = require('react-inlinesvg'); const playUrl = require('../../../images/play.svg'); const logoUrl = require('../../../images/p5js-logo.svg'); const stopUrl = require('../../../images/stop.svg'); const preferencesUrl = require('../../../images/preferences.svg'); -const classNames = require('classnames'); +import classNames from 'classnames'; function Toolbar(props) { let playButtonClass = classNames({ @@ -25,13 +24,13 @@ function Toolbar(props) {
p5js Logo