mirror of
https://github.com/Polymer/polymer.git
synced 2026-08-19 01:14:44 -05:00
Simplify
This commit is contained in:
@@ -394,7 +394,7 @@ Then the `observe` property should be configured as follows:
|
||||
var c = this.collection;
|
||||
// Choose rendering path: full vs. incremental using splices
|
||||
if (this._needFullRefresh) {
|
||||
// Full refresh when items, sort, filter change or render() called
|
||||
// Full refresh when items, sort, or filter change, or when render() called
|
||||
this._applyFullRefresh();
|
||||
this._needFullRefresh = false;
|
||||
} else if (this._keySplices.length) {
|
||||
@@ -652,8 +652,7 @@ Then the `observe` property should be configured as follows:
|
||||
};
|
||||
model[this.as] = this.collection.getItem(key);
|
||||
model[this.indexAs] = idx;
|
||||
var inst = this.stamp(model);
|
||||
return inst;
|
||||
return this.stamp(model);
|
||||
},
|
||||
|
||||
_upgradePlaceholder: function(idx, key) {
|
||||
|
||||
Reference in New Issue
Block a user