Skip to content

Commit

Permalink
removing offline detection via .onLine
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Feb 10, 2010
1 parent 8551b7b commit 2aaf5c5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modernizr.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ window.Modernizr = (function(window,doc,undefined){
crosswindowmessaging = 'crosswindowmessaging',
historymanagement = 'historymanagement',
draganddrop = 'draganddrop',
offlinedetection = 'offlinedetection',
websqldatabase = 'websqldatabase',
websocket = 'websocket',
flash = 'flash',
Expand Down Expand Up @@ -283,10 +282,6 @@ window.Modernizr = (function(window,doc,undefined){
return isEventSupported(hashchange, window) && ( document.documentMode === undefined || document.documentMode > 7 );
};

tests[offlinedetection] = function() {
return !!navigator.onLine;
};

tests[historymanagement] = function() {
return !!(window.history && history.pushState && history.popState);
};
Expand Down

0 comments on commit 2aaf5c5

Please sign in to comment.