kill(merge): removing merge fn - dead buggy code with no specs

This commit is contained in:
Igor Minar 2011-08-31 22:32:27 -07:00
parent 93f96a16f6
commit 825cbadf80

View file

@ -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) {