Fix markup.test is not a function

This commit is contained in:
Toru Kobayashi
2016-03-11 16:41:22 +09:00
parent c912a1b367
commit 5e98dceded
@@ -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(