Skip to content

Commit

Permalink
Merge pull request #496 from feons/ALOY-950
Browse files Browse the repository at this point in the history
[ALOY-950] Remove 'localStorage' in sample apps
  • Loading branch information
skypanther committed Jul 31, 2014
2 parents 2ca022f + bbd332b commit 125e201
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/apps/models/todo/controllers/index.js
Expand Up @@ -10,10 +10,6 @@ var whereIndex = INDEXES['All'];
var adapter = require('alloy/models/Todo').definition.config.adapter.type,
err;
switch(adapter) {
case 'localStorage':
// only supported on Mobileweb
if (!OS_MOBILEWEB) { err = 'localStorage adapter only supported on Mobileweb'; }
break;
case 'properties':
// supported on all platforms
break;
Expand Down Expand Up @@ -68,4 +64,4 @@ function showTasks(e) {
whereIndex = INDEXES[e.source.title]; // Android menu
}
todos.fetch();
}
}

0 comments on commit 125e201

Please sign in to comment.