Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iinfBox.parse: refactor instanceof to check for type
before - in iinfBox.parse we would check if result of parseOneBox is instanceof infeBox - this would fail in case BoxRegistry does not have infeBox, in which case generic Box would be created with Box.type = 'infe' after - cast result of parseOneBox to BoxKind - check if box.type === 'infe'
- Loading branch information