@skyux/docs-tools 5.0.0-beta.5 → 5.0.0-beta.6

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.
@@ -370,7 +370,7 @@
370
370
  throw 'You must export a component from the code example module!';
371
371
  }
372
372
  fragment = fragment.split(']')[0];
373
- var components = fragment.split(',');
373
+ var components = fragment.split(',').filter(function (x) { return x; });
374
374
  if (components.length > 1) {
375
375
  throw 'You may only export a single component from the code example module' +
376
376
  ("(we found " + components.length + ": " + components.join(', ') + ").") +