From b044ba3ac9889677ecf48c275e2f677d3516ad5b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 10 Aug 2012 10:37:22 +0800 Subject: [PATCH] tools/build_gtk_tree.js --- tools/build_gtk_tree.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/build_gtk_tree.js b/tools/build_gtk_tree.js index 50d5037e9..7e5b6b38e 100644 --- a/tools/build_gtk_tree.js +++ b/tools/build_gtk_tree.js @@ -273,10 +273,7 @@ function BuildLists () { function is_a(cls, instance_of) { - if (methods[cls].extendsClasses.indexOf(instance_of) > -1) { - return true; - } - return false; + return methods[cls].extendsClasses.indexOf(instance_of) > -1; } function verifyUsage(parent,child) -- 2.39.2