projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3adfd4d
)
Roo.js
author
Chris
<chris@roojs.com>
Tue, 26 Nov 2013 08:03:03 +0000
(16:03 +0800)
committer
Chris
<chris@roojs.com>
Tue, 26 Nov 2013 08:03:03 +0000
(16:03 +0800)
Roo.js
patch
|
blob
|
history
diff --git
a/Roo.js
b/Roo.js
index
346acb6
..
201f4ec
100644
(file)
--- a/
Roo.js
+++ b/
Roo.js
@@
-121,24
+121,6
@@
Roo.apply = function(o, c, defaults){
emptyFn : function(){},
emptyFn : function(){},
- /**
- * Clone the object
- *
- *
- */
- clone : function(obj){
- if (obj === null || typeof obj !== 'object') {
- return obj;
- }
-
- var temp = obj.constructor(); // give temp the original obj's constructor
- for (var key in obj) {
- temp[key] = this.clone(obj[key]);
- }
-
- return temp;
- },
-
/**
* Copies all the properties of config to obj if they don't already exist.
* @param {Object} obj The receiver of the properties
/**
* Copies all the properties of config to obj if they don't already exist.
* @param {Object} obj The receiver of the properties