Skip to content

Commit

Permalink
Fixed blank space
Browse files Browse the repository at this point in the history
  • Loading branch information
jondubois committed Jul 8, 2017
1 parent 70403a7 commit 7b8ef3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ AuthEngine.prototype._isLocalStorageEnabled = function () {
try {
// Some browsers will throw an error here if localStorage is disabled.
global.localStorage;

// Safari, in Private Browsing Mode, looks like it supports localStorage but all calls to setItem
// throw QuotaExceededError. We're going to detect this and avoid hard to debug edge cases.
global.localStorage.setItem('__scLocalStorageTest', 1);
Expand Down
4 changes: 2 additions & 2 deletions socketcluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ AuthEngine.prototype._isLocalStorageEnabled = function () {
try {
// Some browsers will throw an error here if localStorage is disabled.
global.localStorage;

// Safari, in Private Browsing Mode, looks like it supports localStorage but all calls to setItem
// throw QuotaExceededError. We're going to detect this and avoid hard to debug edge cases.
global.localStorage.setItem('__scLocalStorageTest', 1);
Expand Down Expand Up @@ -5361,4 +5361,4 @@ exports.decode = exports.parse = require('./decode');
exports.encode = exports.stringify = require('./encode');

},{"./decode":22,"./encode":23}]},{},[3])(3)
});
});

0 comments on commit 7b8ef3b

Please sign in to comment.