aboutsummaryrefslogtreecommitdiffstats
path: root/src/jqLite.js
diff options
context:
space:
mode:
authorMisko Hevery2010-04-22 15:50:20 -0700
committerMisko Hevery2010-04-22 15:50:20 -0700
commit2a9669e1d853d4e18d2eb1f07e84ee5baec838c2 (patch)
tree7f801ad292825b61514b2edf6d15f008c47a844f /src/jqLite.js
parentd7416c4c823b9e74d0c725cffb6f333be9432fba (diff)
downloadangular.js-2a9669e1d853d4e18d2eb1f07e84ee5baec838c2.tar.bz2
working on jQuery passing tests
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);