From 8dfa48c90cbf2301db7a44b2795a1d6476667bf5 Mon Sep 17 00:00:00 2001 From: behzad abbasi Date: Sun, 7 Jun 2015 14:53:43 +0430 Subject: [PATCH] Update Angular.js --- src/Angular.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Angular.js b/src/Angular.js index 824c0a9d70c8..d28053ddfd80 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -869,8 +869,8 @@ function copy(source, destination, stackSource, stackDest) { } } return destination; - - function putValue(key, val, destination, stackSource, stackDest) { +} +function putValue(key, val, destination, stackSource, stackDest) { // No context allocation, trivial outer scope, easily inlined var result = copy(val, null, stackSource, stackDest); if (isObject(val)) { @@ -879,8 +879,6 @@ function copy(source, destination, stackSource, stackDest) { } destination[key] = result; } -} - /** * Creates a shallow copy of an object, an array or a primitive. *