Fallback for browsers that do not support localStorage. Fixes #591

This commit is contained in:
Tom MacWright
2013-02-01 13:12:46 -05:00
parent f1b6f5b14a
commit 031c8d655e
7 changed files with 41 additions and 34 deletions
+2 -1
View File
@@ -2,7 +2,8 @@ describe('iD.Connection', function () {
var c;
beforeEach(function () {
c = new iD.Connection();
context = iD();
c = new iD.Connection(context);
});
it('is instantiated', function () {
+2 -1
View File
@@ -2,7 +2,8 @@ describe('iD.OAuth', function() {
var o;
beforeEach(function() {
o = iD.OAuth();
context = iD();
o = iD.OAuth(context);
});
describe('#logout', function() {