Skip to content

Commit

Permalink
Fix markup.test is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 committed Mar 11, 2016
1 parent c912a1b commit 5e98dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/dom/server/ReactMarkupChecksum.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var ReactMarkupChecksum = {
var checksum = adler32(markup);

// Add checksum (handle both parent tags, comments and self-closing tags)
if (markup.test(COMMENT_START)) {
if (COMMENT_START.test(markup)) {
return markup;
} else {
return markup.replace(
Expand Down

0 comments on commit 5e98dce

Please sign in to comment.