JsHint
This commit is contained in:
2
js/l3d/apps/prototype/Coin.js
vendored
2
js/l3d/apps/prototype/Coin.js
vendored
@@ -23,7 +23,7 @@ Coin.setSize = function(width,height) {
|
||||
this.domElement.width = width;
|
||||
this.domElement.height = height;
|
||||
this.update();
|
||||
}
|
||||
};
|
||||
|
||||
Coin.image = new Image();
|
||||
Coin.image.src = '/static/img/redcoin.png';
|
||||
|
||||
@@ -108,13 +108,13 @@ TutorialSteps.prototype.addCoin = function(coin) {
|
||||
this.coins.push(coin);
|
||||
coin.addToScene(this.scene);
|
||||
this.clickableObjects.push(coin);
|
||||
}
|
||||
};
|
||||
|
||||
TutorialSteps.prototype.addRecommendation = function(reco) {
|
||||
this.cameras.push(reco);
|
||||
reco.addToScene(this.scene);
|
||||
this.clickableObjects.push(reco);
|
||||
}
|
||||
};
|
||||
|
||||
TutorialSteps.prototype.nextStep = function() {
|
||||
if (this.step < this.instructions.length) {
|
||||
|
||||
Reference in New Issue
Block a user