Sha256: 989383d8f303b4d54534ce23e4ff4d85e240ded72ce3f0099de0da7cc9d05211

Contents?: true

Size: 250 Bytes

Versions: 1

Compression:

Stored size: 250 Bytes

Contents

require 'nitro/element'

class JavaScript < Nitro::Element
	def render
		%~
	  <script type="text/javascript" language="javascript">
    // <![CDATA[
    	#{content}
    // ]]>
    </script> 
    ~    	
	end
end

# * George Moschovitis <gm@navel.gr>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.20.0 lib/nitro/element/java_script.rb