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, 3 insertions, 1 deletions
diff --git a/src/jqLite.js b/src/jqLite.js
index 206c1d70..01a563b6 100644
--- a/src/jqLite.js
+++ b/src/jqLite.js
@@ -251,8 +251,10 @@ JQLite.prototype = {
return jqLite(this[0].parentNode);
},
- clone: function() { return jqLite(this[0].cloneNode(true)); }
+ clone: cloneNode,
+ cloneNode: cloneNode
};
+function cloneNode() { return jqLite(this[0].cloneNode(true)); }
if (msie) {
extend(JQLite.prototype, {