lib/opal/processor.rb in opal-0.3.34 vs lib/opal/processor.rb in opal-0.3.35

- old
+ new

@@ -12,15 +12,19 @@ def initialize_engine require_template_library 'opal' end def prepare + # ... end def evaluate(scope, locals, &block) Opal.parse data end end end Tilt.register 'rb', Opal::Processor Sprockets.register_engine '.rb', Opal::Processor + +Tilt.register 'opal', Opal::Processor +Sprockets.register_engine '.opal', Opal::Processor