mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Spark no-op fix: If we're going to annotate list items with a typed range, we
should be consistent and do that for non-initial items as well. (Nothing ever looks for this type currently, though.)
This commit is contained in:
@@ -909,7 +909,7 @@ Spark.list = function (cursor, itemFunc, elseFunc) {
|
||||
later(function () {
|
||||
var frag = Spark.render(_.bind(itemFunc, null, item));
|
||||
DomUtils.wrapFragmentForContainer(frag, outerRange.containerNode());
|
||||
var range = new LiveRange(Spark._TAG, frag);
|
||||
var range = makeRange(Spark._ANNOTATION_LIST_ITEM, frag);
|
||||
|
||||
if (! itemRanges.length) {
|
||||
Spark.finalize(outerRange.replaceContents(frag));
|
||||
|
||||
Reference in New Issue
Block a user