diff options
author | wout <wout@impinc.co.uk> | 2012-12-20 21:31:17 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-20 21:31:17 +0100 |
commit | 675e347a10372a10ecdfd4fa6624c062f1ee7102 (patch) | |
tree | d36b605512862178deb07a1d58a11dc4e794921b /Rakefile | |
parent | 7b5c91ba593fc673ec6d4a8d7dac4b26b1fac52f (diff) | |
download | svg.js-675e347a10372a10ecdfd4fa6624c062f1ee7102.tar.gz svg.js-675e347a10372a10ecdfd4fa6624c062f1ee7102.zip |
Added font element
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,10 +1,10 @@ SVGJS_VERSION = '0.1a' # all available modules in the correct loading order -ALL = %w[ svg container element group arrange clip doc defs shape rect circle ellipse path image sugar ] +ALL = %w[ svg container element group arrange clip doc defs shape rect circle ellipse path image text sugar ] # required modules to make the library operational -CORE = %w[ circle container defs doc element ellipse image path rect shape svg ] +CORE = %w[ circle container defs doc element ellipse image path rect shape svg text ] # optional modules OPTIONAL = %w[ clip group arrange sugar ] @@ -92,10 +92,10 @@ end desc "Concatenate source files to build svg.js" task :concat, [:modules] do |task, args| modules = args[:modules].to_s.split(':') - to_add, to_exclude = modules.partition {|m| m.sub!(/^(-)?(.+)/, 'src/\2.js'); !$1 } + toattrsdd, to_exclude = modules.partition {|m| m.sub!(/^(-)?(.+)/, 'src/\2.js'); !$1 } Rake::Task['dist/svg.js']. - remove_prerequisites(to_exclude).enhance(to_add). + remove_prerequisites(to_exclude).enhance(toattrsdd). invoke end |