lib/middleman-react/extension.rb in middleman-react-0.0.2 vs lib/middleman-react/extension.rb in middleman-react-0.10.0

- old
+ new

@@ -1,11 +1,13 @@ +# encoding: UTF-8 + require 'middleman-core' require 'middleman-react/jsx' require 'middleman-react/jsx/template' -# Middleman extension entry point module Middleman module React + # Middleman extension entry point class Extension < Middleman::Extension def initialize(app, options_hash = {}, &block) ::Tilt.register 'jsx', Middleman::React::Template ::Sprockets.register_engine 'jsx', Middleman::React::Template end