mapbox/mapbox-gl-js

Do not handle video loading errors

Aperta

#5646 aperta il 10 nov 2017

 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (2203 fork)batch import
api :memo:good first issue

Metriche repository

Star
 (10.532 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

In src/util/ajax.js, getVideo seems not handle any loading errors.

And Also, I think it's useless to return video in the end. We should get video in callback.

https://github.com/mapbox/mapbox-gl-js/blob/master/src/util/ajax.js#L149

Guida contributor