define(['lib/adapters/localstorage'], function(withLocalStorage) {

  return function() {

    var adapters = {
      'localstorage': withLocalStorage
    };

    this.availableAdapters = function() {
      return Object.keys(adapters);
    };

    this.adapter = function(name) {
      return adapters[name];
    };

  };

});
@@ -40,21 +40,17 @@
 unction(
-withL
+l
 ocalStor
@@ -52,16 +52,23 @@
 lStorage
+Adapter
 ) %7B%0A%0A  r
@@ -134,13 +134,9 @@
 e': 
-withL
+l
 ocal
@@ -142,16 +142,23 @@
 lStorage
+Adapter
 %0A    %7D;%0A

Rename variable in adapters