From 5276403e39731102c207489c88fc6023f20d2d9a Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sat, 2 Jun 2012 13:19:32 +0100 Subject: [PATCH] Make sure all tree nodes have an addClass method --- core/modules/treenodes/node.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/modules/treenodes/node.js b/core/modules/treenodes/node.js index 75c4e5c55..c98ccff21 100644 --- a/core/modules/treenodes/node.js +++ b/core/modules/treenodes/node.js @@ -75,6 +75,13 @@ Node.prototype.refreshInDom = function(changes) { }; +/* +Add a class to the node +*/ +Node.prototype.addClass = function(className) { + +}; + exports.Node = Node; })();