Browse Source

NodeLib: Clean up

Mugen87 6 years ago
parent
commit
adf90cf160
1 changed files with 4 additions and 4 deletions
  1. 4 4
      examples/jsm/nodes/core/NodeLib.js

+ 4 - 4
examples/jsm/nodes/core/NodeLib.js

@@ -39,9 +39,9 @@ var NodeLib = {
 
 	},
 
-	getKeyword: function ( name, material ) {
+	getKeyword: function ( name, builder ) {
 
-		return this.keywords[ name ].callback.call( this, material );
+		return this.keywords[ name ].callback.call( this, builder );
 
 	},
 
@@ -53,13 +53,13 @@ var NodeLib = {
 
 	contains: function ( name ) {
 
-		return this.nodes[ name ] != undefined;
+		return this.nodes[ name ] !== undefined;
 
 	},
 
 	containsKeyword: function ( name ) {
 
-		return this.keywords[ name ] != undefined;
+		return this.keywords[ name ] !== undefined;
 
 	}