Some code improvements suggested by linter
[fnpeditor.git] / modules / nodePane / nodePane.js
index a9ef9e4..cc71d35 100644 (file)
@@ -24,12 +24,12 @@ return function(sandbox) {
         getView: function() {\r
             return view;\r
         },\r
-        setNode: function(node) {\r
-            view.find('.rng-module-nodePane-tagSelect').val(node.tag);\r
-            view.find('.rng-module-nodePane-classSelect').val(node.klass);\r
+        setNode: function(canvasNode) {\r
+            view.find('.rng-module-nodePane-tagSelect').val(canvasNode.getTag());\r
+            view.find('.rng-module-nodePane-classSelect').val(canvasNode.getClass());\r
         }\r
-    }\r
+    };\r
     \r
-}\r
+};\r
 \r
 });
\ No newline at end of file