Declare var in for
This commit is contained in:
parent
25d6bd5ab6
commit
3fb12315ec
|
|
@ -1940,8 +1940,7 @@ var tarteaucitron = {
|
||||||
/**
|
/**
|
||||||
Utility function to Add or update the fields of obj1 with the ones in obj2
|
Utility function to Add or update the fields of obj1 with the ones in obj2
|
||||||
*/
|
*/
|
||||||
var key;
|
for(var key in custom){
|
||||||
for(key in custom){
|
|
||||||
if(custom[key] instanceof Object){
|
if(custom[key] instanceof Object){
|
||||||
source[key] = tarteaucitron.AddOrUpdate(source[key], custom[key]);
|
source[key] = tarteaucitron.AddOrUpdate(source[key], custom[key]);
|
||||||
}else{
|
}else{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue