Go to file
adeveria eea4f89d29 add first Element tests 2013-09-09 15:38:51 -07:00
dist Fixed group to follow pattern of first argument to be an attributes 2013-09-09 17:36:48 +10:00
src Fixed group to follow pattern of first argument to be an attributes 2013-09-09 17:36:48 +10:00
test add first Element tests 2013-09-09 15:38:51 -07:00
.gitmodules Moving submodules (part 1) 2013-08-16 11:15:34 +10:00
CONTRIBUTING Added contributing file 2013-08-16 14:50:35 +10:00
Gruntfile.js NPM all the things. Fix for transformation animation 2013-09-09 10:33:59 +10:00
LICENSE Add License 2013-08-15 18:31:27 +10:00
NOTICE Update notice and readme 2013-09-09 11:16:25 +10:00
README.md Update notice and readme 2013-09-09 11:16:25 +10:00
bg.png Added gradients. Changed plugin architecture. 2013-07-11 13:23:37 +10:00
demo-card.svg Fixed group to follow pattern of first argument to be an attributes 2013-09-09 17:36:48 +10:00
demojs.html Fixed text setting and getting. Removed superflous <tspan> 2013-09-09 17:22:14 +10:00
demojs2.html Added another demo 2013-09-06 14:09:36 +10:00
dr.json Added methods for loading external SVG, new attribute #text and Paper.toString() 2013-09-05 10:10:45 +10:00
map.svg Added another demo 2013-09-06 14:09:36 +10:00
package.json NPM all the things. Fix for transformation animation 2013-09-09 10:33:59 +10:00

README.md

savage

JavaScript library for SVG.

API Reference is in dist/reference.html

Building

Savage uses Grunt to build

  • Open the terminal from the Savage directory

      cd savage
    
  • Install its command line interface (CLI) globally

      npm install -g grunt-cli
    
  • Install dependencies with npm

      npm install
    

*Savage uses Grunt 0.4.0. You might want to read more on their website if you havent upgraded since a lot has changed.

  • Type grunt in the command line to build the files.
  • The results will be built into the release folder.
  • Alternatively type grunt watch to have the build run automatically when you make changes to source files.