提交 adf90cf1 编写于 作者: M Mugen87

NodeLib: Clean up

上级 4b141b92
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册