mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -05:00
Prebuilt module for commit ff82e43d2f
This commit is contained in:
parent
d71cb9729f
commit
2bed8210b9
5 changed files with 17 additions and 20 deletions
9
dist/docs/assets/js/paper.js
vendored
9
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Wed Apr 6 20:05:32 2016 -0700
|
* Date: Wed Apr 6 20:17:13 2016 -0700
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -13361,12 +13361,11 @@ new function() {
|
||||||
var stops = gradient._stops;
|
var stops = gradient._stops;
|
||||||
for (var i = 0, l = stops.length; i < l; i++) {
|
for (var i = 0, l = stops.length; i < l; i++) {
|
||||||
var stop = stops[i],
|
var stop = stops[i],
|
||||||
offset = stop._rampPoint,
|
|
||||||
stopColor = stop._color,
|
stopColor = stop._color,
|
||||||
alpha = stopColor.getAlpha();
|
alpha = stopColor.getAlpha();
|
||||||
attrs = {};
|
attrs = {
|
||||||
if (offset != null)
|
offset: stop._rampPoint || i / (l - 1)
|
||||||
attrs.offset = offset;
|
};
|
||||||
if (stopColor)
|
if (stopColor)
|
||||||
attrs['stop-color'] = stopColor.toCSS(true);
|
attrs['stop-color'] = stopColor.toCSS(true);
|
||||||
if (alpha < 1)
|
if (alpha < 1)
|
||||||
|
|
9
dist/paper-core.js
vendored
9
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Wed Apr 6 20:05:32 2016 -0700
|
* Date: Wed Apr 6 20:17:13 2016 -0700
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -13361,12 +13361,11 @@ new function() {
|
||||||
var stops = gradient._stops;
|
var stops = gradient._stops;
|
||||||
for (var i = 0, l = stops.length; i < l; i++) {
|
for (var i = 0, l = stops.length; i < l; i++) {
|
||||||
var stop = stops[i],
|
var stop = stops[i],
|
||||||
offset = stop._rampPoint,
|
|
||||||
stopColor = stop._color,
|
stopColor = stop._color,
|
||||||
alpha = stopColor.getAlpha();
|
alpha = stopColor.getAlpha();
|
||||||
attrs = {};
|
attrs = {
|
||||||
if (offset != null)
|
offset: stop._rampPoint || i / (l - 1)
|
||||||
attrs.offset = offset;
|
};
|
||||||
if (stopColor)
|
if (stopColor)
|
||||||
attrs['stop-color'] = stopColor.toCSS(true);
|
attrs['stop-color'] = stopColor.toCSS(true);
|
||||||
if (alpha < 1)
|
if (alpha < 1)
|
||||||
|
|
4
dist/paper-core.min.js
vendored
4
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
9
dist/paper-full.js
vendored
9
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Wed Apr 6 20:05:32 2016 -0700
|
* Date: Wed Apr 6 20:17:13 2016 -0700
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -13361,12 +13361,11 @@ new function() {
|
||||||
var stops = gradient._stops;
|
var stops = gradient._stops;
|
||||||
for (var i = 0, l = stops.length; i < l; i++) {
|
for (var i = 0, l = stops.length; i < l; i++) {
|
||||||
var stop = stops[i],
|
var stop = stops[i],
|
||||||
offset = stop._rampPoint,
|
|
||||||
stopColor = stop._color,
|
stopColor = stop._color,
|
||||||
alpha = stopColor.getAlpha();
|
alpha = stopColor.getAlpha();
|
||||||
attrs = {};
|
attrs = {
|
||||||
if (offset != null)
|
offset: stop._rampPoint || i / (l - 1)
|
||||||
attrs.offset = offset;
|
};
|
||||||
if (stopColor)
|
if (stopColor)
|
||||||
attrs['stop-color'] = stopColor.toCSS(true);
|
attrs['stop-color'] = stopColor.toCSS(true);
|
||||||
if (alpha < 1)
|
if (alpha < 1)
|
||||||
|
|
6
dist/paper-full.min.js
vendored
6
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue