Sha256: e9ed961e6bcfbb195e13570bb552037171d7f6ba29ab20043a48103d88900ec2
Contents?: true
Size: 261 Bytes
Versions: 1
Compression:
Stored size: 261 Bytes
Contents
module React module JSX class Template < Tilt::Template self.default_mime_type = 'application/javascript' def prepare end def evaluate(scopre, locals, &block) @output ||= JSX::transform(data) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
react-rails-0.4.1.0 | lib/react/jsx/template.rb |