Method: React.html_tag?
- Defined in:
- lib/react/top_level.rb
.html_tag?(name) ⇒ Boolean
31 32 33 34 35 36 37 38 39 40 |
# File 'lib/react/top_level.rb', line 31 def self.html_tag?(name) = HTML_TAGS %x{ for(var i = 0; i < tags.length; i++) { if(tags[i] === name) return true; } return false; } end |