aboutsummaryrefslogtreecommitdiffstats
path: root/src/jqLite.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/jqLite.js')
-rw-r--r--src/jqLite.js4
1 files changed, 4 insertions, 0 deletions
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);