Merge pull request #121 from lbryio/master
Sync development with fixes in Master
This commit is contained in:
commit
5a9d095a44
5 changed files with 5 additions and 4 deletions
|
@ -217,7 +217,7 @@ var App = React.createClass({
|
||||||
</Modal>
|
</Modal>
|
||||||
<Modal isOpen={this.state.modal == 'upgrade'} type="confirm" confirmButtonLabel="Upgrade" abortButtonLabel="Skip"
|
<Modal isOpen={this.state.modal == 'upgrade'} type="confirm" confirmButtonLabel="Upgrade" abortButtonLabel="Skip"
|
||||||
onConfirmed={this.handleUpgradeClicked} onAborted={this.handleSkipClicked} >
|
onConfirmed={this.handleUpgradeClicked} onAborted={this.handleSkipClicked} >
|
||||||
<p>The version of LBRY you're using is not up to date. Choose "Upgrade" to get the latest version.</p>
|
<p>Your version of LBRY is out of date and may be unreliable or insecure.</p>
|
||||||
{this.state.isOldOSX
|
{this.state.isOldOSX
|
||||||
? <p>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."</p>
|
? <p>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."</p>
|
||||||
: null}
|
: null}
|
||||||
|
|
|
@ -30,8 +30,6 @@ export let TruncatedText = React.createClass({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
componentDidMount: function() {
|
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.refs.span, {
|
||||||
clamp: this.props.lines || this.props.height || 'auto',
|
clamp: this.props.lines || this.props.height || 'auto',
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import lbry from '../lbry.js';
|
import lbry from '../lbry.js';
|
||||||
|
import LoadScreen from '../component/load_screen.js'
|
||||||
import MediaElementPlayer from 'mediaelement';
|
import MediaElementPlayer from 'mediaelement';
|
||||||
|
|
||||||
|
|
||||||
var WatchPage = React.createClass({
|
var WatchPage = React.createClass({
|
||||||
propTypes: {
|
propTypes: {
|
||||||
name: React.PropTypes.string,
|
name: React.PropTypes.string,
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
"babel-plugin-react-require": "^3.0.0",
|
"babel-plugin-react-require": "^3.0.0",
|
||||||
"babel-preset-es2015": "^6.18.0",
|
"babel-preset-es2015": "^6.18.0",
|
||||||
"babel-preset-react": "^6.16.0",
|
"babel-preset-react": "^6.16.0",
|
||||||
|
"babel-polyfill": "^6.20.0",
|
||||||
"eslint": "^3.10.2",
|
"eslint": "^3.10.2",
|
||||||
"eslint-config-airbnb": "^13.0.0",
|
"eslint-config-airbnb": "^13.0.0",
|
||||||
"eslint-loader": "^1.6.1",
|
"eslint-loader": "^1.6.1",
|
||||||
|
|
|
@ -6,7 +6,7 @@ const PATHS = {
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: "./js/main.js",
|
entry: ['babel-polyfill', './js/main.js'],
|
||||||
output: {
|
output: {
|
||||||
path: path.join(PATHS.dist, 'js'),
|
path: path.join(PATHS.dist, 'js'),
|
||||||
publicPath: '/js/',
|
publicPath: '/js/',
|
||||||
|
|
Loading…
Add table
Reference in a new issue