Browse Source

Add missing semicolons, and set correct assignment in AWDLoader

Tristan Valcke 8 years ago
parent
commit
6e99cf6132
1 changed files with 3 additions and 3 deletions
  1. 3 3
      examples/js/loaders/AWDLoader.js

+ 3 - 3
examples/js/loaders/AWDLoader.js

@@ -52,7 +52,7 @@
 
 
 	}
 	}
 
 
-	AWDProperties = function() {}
+	AWDProperties = function() {};
 
 
 	AWDProperties.prototype = {
 	AWDProperties.prototype = {
 		set : function( key, value ) {
 		set : function( key, value ) {
@@ -68,7 +68,7 @@
 			else return fallback;
 			else return fallback;
 
 
 		}
 		}
-	}
+	};
 
 
 	THREE.AWDLoader = function ( manager ) {
 	THREE.AWDLoader = function ( manager ) {
 
 
@@ -81,7 +81,7 @@
 		this._url     = '';
 		this._url     = '';
 		this._baseDir = '';
 		this._baseDir = '';
 
 
-		this._data;
+		this._data = undefined;
 		this._ptr = 0;
 		this._ptr = 0;
 
 
 		this._version =  [];
 		this._version =  [];