From 4efaf9c28efd98be7d171380844e14bb77da0e8a Mon Sep 17 00:00:00 2001 From: sunag Date: Thu, 8 Aug 2019 13:06:47 -0300 Subject: [PATCH] Identity operator. --- examples/jsm/nodes/core/FunctionNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/jsm/nodes/core/FunctionNode.js b/examples/jsm/nodes/core/FunctionNode.js index f32db28a5f..32403c57ed 100644 --- a/examples/jsm/nodes/core/FunctionNode.js +++ b/examples/jsm/nodes/core/FunctionNode.js @@ -186,7 +186,7 @@ FunctionNode.prototype.parse = function ( src, includes, extensions, keywords ) var qualifier = inputs[ i ++ ]; var type, name; - if ( qualifier == 'in' || qualifier == 'out' || qualifier == 'inout' ) { + if ( qualifier === 'in' || qualifier === 'out' || qualifier === 'inout' ) { type = inputs[ i ++ ]; -- GitLab