[MERGE] forward port branch 10.0 up to 36ba37a7a1
This commit is contained in:
@@ -173,7 +173,7 @@ var QWeb2 = {
|
||||
new_dict[as_first] = index === 0;
|
||||
new_dict[as_last] = index + 1 === size;
|
||||
new_dict[as_parity] = (index % 2 == 1 ? 'odd' : 'even');
|
||||
if (cur.constructor === Object) {
|
||||
if (cur && cur.constructor === Object) {
|
||||
this.extend(new_dict, cur);
|
||||
}
|
||||
new_dict[as] = cur;
|
||||
|
||||
Reference in New Issue
Block a user