แก้ coding style ภาค 12

This commit is contained in:
Pitchaya Boonsarngsuk
2018-03-22 16:47:10 +00:00
parent d59e4066d3
commit 7c2900653e
2 changed files with 3 additions and 27 deletions

View File

@@ -74,7 +74,6 @@ $(document).ready(function () {
/**
* Parse the data from the provided csv file using Papa Parse library
* @param {file} evt - csv file.
*/
function parseFile (evt) {
// Clear the previous nodes
d3.selectAll('.nodes').remove();
@@ -90,6 +89,7 @@ function parseFile (evt) {
}
});
}
*/
/**
* Process the data and pass it into D3 force simulation.
@@ -194,7 +194,7 @@ function ticked () {
// if (springForce) {
// intercom.emit("passedData", simulation.force(forceName).distributionData());
// }
if (manualStop && alreadyRanIterations == ITERATIONS) {
if (manualStop && alreadyRanIterations === ITERATIONS) {
ended();
}
}