Dmitry Baranovskiy 2013-10-16 07:20:07 +11:00
commit d92bd5c474
9 changed files with 1333 additions and 4 deletions

View File

@ -28,3 +28,25 @@ _*Snap.svg uses Grunt 0.4.0. You might want to [read](http://gruntjs.com/getting
* Type `grunt` in the command line to build the files. * Type `grunt` in the command line to build the files.
* The results will be built into the release folder. * 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. * Alternatively type `grunt watch` to have the build run automatically when you make changes to source files.
*
## Contributing
Start by checking out our [Backlog](http://huboard.com/topcoat/topcoat/backlog). (Pls file issues against this repo.)
* [Fill out the CLA here](http://snapsvg.io/dev/snapsvg-cla.html)
* [fork](https://help.github.com/articles/fork-a-repo) the repo
* Create a branch
git checkout -b my_branch
* Add your changes
* Commit your changes
git commit -am "Added some awesome stuff"
* Push your branch
git push origin my_branch
* make a [pull request](https://help.github.com/articles/using-pull-requests)

1307
demos/animated-game/index.html Executable file

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@
background: #2c4e6b; background: #2c4e6b;
} }
</style> </style>
<script src="dist/snap.svg-min.js"></script> <script src="../../dist/snap.svg-min.js"></script>
<script> <script>
window.onload = function () { window.onload = function () {
1; 1;

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -54,7 +54,7 @@
fill: #60544F; fill: #60544F;
} }
</style> </style>
<script src="dist/snap.svg-min.js"></script> <script src="../../dist/snap.svg-min.js"></script>
<script> <script>
window.onload = function () { window.onload = function () {
var s = Snap(1000, 800), var s = Snap(1000, 800),

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 85 KiB

View File

@ -21,7 +21,7 @@
background: #030 url("bg.png"); background: #030 url("bg.png");
} }
</style> </style>
<script src="dist/snap.svg-min.js"></script> <script src="../../dist/snap.svg-min.js"></script>
<script> <script>
window.onload = function () { window.onload = function () {
1 1