aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-21 21:47:34 +0100
committerwout <wout@impinc.co.uk>2012-12-21 21:47:34 +0100
commit47f41e9efba37af3394a095392a907765395932e (patch)
tree9475dc9b618bab2ffaa0f21c80a5149c49991b11 /Rakefile
parentcf1bd17eebe9b6cb8fac869aeec4245a0ec66fff (diff)
downloadsvg.js-47f41e9efba37af3394a095392a907765395932e.tar.gz
svg.js-47f41e9efba37af3394a095392a907765395932e.zip
Lowered presence of the svg function
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
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