Skip to content

Commit

Permalink
websocket to websockets
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Jun 14, 2010
1 parent 2ec8bca commit bf9cc65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modernizr.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ window.Modernizr = (function(window,doc,undefined){
draganddrop = 'draganddrop',
websqldatabase = 'websqldatabase',
indexedDB = 'indexedDB',
websocket = 'websocket',
websockets = 'websockets',
smile = ':)',

// IE7 gets mad if you name a local variable `toString`
Expand Down Expand Up @@ -340,7 +340,7 @@ window.Modernizr = (function(window,doc,undefined){
};


tests[websocket] = function(){
tests[websockets] = function(){
return ('WebSocket' in window);
};

Expand Down

0 comments on commit bf9cc65

Please sign in to comment.