Moved docs from dist/ to doc/

master
Dmitry Baranovskiy 2013-10-29 12:13:58 +11:00
parent 5c9b7fd7b2
commit 99f10966ea
30 changed files with 10 additions and 5 deletions

View File

@ -17,7 +17,7 @@ module.exports = function(grunt) {
},
dist: {
src: "<%= concat.target.dest %>",
dest: "dist/" + pkg.name.toLowerCase() + "-min.js"
dest: "dist/snap.svg-min.js"
}
},
concat: {
@ -25,7 +25,7 @@ module.exports = function(grunt) {
banner: "<%= banner %>"
},
target: {
dest: "dist/" + pkg.name.toLowerCase() + ".js",
dest: "dist/snap.svg.js",
src: [
"./node_modules/eve/eve.js",
"./src/amd-banner.js",

View File

@ -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/)
* [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
Snap.svg uses [Grunt](http://gruntjs.com/) to build.

File diff suppressed because one or more lines are too long

2
dist/snap.svg.js vendored
View File

@ -14,7 +14,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// build: 2013-10-25
// build: 2013-10-29
// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1,6 +1,6 @@
{
"title": "Snap.svg",
"output": "dist/reference.html",
"output": "doc/reference.html",
"scripts": ["snap.svg-min.js", "reference.js"],
"files": [{
"url": "src/svg.js",