Merge pull request #448 from Xaekai/3.0

Resolve missing closing parenthesis or the generic matcher.
This commit is contained in:
Erik Little 2015-02-18 21:46:07 -05:00
commit bed10ec8a9
1 changed files with 1 additions and 1 deletions

View File

@ -1331,7 +1331,7 @@ function parseMediaLink(url) {
}; };
} }
// Generic for the rest. // Generic for the rest.
if ((m = url.match(/([a-z]{2}):([^\?&#]+)/)) { if ((m = url.match(/([a-z]{2}):([^\?&#]+)/))) {
return { return {
id: m[2], id: m[2],
type: m[1] type: m[1]