Skip to content

Commit 3dfc7b1

Browse files
committed
Cleanup
1 parent 1c2882b commit 3dfc7b1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Chapter 11/futurgoCity.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ FuturgoCity = function(param) {
1111
this.mouseOverCallback = param.mouseOverCallback;
1212
this.mouseOutCallback = param.mouseOutCallback;
1313
this.mouseClickCallback = param.mouseClickCallback;
14-
this.startTestDriveCallback = param.startTestDriveCallback;
15-
this.endTestDriveCallback = param.startTestDriveCallback;
1614
this.part_materials = [];
1715
this.testDriveRunning = false;
1816
this.wheelsMoving = false;
@@ -396,9 +394,6 @@ FuturgoCity.prototype.startTestDrive = function(event) {
396394

397395
}, 2000);
398396

399-
400-
if (this.startTestDriveCallback)
401-
this.startTestDriveCallback();
402397
}
403398

404399
FuturgoCity.prototype.endTestDrive = function(event) {
@@ -451,10 +446,6 @@ FuturgoCity.prototype.endTestDrive = function(event) {
451446
that.playCloseAnimations();
452447
}, 2000);
453448

454-
455-
if (this.endTestDriveCallback)
456-
this.endTestDriveCallback();
457-
458449
}
459450

460451
FuturgoCity.prototype.tour = function() {

0 commit comments

Comments
 (0)