Skip to content

Commit

Permalink
sharedworkers got messed up somewhere
Browse files Browse the repository at this point in the history
  • Loading branch information
SlexAxton committed Feb 24, 2013
1 parent 45aaaf2 commit 8a402d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions feature-detects/workers/sharedworkers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Modernizr.addTest('sharedworkers', function(){
return !!window.SharedWorker;
define(['Modernizr'], function( Modernizr ) {
Modernizr.addTest('sharedworkers', !!window.SharedWorker);
});

0 comments on commit 8a402d6

Please sign in to comment.