Skip to content

Commit

Permalink
undefined fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mprinc committed Aug 3, 2016
1 parent 1c27a26 commit 55882c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ var debugpp = (function() {
}
};

var localStorageDebug = localStorage && localStorage.debug;
var localStorageDebug = (typeof localStorage !== 'undefined') && localStorage.debug;

// register internal debugger stream
debug.enable('debugPP');
Expand Down

0 comments on commit 55882c9

Please sign in to comment.