lib/linner/wrapper.rb in linner-0.2.0 vs lib/linner/wrapper.rb in linner-0.3.0
- old
+ new
@@ -7,7 +7,11 @@
";}});\n"
def self.wrap(name, content)
WRAPPER % [name, content]
end
+
+ def self.definition
+ File.read(File.join File.dirname(__FILE__), "../../vendor", "require_definition.js")
+ end
end
end