Skip to content

Commit

Permalink
Fixed @sindresorhus' line comment about spacing concerning anonymous …
Browse files Browse the repository at this point in the history
…functions
  • Loading branch information
emilchristensen committed Jun 28, 2013
1 parent e103629 commit 4b68b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feature-detects/css/nthchild.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
define(['Modernizr', 'testStyles'], function( Modernizr, testStyles ) {
testStyles('#modernizr div {width:1px} #modernizr div:nth-child(2n) {width:2px;}', function( elem ) {
Modernizr.addTest('nthchild', function () {
Modernizr.addTest('nthchild', function() {
var elems = elem.getElementsByTagName('div'),
test = true;

Expand Down

0 comments on commit 4b68b43

Please sign in to comment.