diff --git a/beastify/content_scripts/beastify.js b/beastify/content_scripts/beastify.js index 43816bb..d10cca0 100644 --- a/beastify/content_scripts/beastify.js +++ b/beastify/content_scripts/beastify.js @@ -35,18 +35,3 @@ function insertBeast(beastURL) { Assign beastify() as a listener for messages from the extension. */ chrome.runtime.onMessage.addListener(beastify); - - -/* -Given the name of a beast, get the URL to the corresponding image. -*/ -function beastNameToURL(beastName) { - switch (beastName) { - case "Frog": - return chrome.extension.getURL("beasts/frog.jpg"); - case "Snake": - return chrome.extension.getURL("beasts/snake.jpg"); - case "Turtle": - return chrome.extension.getURL("beasts/turtle.jpg"); - } -}