Moved docs from dist/ to doc/
|
@ -17,7 +17,7 @@ module.exports = function(grunt) {
|
||||||
},
|
},
|
||||||
dist: {
|
dist: {
|
||||||
src: "<%= concat.target.dest %>",
|
src: "<%= concat.target.dest %>",
|
||||||
dest: "dist/" + pkg.name.toLowerCase() + "-min.js"
|
dest: "dist/snap.svg-min.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
concat: {
|
concat: {
|
||||||
|
@ -25,7 +25,7 @@ module.exports = function(grunt) {
|
||||||
banner: "<%= banner %>"
|
banner: "<%= banner %>"
|
||||||
},
|
},
|
||||||
target: {
|
target: {
|
||||||
dest: "dist/" + pkg.name.toLowerCase() + ".js",
|
dest: "dist/snap.svg.js",
|
||||||
src: [
|
src: [
|
||||||
"./node_modules/eve/eve.js",
|
"./node_modules/eve/eve.js",
|
||||||
"./src/amd-banner.js",
|
"./src/amd-banner.js",
|
||||||
|
|
|
@ -11,6 +11,11 @@ A JavaScript SVG library for the modern web. Learn more at [snapsvg.io](http://s
|
||||||
* [Getting Started](http://snapsvg.io/start/)
|
* [Getting Started](http://snapsvg.io/start/)
|
||||||
* [API Reference](http://snapsvg.io/docs/)
|
* [API Reference](http://snapsvg.io/docs/)
|
||||||
|
|
||||||
|
### Use
|
||||||
|
|
||||||
|
In your HTML file, load simply by: `<script src="snap.svg-min.js"></script>`
|
||||||
|
No other scripts are needed. Both the minified and uncompressed (for development) versions are in the `/dist` folder.
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
Snap.svg uses [Grunt](http://gruntjs.com/) to build.
|
Snap.svg uses [Grunt](http://gruntjs.com/) to build.
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
//
|
||||||
// build: 2013-10-25
|
// build: 2013-10-29
|
||||||
// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
|
// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
2
dr.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"title": "Snap.svg",
|
"title": "Snap.svg",
|
||||||
"output": "dist/reference.html",
|
"output": "doc/reference.html",
|
||||||
"scripts": ["snap.svg-min.js", "reference.js"],
|
"scripts": ["snap.svg-min.js", "reference.js"],
|
||||||
"files": [{
|
"files": [{
|
||||||
"url": "src/svg.js",
|
"url": "src/svg.js",
|
||||||
|
|