Merge pull request #6245 from koba04/fix-test-is-not-a-function

Fix markup.test is not a function
This commit is contained in:
Paul O’Shannessy
2016-03-10 23:46:26 -08:00
@@ -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(