Merged code, moved some code from constructor to componentDidMount to avoid bugs on really slow devices
This commit is contained in:
@@ -10,6 +10,8 @@ exports.connect = function(done){
|
||||
host: 'localhost',
|
||||
user: 'admin_seng440',
|
||||
password: 'seng440',
|
||||
// user: 'root',
|
||||
// password: '',
|
||||
port: 3306,
|
||||
database: "admin_territory-walker",
|
||||
//multipleStatements: true
|
||||
|
||||
Generated
+284
-284
File diff suppressed because it is too large
Load Diff
@@ -95,7 +95,7 @@ module.exports = {
|
||||
});
|
||||
|
||||
let area = mathFunc.calculateArea(points);
|
||||
module.exports.polygonDestruction(res, gameID, userID, polygonPoints, area, polygonsMerged);
|
||||
// module.exports.polygonDestruction(res, gameID, userID, polygonPoints, area, polygonsMerged);
|
||||
module.exports.submitFinalCollation(res, gameID, userID, polygonPoints, area, polygonsMerged);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user