Module: Haml::Filters::Javascript

Includes:
Base
Defined in:
/var/www/haml-pages/.haml/lib/haml/filters.rb

Overview

Surrounds the filtered text with <script> and CDATA tags. Useful for including inline Javascript.

Instance Method Summary

Methods included from Base

#compile, included, #internal_compile, #lazy_require, #render

Instance Method Details

- render_with_options(text, options)



203
204
205
# File '/var/www/haml-pages/.haml/lib/haml/filters.rb', line 203

def render_with_options(text, options)
  "\n"
end