Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixed type support checking for an empty src string #1797

Closed
wants to merge 1 commit into from

Conversation

heff
Copy link
Member

@heff heff commented Jan 12, 2015

fixes #1785

Can I get a review?

@@ -307,13 +307,13 @@ vjs.Html5.nativeSourceHandler = {};
* @return {String} 'probably', 'maybe', or '' (empty string)
*/
vjs.Html5.nativeSourceHandler.canHandleSource = function(source){
var ext;
var match, ext;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the plan was to go with explicit var declarations moving forward, or are instances like this an exception (no actual values set, just defined)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for @gkatsev's input to change what I'm using in practice.

@mmcc
Copy link
Member

mmcc commented Jan 12, 2015

LGTM 👍

@heff
Copy link
Member Author

heff commented Jan 13, 2015

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants