Remove progressbar.min.js from webpack.config.

This commit is contained in:
Kenshin 2017-12-22 12:07:21 +08:00
parent 77fac5638a
commit 2a7e820180
2 changed files with 0 additions and 33 deletions

View File

@ -1,28 +1,5 @@
console.log( "==== simpread read component: ProcessBar ====" )
import Progress from 'progress';
/*
const options = {
strokeWidth: 4,
easing : "easeInOut",
duration : 1000,
trailColor : "#fff",
trailWidth : 0,
svgStyle : {
width : "100%",
height : "100%",
display: "block",
top : "0",
},
from : { color: "#64B5F6" },
to : { color: "#304FFE" },
step : ( state, bar ) => {
bar.path.setAttribute( "stroke", state.color );
},
};
*/
export default class ProcessBar extends React.Component {
static defaultProps = {
@ -54,15 +31,6 @@ export default class ProcessBar extends React.Component {
return (
this.props.show && <read-process style={{ "width": `${progress}%` }}></read-process>
)
/*
const progress = !Number.isFinite( this.state.progress ) ? 0 : this.state.progress;
return (
this.props.show && <Progress type="line" progress={ progress } options={ options }>
<read-process></read-process>
</Progress>
)
*/
}
}

View File

@ -226,7 +226,6 @@ const webpack = require( 'webpack' ),
jquery : __dirname + '/src/vender/jquery-2.1.1.min.js',
mousetrap : __dirname + '/src/vender/mousetrap.min.js',
pangu : __dirname + '/src/vender/pangu.min.js',
progressbar: __dirname + '/src/vender/progressbar.min.js',
velocity : __dirname + '/src/vender/velocity.min.js',
timeago : __dirname + '/src/vender/timeago.min.js',
carousel : __dirname + '/src/vender/carousel/carousel.js',