Skip to content

Commit

Permalink
XLoader: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed May 22, 2017
1 parent 8b3bd82 commit 9087458
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/js/loaders/XLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ THREE.XLoader.prototype = {
var scope = this;
var find = scope.data.indexOf(";", _baseOffset);
find = scope.data.indexOf(";", find + 2);
find2 = scope.data.indexOf(";", find + 2);
var find2 = scope.data.indexOf(";", find + 2);
var _data = scope.data.substr(find + 1, find2 - find + 1);
var v_data = _data.split(",");
for (var i = 0; i < v_data.length; i++) {
Expand Down Expand Up @@ -1450,7 +1450,7 @@ THREE.XLoader.XAnimationObj.prototype = {

make: function (XAnimationInfoArray, mesh) {

scope = this;
var scope = this;
var keys = Object.keys(XAnimationInfoArray);
var hierarchy_tmp = [];
for (var i = 0; i < keys.length; i++) {
Expand Down Expand Up @@ -1572,4 +1572,3 @@ THREE.XLoader.XKeyFrameInfo = function () {
this.matrix = null;

};

0 comments on commit 9087458

Please sign in to comment.