diff --git a/src/JBrowse/Store/SeqFeature/BAMCombination.js b/src/JBrowse/Store/SeqFeature/BAMCombination.js index c8c3862026..a168000540 100644 --- a/src/JBrowse/Store/SeqFeature/BAMCombination.js +++ b/src/JBrowse/Store/SeqFeature/BAMCombination.js @@ -2,14 +2,12 @@ define([ 'dojo/_base/declare', 'dojo/_base/array', 'JBrowse/Store/SeqFeature/CombinationBase', - 'JBrowse/Model/SimpleFeature' ], function( declare, array, - CombinationBaseStore, - BAMFeature + CombinationBaseStore ) { return declare([CombinationBaseStore], { @@ -24,7 +22,7 @@ define([ toSpan: function(features, query) { return features.map(function(feat) { - return new BAMFeature( feat.feature ? feat.feature : feat ) + return Object.assign(Object.create(feat), feat) }); },