Skip to content

Commit

Permalink
short code
Browse files Browse the repository at this point in the history
  • Loading branch information
SlexAxton committed Dec 6, 2012
1 parent 5a6ed16 commit 233bfc7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions feature-detects/webgl/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ define(['Modernizr', 'createElement', 'test/webgl'], function( Modernizr, create
return;
}

if (ctx === undefined) {
Modernizr.webglextensions = new Boolean(false);
}
else {
if (ctx !== undefined) {
Modernizr.webglextensions = new Boolean(true);
}

Expand Down

0 comments on commit 233bfc7

Please sign in to comment.