Skip to content

Commit

Permalink
formatEmbedURL: remove unnecessary parse() usage
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed May 28, 2013
1 parent 9bdadf6 commit f53a5ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions formatEmbedURL.js
Expand Up @@ -3,7 +3,6 @@
* Module dependencies.
*/

var parse = require('./parse');
var formatURI = require('./formatURI');

/**
Expand All @@ -22,6 +21,5 @@ module.exports = formatEmbedURI;
*/

function formatEmbedURI (parsed) {
if ('string' == typeof parsed) parsed = parse(parsed);
return 'https://embed.spotify.com/?uri=' + formatURI(parsed);
}

0 comments on commit f53a5ab

Please sign in to comment.