Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed Nov 15, 2018
1 parent 8bab9a3 commit 34c3b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/js/loaders/GLTFDRACOLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ THREE.GLTFDRACOLoader.prototype = {

if ( !this.workerSourceURL ) {

var fn = GLTFDRACOWorker.toString(); // this part may fail!
var fn = GLTFDRACOWorker.toString();
var body = fn.substring( fn.indexOf( '{' ) + 1, fn.lastIndexOf( '}' ) );
this.workerSourceURL = URL.createObjectURL( new Blob( [ body ] ) );

Expand Down

0 comments on commit 34c3b24

Please sign in to comment.