-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
…presentation is far harder than expected - DashManifestModel methods starting with getAdaptation... doesn't mean it'll get an adaptation, and it generally expects things to have happened in e.g. DashAdapter or DashHandler that augment the default objects before it works... Also always calculates full list of segments for an ondemand stream.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
"devel" : true, | ||
"browser": true, | ||
"loopfunc" : true, | ||
"multistr": true, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
LloydW93
|
||
"predef" : [ | ||
"it", | ||
"describe", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,10 +70,11 @@ function X2JS(matchers, attrPrefix, ignoreRoot) { | |
i, | ||
len; | ||
|
||
// get the first node that isn't a comment | ||
// get the first node that we understand | ||
for(i = 0, len = node.childNodes.length; i < len; i += 1) { | ||
if (node.childNodes[i].nodeType !== DOMNodeTypes.COMMENT_NODE) { | ||
child = node.childNodes[i]; | ||
let cNode = node.childNodes[i]; | ||
if (cNode.nodeType == DOMNodeTypes.ELEMENT_NODE || cNode.nodeType == DOMNodeTypes.TEXT_NODE || cNode.nodeType == DOMNodeTypes.CDATA_SECTION_NODE) { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
LloydW93
|
||
child = cNode; | ||
break; | ||
} | ||
} | ||
|
1 comment
on commit 941b325
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
FYI: this option has been deprecated. Whether we will move to a jshint version that cares is another matter ...