@jbrowse/plugin-config 1.5.9 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -167,14 +167,14 @@ function _inherits(subClass, superClass) {
167
167
  throw new TypeError("Super expression must either be null or a function");
168
168
  }
169
169
 
170
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
171
+ constructor: {
172
+ value: subClass,
173
+ writable: true,
174
+ configurable: true
175
+ }
176
+ });
170
177
  Object.defineProperty(subClass, "prototype", {
171
- value: Object.create(superClass && superClass.prototype, {
172
- constructor: {
173
- value: subClass,
174
- writable: true,
175
- configurable: true
176
- }
177
- }),
178
178
  writable: false
179
179
  });
180
180
  if (superClass) _setPrototypeOf(subClass, superClass);
@@ -1684,7 +1684,9 @@ var RefNameAliasAdapter = /*#__PURE__*/function (_BaseAdapter) {
1684
1684
 
1685
1685
  case 5:
1686
1686
  results = _context.sent;
1687
- return _context.abrupt("return", results.trim().split('\n').map(function (row) {
1687
+ return _context.abrupt("return", results.trim().split('\n').filter(function (f) {
1688
+ return !!f && !f.startsWith('#');
1689
+ }).map(function (row) {
1688
1690
  var _row$split = row.split('\t'),
1689
1691
  _row$split2 = _toArray(_row$split),
1690
1692
  refName = _row$split2[0],