kopia lustrzana https://github.com/OpenDroneMap/WebODM
Added proposed changes by @mojodna, dropped react-addons-update upgraded to use immutability-helper
rodzic
ec74ab6def
commit
51673bb4bc
|
@ -2,7 +2,7 @@ import React from 'react';
|
|||
import './css/Console.scss';
|
||||
import './vendor/google-code-prettify/prettify';
|
||||
import './vendor/google-code-prettify/prettify.css';
|
||||
import update from 'react-addons-update';
|
||||
import update from 'immutability-helper';
|
||||
import Utils from './classes/Utils';
|
||||
|
||||
class Console extends React.Component {
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
import React from 'react';
|
||||
import update from 'react-addons-update';
|
||||
import update from 'immutability-helper';
|
||||
|
||||
/*abstract*/ class Paginated extends React.Component{
|
||||
class Paginated extends React.Component{
|
||||
constructor(){
|
||||
super();
|
||||
this.handlePageChange = this.handlePageChange.bind(this);
|
||||
}
|
||||
|
||||
updatePagination(itemsPerPage, totalItems){
|
||||
|
@ -23,8 +24,6 @@ import update from 'react-addons-update';
|
|||
currentPage: currentPage
|
||||
}
|
||||
});
|
||||
|
||||
this.handlePageChange = this.handlePageChange.bind(this);
|
||||
}
|
||||
|
||||
totalPages(itemsPerPage, totalItems){
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import '../css/ProjectListItem.scss';
|
||||
import React from 'react';
|
||||
import update from 'react-addons-update';
|
||||
import update from 'immutability-helper';
|
||||
import TaskList from './TaskList';
|
||||
import EditTaskPanel from './EditTaskPanel';
|
||||
import UploadProgressBar from './UploadProgressBar';
|
||||
|
|
|
@ -30,12 +30,12 @@
|
|||
"css-loader": "^0.25.0",
|
||||
"extract-text-webpack-plugin": "^1.0.1",
|
||||
"file-loader": "^0.9.0",
|
||||
"immutability-helper": "^2.0.0",
|
||||
"leaflet": "^1.0.1",
|
||||
"leaflet-measure": "^2.0.5",
|
||||
"node-sass": "^3.10.1",
|
||||
"object.values": "^1.0.3",
|
||||
"react": "^15.3.2",
|
||||
"react-addons-update": "^15.3.2",
|
||||
"react-dom": "^15.3.2",
|
||||
"react-hot-loader": "^3.0.0-beta.5",
|
||||
"sass-loader": "^4.0.2",
|
||||
|
|
Ładowanie…
Reference in New Issue