Skip to content

Commit

Permalink
Remove optional require('three')
Browse files Browse the repository at this point in the history
  • Loading branch information
deathcap committed Jan 14, 2014
1 parent 6a90b85 commit 57998e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ function TextureSimple(game, opts) {
map.wrapS = self.THREE.RepeatWrapping;
};

this.THREE = this.game.THREE || opts.THREE || require('three');
this.THREE = this.game.THREE || opts.THREE;
this.materials = [];
this.names = [];
this.texturePath = opts.texturePath || '/textures/';
Expand Down

0 comments on commit 57998e0

Please sign in to comment.