mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Prebuilt module for commit 8542eb62b4
This commit is contained in:
parent
429e8e3d3a
commit
ebfaee9d4c
7 changed files with 23 additions and 6 deletions
18
README.md
18
README.md
|
@ -242,7 +242,23 @@ folder in your web browser. There should be a green bar at the top, meaning all
|
||||||
tests have passed. If the bar is red, some tests have not passed. These will be
|
tests have passed. If the bar is red, some tests have not passed. These will be
|
||||||
highlighted and become visible when scrolling down.
|
highlighted and become visible when scrolling down.
|
||||||
|
|
||||||
You can also run the unit tests through Gulp.js on the command line:
|
If you are testing on Chrome, some of the tests will fail due to the browser's
|
||||||
|
CORS restrictions. In order to run the browser based tests on Chrome, you need
|
||||||
|
to run a local web-server through Gulp.js. The following command will handle it
|
||||||
|
for you, and will also open the browser at the right address straight away:
|
||||||
|
|
||||||
|
gulp test:browser
|
||||||
|
|
||||||
|
You can also run the unit tests through PhantomJS in Gulp directly on the
|
||||||
|
command line:
|
||||||
|
|
||||||
|
gulp test:phantom
|
||||||
|
|
||||||
|
To test the Node.js version of Paper.js, use this command:
|
||||||
|
|
||||||
|
gulp test:node
|
||||||
|
|
||||||
|
And to test both the PhantomJS and Node.js environments together, simply run:
|
||||||
|
|
||||||
gulp test
|
gulp test
|
||||||
|
|
||||||
|
|
2
dist/docs/assets/js/paper.js
vendored
2
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Wed Feb 10 18:23:56 2016 +0100
|
* Date: Thu Feb 11 10:05:21 2016 +0100
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
|
2
dist/paper-core.js
vendored
2
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Wed Feb 10 18:23:56 2016 +0100
|
* Date: Thu Feb 11 10:05:21 2016 +0100
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
|
2
dist/paper-core.min.js
vendored
2
dist/paper-core.min.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Wed Feb 10 18:23:56 2016 +0100
|
* Date: Thu Feb 11 10:05:21 2016 +0100
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
|
2
dist/paper-full.js
vendored
2
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Wed Feb 10 18:23:56 2016 +0100
|
* Date: Thu Feb 11 10:05:21 2016 +0100
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
|
2
dist/paper-full.min.js
vendored
2
dist/paper-full.min.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Wed Feb 10 18:23:56 2016 +0100
|
* Date: Thu Feb 11 10:05:21 2016 +0100
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
"gulp-uglify": "^1.5.1",
|
"gulp-uglify": "^1.5.1",
|
||||||
"gulp-uncomment": "^0.3.0",
|
"gulp-uncomment": "^0.3.0",
|
||||||
"gulp-util": "^3.0.0",
|
"gulp-util": "^3.0.0",
|
||||||
|
"gulp-webserver": "^0.9.1",
|
||||||
"gulp-whitespace": "^0.1.0",
|
"gulp-whitespace": "^0.1.0",
|
||||||
"gulp-zip": "^3.0.2",
|
"gulp-zip": "^3.0.2",
|
||||||
"jshint": "2.8.x",
|
"jshint": "2.8.x",
|
||||||
|
|
Loading…
Reference in a new issue