From 2a9669e1d853d4e18d2eb1f07e84ee5baec838c2 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 22 Apr 2010 15:50:20 -0700 Subject: working on jQuery passing tests --- src/jqLite.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/jqLite.js') diff --git a/src/jqLite.js b/src/jqLite.js index 36248e71..ec1c52d2 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -118,6 +118,10 @@ JQLite.prototype = { this[0].parentNode.replaceChild(jqLite(replaceNode)[0], this[0]); }, + children: function() { + return new JQLite(this[0].childNodes); + }, + append: function(node) { var self = this[0]; node = jqLite(node); -- cgit v1.2.3