Browse Source

Loaders: Clean up

Mugen87 7 years ago
parent
commit
681e9ac34c
2 changed files with 2 additions and 4 deletions
  1. 2 2
      examples/js/loaders/GCodeLoader.js
  2. 0 2
      examples/js/loaders/XLoader.js

+ 2 - 2
examples/js/loaders/GCodeLoader.js

@@ -80,13 +80,13 @@ THREE.GCodeLoader.prototype.parse = function ( data ) {
 
 	}
 
-	function absolute ( v1, v2 ) {
+	function absolute( v1, v2 ) {
 
 		return state.relative ? v1 + v2 : v2;
 
 	}
 
-	var lines = data.replace( /;.+/g,'' ).split( '\n' );
+	var lines = data.replace( /;.+/g, '' ).split( '\n' );
 
 	for ( var i = 0; i < lines.length; i ++ ) {
 

+ 0 - 2
examples/js/loaders/XLoader.js

@@ -201,8 +201,6 @@
 
 	};
 
-	"use strict";
-
 	var XLoader = function () {
 
 		function XLoader( manager, texloader ) {