Class: Origami::XDP::Packet::Template::JavaScript

Inherits:
Script show all
Defined in:
lib/origami/xfa/template.rb

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(script = "") ⇒ JavaScript

Returns a new instance of JavaScript.



505
506
507
508
509
# File 'lib/origami/xfa/template.rb', line 505

def initialize(script = "")
    super(script)

    self.contentType = 'application/x-javascript'
end