diff --git a/js/app.js b/js/app.js index f70d8ea1d..19c97994e 100644 --- a/js/app.js +++ b/js/app.js @@ -217,7 +217,7 @@ var App = React.createClass({ -

The version of LBRY you're using is not up to date. Choose "Upgrade" to get the latest version.

+

Your version of LBRY is out of date and may be unreliable or insecure.

{this.state.isOldOSX ?

Before installing the new version, make sure to exit LBRY. If you started the app, click the LBRY icon in your status bar and choose "Quit."

: null} diff --git a/js/component/common.js b/js/component/common.js index f76ae789b..c2a152984 100644 --- a/js/component/common.js +++ b/js/component/common.js @@ -30,8 +30,6 @@ export let TruncatedText = React.createClass({ } }, componentDidMount: function() { - console.log('span is', this.refs.span); - console.log('type of lines is', typeof this.props.lines) $clamp(this.refs.span, { clamp: this.props.lines || this.props.height || 'auto', }); diff --git a/js/page/watch.js b/js/page/watch.js index 4351c2132..2bc3580e7 100644 --- a/js/page/watch.js +++ b/js/page/watch.js @@ -1,7 +1,9 @@ import React from 'react'; import lbry from '../lbry.js'; +import LoadScreen from '../component/load_screen.js' import MediaElementPlayer from 'mediaelement'; + var WatchPage = React.createClass({ propTypes: { name: React.PropTypes.string, diff --git a/package.json b/package.json index 14b1eca0d..40ef3d434 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "babel-plugin-react-require": "^3.0.0", "babel-preset-es2015": "^6.18.0", "babel-preset-react": "^6.16.0", + "babel-polyfill": "^6.20.0", "eslint": "^3.10.2", "eslint-config-airbnb": "^13.0.0", "eslint-loader": "^1.6.1", diff --git a/webpack.config.js b/webpack.config.js index 2e479d119..34b4bdffc 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -6,7 +6,7 @@ const PATHS = { }; module.exports = { - entry: "./js/main.js", + entry: ['babel-polyfill', './js/main.js'], output: { path: path.join(PATHS.dist, 'js'), publicPath: '/js/',