From 47f41e9efba37af3394a095392a907765395932e Mon Sep 17 00:00:00 2001 From: wout Date: Fri, 21 Dec 2012 21:47:34 +0100 Subject: Lowered presence of the svg function --- Rakefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 2d1d0c5..c6f9ac5 100644 --- a/Rakefile +++ b/Rakefile @@ -67,6 +67,7 @@ BuildTask.define_task 'dist/svg.js' => MODULES.map {|m| "src/#{ m }.js" } do |ta file.puts "\n" file.puts svgjs file.puts '}).call(this);' + file.puts 'window.svg = function(e) { return new SVG.Doc(e); };' end end -- cgit v1.2.3