Skip to content
This repository was archived by the owner on Feb 7, 2022. It is now read-only.

Checking resource.duration != initial in totalDuration sum - #6

Open
afharo wants to merge 1 commit into
jamesgpearce:masterfrom
afharo:patch-1
Open

Checking resource.duration != initial in totalDuration sum#6
afharo wants to merge 1 commit into
jamesgpearce:masterfrom
afharo:patch-1

Conversation

@afharo

@afharo afharo commented Sep 16, 2013

Copy link
Copy Markdown

When a resource is not propperly loaded, it keeps its original value '-', so in the addition operation for totalDuration javascript treats it as a string and give as a result 'time1-time2-time3-...' which it shouldn't.

You can try this error using as url 'http://www.marca.com/'

When a resource is not propperly loaded, it keeps its original value '-', so in the addition operation for totalDuration javascript treats it as a string and give as a result 'time1-time2-time3-...' which it shouldn't.

You can try this error using as url 'http://www.marca.com/'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant