diff --git a/Gruntfile.js b/Gruntfile.js index bba6006..6f1584b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -40,11 +40,17 @@ module.exports = function(grunt) { "./src/amd-footer.js", ] } + }, + exec: { + dr: { + command: "node node_modules/dr.js/dr dr.json" + } } }); grunt.loadNpmTasks("grunt-contrib-concat"); grunt.loadNpmTasks("grunt-contrib-uglify"); + grunt.loadNpmTasks("grunt-exec"); - grunt.registerTask("default", ["concat", "uglify"]); + grunt.registerTask("default", ["concat", "uglify", "exec"]); }; \ No newline at end of file diff --git a/NOTICE b/NOTICE index c9036ab..91db1bc 100644 --- a/NOTICE +++ b/NOTICE @@ -1,7 +1,7 @@ -Savage is licensed under the Apache license version 2.0, January 2004 (see LICENSE file). +Snap.svg is licensed under the Apache license version 2.0, January 2004 (see LICENSE file). -Savage uses the following third party libraries that may have licenses -differing from that of Savage itself. You can find the libraries and their +Snap.svg uses the following third party libraries that may have licenses +differing from that of Snap.svg itself. You can find the libraries and their respective licenses below. - eve ./node_modules/eve diff --git a/README.md b/README.md index 4b4aec0..7c43551 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -savage +Snap.svg ====== JavaScript library for SVG. @@ -7,9 +7,9 @@ API Reference is in `dist/reference.html` ### Building -Savage uses [Grunt](http://gruntjs.com/) to build +Snap.svg uses [Grunt](http://gruntjs.com/) to build -* Open the terminal from the Savage directory +* Open the terminal from the Snap.svg directory cd savage @@ -22,14 +22,8 @@ Savage uses [Grunt](http://gruntjs.com/) to build npm install -_*Savage uses Grunt 0.4.0. You might want to [read](http://gruntjs.com/getting-started) more on their website if you haven’t upgraded since a lot has changed._ +_*Snap.svg uses Grunt 0.4.0. You might want to [read](http://gruntjs.com/getting-started) more on their website if you haven’t 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. - -* For documentation generation use this command - - cd node_modules/dr.js/; node dr ../../dr.json; cd ../../ - -_It’s ugly at the moment. Somebody should port it to grunt. May be even me :)_ +* Alternatively type `grunt watch` to have the build run automatically when you make changes to source files. \ No newline at end of file diff --git a/demojs.html b/demojs.html index e687dc6..205142a 100644 --- a/demojs.html +++ b/demojs.html @@ -15,97 +15,97 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."> - Savage + Snap - + diff --git a/demojs2.html b/demojs2.html index aa397f9..5a73fcc 100644 --- a/demojs2.html +++ b/demojs2.html @@ -15,22 +15,22 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."> - Savage + Snap - + - + +
@@ -33,7 +33,7 @@ - +