Roo.js
[roojs1] / Roo.js
diff --git a/Roo.js b/Roo.js
index f76abd4..d91c443 100644 (file)
--- a/Roo.js
+++ b/Roo.js
@@ -573,11 +573,12 @@ Roo.factory(conf, Roo.data);
                 
         /**
          * Selects a single element as a Roo Element
+         * This is about as close as you can get to jQuery's $('do crazy stuff')
          * @param {String} selector The selector/xpath query
          * @param {Node} root (optional) The start of the query (defaults to document).
          * @return {Roo.Element}
          */
-        selectNode : element(selector, root) 
+        selectNode : function(selector, root) 
         {
             var node = Roo.DomQuery.selectNode(selector,root);
             return node ? Roo.get(node) : false;