From 58c5709331f88ef356a7e69500d52108a9929078 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 26 Nov 2013 16:03:03 +0800 Subject: [PATCH] Roo.js --- Roo.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Roo.js b/Roo.js index 346acb69d7..201f4ec035 100644 --- a/Roo.js +++ b/Roo.js @@ -121,24 +121,6 @@ Roo.apply = function(o, c, defaults){ 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 -- 2.39.2