class Slim::Embedded::JavaScriptEngine

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

Public Instance Methods

on_slim_embedded(engine, body) click to toggle source
# File lib/slim/embedded.rb, line 231
def on_slim_embedded(engine, body)
  super(engine, [:html, :js, body])
end