Update deps, refactor rdio for 3.1
This commit is contained in:
parent
24b17261aa
commit
cb711ea510
6 changed files with 84 additions and 88 deletions
|
@ -1,7 +1,6 @@
|
|||
"use strict";
|
||||
var parse = require('url').parse;
|
||||
import { parse } from 'url';
|
||||
|
||||
module.exports.match = function(url) {
|
||||
export function match(url) {
|
||||
var parsed = parse(url);
|
||||
if (!parsed.host.match(/rd\.io$/) && !parsed.host.match(/rdio\.com$/)) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue