Roo.js
[roojs1] / Roo.js
diff --git a/Roo.js b/Roo.js
index ef9a8c8..b3ff193 100644 (file)
--- a/Roo.js
+++ b/Roo.js
@@ -182,7 +182,7 @@ Roo.apply = function(o, c, defaults){
 
             marked = cloned || {};
 
-            switch (L.type(o)) {
+            switch (this.type(o)) {
                 case 'date':
                     return new Date(o);
                 case 'regexp':