Class: Slimi::Filters::Embedded::JavaScriptEngine Private

Inherits:
TagEngine show all
Defined in:
lib/slimi/filters/embedded.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Javascript wrapper engine. Like TagEngine, but can wrap content in html comment or cdata.

Instance Method Summary collapse

Methods inherited from Base

#on_slimi_control, #on_slimi_output, #on_slimi_position, #on_slimi_text

Instance Method Details

#on_slimi_embedded(engine, body, attrs) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



226
227
228
# File 'lib/slimi/filters/embedded.rb', line 226

def on_slimi_embedded(engine, body, attrs)
  super(engine, [:html, :js, body], attrs)
end