Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit cc46cf5

Browse files
committed
Make React::HTML_TAGS back to keep backward compatibility
1 parent d6fce16 commit cc46cf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/react/top_level.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require "native"
22
require 'active_support'
3+
require 'react/component/tags'
34
require 'react/component/base'
45

56
module React
@@ -25,7 +26,7 @@ module React
2526
viewBox x1 x2 x xlinkActuate xlinkArcrole xlinkHref xlinkRole
2627
xlinkShow xlinkTitle xlinkType xmlBase xmlLang xmlSpace y1 y2 y)
2728
HASH_ATTRIBUTES = %w(data aria)
28-
29+
HTML_TAGS = React::Component::Tags::HTML_TAGS
2930

3031
def self.html_tag?(name)
3132
tags = HTML_TAGS

0 commit comments

Comments
 (0)