Skip to content

Commit

Permalink
Add semicolons to avoid generating typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanthorpe committed Jan 4, 2016
1 parent 4666d44 commit 1b4db6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions feature-detects/unicode.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ define(['Modernizr', 'createElement', 'testStyles', 'isSVG'], function(Modernizr

testStyles('#modernizr{font-family:Arial,sans;font-size:300em;}', function(node) {

missingGlyph.innerHTML = isSVG ? '\u5987' : '&#5987';
star.innerHTML = isSVG ? '\u2606' : '&#9734';
missingGlyph.innerHTML = isSVG ? '\u5987' : 'ᝣ';
star.innerHTML = isSVG ? '\u2606' : '☆';

node.appendChild(missingGlyph);
node.appendChild(star);
Expand Down

0 comments on commit 1b4db6e

Please sign in to comment.