Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit c85b08f

Browse files
feat(item): Add support for src property along side sources property
1 parent d5c6487 commit c85b08f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/js/MultiSource.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ class MultiSource extends Meister.ParserPlugin {
5454
}
5555

5656
process(item) {
57+
if (item.src && !item.sources) {
58+
item.sources = item.src;
59+
}
60+
5761
this.currentItem = item;
5862

5963
// Set default config

0 commit comments

Comments
 (0)