mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Merge pull request #14 from PLPeeters/master
Added check to avoid 404 error before viewer initialization. Thanks for contributing. I appreciate it.
This commit is contained in:
Vendored
+1
-1
@@ -1409,7 +1409,7 @@ define('input_stream',["image_loader"], function(ImageLoader) {
|
||||
|
||||
that.setInputStream = function(config) {
|
||||
_config = config;
|
||||
video.src = config.src;
|
||||
video.src = (typeof config.src !== 'undefined') ? config.src : '';
|
||||
};
|
||||
|
||||
that.ended = function() {
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ define(["image_loader"], function(ImageLoader) {
|
||||
|
||||
that.setInputStream = function(config) {
|
||||
_config = config;
|
||||
video.src = config.src;
|
||||
video.src = (typeof config.src !== 'undefined') ? config.src : '';
|
||||
};
|
||||
|
||||
that.ended = function() {
|
||||
|
||||
Reference in New Issue
Block a user