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, attrs) click to toggle source
# File lib/slim/embedded.rb, line 220
def on_slim_embedded(engine, body, attrs)
  super(engine, [:html, :js, body], attrs)
end