aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIgor Minar2011-08-31 22:32:27 -0700
committerIgor Minar2011-08-31 22:32:27 -0700
commit825cbadf80a7eef3fbba04454086470b6ee6a4d7 (patch)
tree1423faa1c70b7131b8aad6f7c51d73b715e998ae /src
parent93f96a16f6a4744ece493135552f694a925f2802 (diff)
downloadangular.js-825cbadf80a7eef3fbba04454086470b6ee6a4d7.tar.bz2
kill(merge): removing merge fn - dead buggy code with no specs
Diffstat (limited to 'src')
-rw-r--r--src/Angular.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 1952b48e..69d52a2a 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -862,19 +862,6 @@ function toBoolean(value) {
return value;
}
-function merge(src, dst) {
- for ( var key in src) {
- var value = dst[key];
- var type = typeof value;
- if (type == $undefined) {
- dst[key] = fromJson(toJson(src[key]));
- } else if (type == 'object' && value.constructor != array &&
- key.substring(0, 1) != "$") {
- merge(src[key], value);
- }
- }
-}
-
/** @name angular.compile */
function compile(element) {