mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Prebuilt module for commit d18fa8bb03
This commit is contained in:
parent
4a5b2554a8
commit
bd7da3972b
5 changed files with 32 additions and 23 deletions
13
dist/docs/assets/js/paper.js
vendored
13
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Jan 24 08:22:03 2017 -0500
|
||||
* Date: Tue Jan 24 18:14:56 2017 -0500
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -11409,8 +11409,10 @@ var Color = Base.extend(new function() {
|
|||
destination.x, destination.y);
|
||||
}
|
||||
for (var i = 0, l = stops.length; i < l; i++) {
|
||||
var stop = stops[i];
|
||||
canvasGradient.addColorStop(stop._offset || i / (l - 1),
|
||||
var stop = stops[i],
|
||||
offset = stop._offset;
|
||||
canvasGradient.addColorStop(
|
||||
offset == null ? i / (l - 1) : offset,
|
||||
stop._color.toCanvasStyle());
|
||||
}
|
||||
return this._canvasStyle = canvasGradient;
|
||||
|
@ -13894,9 +13896,10 @@ new function() {
|
|||
for (var i = 0, l = stops.length; i < l; i++) {
|
||||
var stop = stops[i],
|
||||
stopColor = stop._color,
|
||||
alpha = stopColor.getAlpha();
|
||||
alpha = stopColor.getAlpha(),
|
||||
offset = stop._offset;
|
||||
attrs = {
|
||||
offset: stop._offset || i / (l - 1)
|
||||
offset: offset == null ? i / (l - 1) : offset
|
||||
};
|
||||
if (stopColor)
|
||||
attrs['stop-color'] = stopColor.toCSS(true);
|
||||
|
|
13
dist/paper-core.js
vendored
13
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Jan 24 08:22:03 2017 -0500
|
||||
* Date: Tue Jan 24 18:14:56 2017 -0500
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -11409,8 +11409,10 @@ var Color = Base.extend(new function() {
|
|||
destination.x, destination.y);
|
||||
}
|
||||
for (var i = 0, l = stops.length; i < l; i++) {
|
||||
var stop = stops[i];
|
||||
canvasGradient.addColorStop(stop._offset || i / (l - 1),
|
||||
var stop = stops[i],
|
||||
offset = stop._offset;
|
||||
canvasGradient.addColorStop(
|
||||
offset == null ? i / (l - 1) : offset,
|
||||
stop._color.toCanvasStyle());
|
||||
}
|
||||
return this._canvasStyle = canvasGradient;
|
||||
|
@ -13894,9 +13896,10 @@ new function() {
|
|||
for (var i = 0, l = stops.length; i < l; i++) {
|
||||
var stop = stops[i],
|
||||
stopColor = stop._color,
|
||||
alpha = stopColor.getAlpha();
|
||||
alpha = stopColor.getAlpha(),
|
||||
offset = stop._offset;
|
||||
attrs = {
|
||||
offset: stop._offset || i / (l - 1)
|
||||
offset: offset == null ? i / (l - 1) : offset
|
||||
};
|
||||
if (stopColor)
|
||||
attrs['stop-color'] = stopColor.toCSS(true);
|
||||
|
|
8
dist/paper-core.min.js
vendored
8
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
13
dist/paper-full.js
vendored
13
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Jan 24 08:22:03 2017 -0500
|
||||
* Date: Tue Jan 24 18:14:56 2017 -0500
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -11409,8 +11409,10 @@ var Color = Base.extend(new function() {
|
|||
destination.x, destination.y);
|
||||
}
|
||||
for (var i = 0, l = stops.length; i < l; i++) {
|
||||
var stop = stops[i];
|
||||
canvasGradient.addColorStop(stop._offset || i / (l - 1),
|
||||
var stop = stops[i],
|
||||
offset = stop._offset;
|
||||
canvasGradient.addColorStop(
|
||||
offset == null ? i / (l - 1) : offset,
|
||||
stop._color.toCanvasStyle());
|
||||
}
|
||||
return this._canvasStyle = canvasGradient;
|
||||
|
@ -13894,9 +13896,10 @@ new function() {
|
|||
for (var i = 0, l = stops.length; i < l; i++) {
|
||||
var stop = stops[i],
|
||||
stopColor = stop._color,
|
||||
alpha = stopColor.getAlpha();
|
||||
alpha = stopColor.getAlpha(),
|
||||
offset = stop._offset;
|
||||
attrs = {
|
||||
offset: stop._offset || i / (l - 1)
|
||||
offset: offset == null ? i / (l - 1) : offset
|
||||
};
|
||||
if (stopColor)
|
||||
attrs['stop-color'] = stopColor.toCSS(true);
|
||||
|
|
8
dist/paper-full.min.js
vendored
8
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue