Fix for missed `gradient` reference.
parent
40f0c95002
commit
c96be4e66a
File diff suppressed because one or more lines are too long
|
@ -14,7 +14,7 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
//
|
||||||
// build: 2014-05-08
|
// build: 2014-05-12
|
||||||
// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
|
// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -3777,7 +3777,7 @@ Snap.plugin(function (Snap, Element, Paper, glob, Fragment) {
|
||||||
} else {
|
} else {
|
||||||
fill = Snap.color(value);
|
fill = Snap.color(value);
|
||||||
if (fill.error) {
|
if (fill.error) {
|
||||||
var grad = gradient(getSomeDefs(this), value);
|
var grad = Snap(getSomeDefs(this).ownerSVGElement).gradient(value);
|
||||||
if (grad) {
|
if (grad) {
|
||||||
if (!grad.node.id) {
|
if (!grad.node.id) {
|
||||||
$(grad.node, {
|
$(grad.node, {
|
||||||
|
|
|
@ -93,7 +93,7 @@ Snap.plugin(function (Snap, Element, Paper, glob, Fragment) {
|
||||||
} else {
|
} else {
|
||||||
fill = Snap.color(value);
|
fill = Snap.color(value);
|
||||||
if (fill.error) {
|
if (fill.error) {
|
||||||
var grad = gradient(getSomeDefs(this), value);
|
var grad = Snap(getSomeDefs(this).ownerSVGElement).gradient(value);
|
||||||
if (grad) {
|
if (grad) {
|
||||||
if (!grad.node.id) {
|
if (!grad.node.id) {
|
||||||
$(grad.node, {
|
$(grad.node, {
|
||||||
|
|
Loading…
Reference in New Issue