/* global self */
/* exported storageSet, storageGet, getURL */

var simpleStorage = {};

function storageSet(key, value) {
  self.port.emit('update-storage', [key, value]);
}

function storageGet(key, cb) {
  self.port.emit('read-storage');
  cb(simpleStorage);
}

self.port.on('storage', function(storage) {
  simpleStorage = storage;
});

function getURL(asset) {
  return asset;
}

@@ -360,16 +360,193 @@
 sset) %7B%0A
+  if (asset === 'images/algolia128x40.png') %7B%0A    return self.options.logoUrl;%0A  %7D else if (asset === 'images/close-16.png') %7B%0A    return self.options.closeImgUrl;%0A  %7D else %7B%0A  
   return
@@ -553,10 +553,14 @@
  asset;%0A
+  %7D%0A
 %7D%0A

Implement Firefox's getURL function