Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Commit

Permalink
Had the variables for clone in the wrong order.
Browse files Browse the repository at this point in the history
  • Loading branch information
wGEric committed Sep 27, 2010
1 parent 0277064 commit 60f9f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.js
Expand Up @@ -412,9 +412,9 @@ clone: function(obj, deep) {
var newObj = {};

if (deep == true) {
TiQuery.fn.extend(true, newObj, obj);
TiQuery.fn.extend(true, obj, newObj);
} else {
TiQuery.fn.extend(newObj, obj);
TiQuery.fn.extend(obj, newObj);
}

return newObj;
Expand Down

0 comments on commit 60f9f12

Please sign in to comment.