You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2777,7 +2843,6 @@ function arrayFirstValue(arr) {
2777
2843
clone.insertAfter(this);
2778
2844
returnclone;
2779
2845
};
2780
-
// SIERRA Element.toDefs(): If this _moves_ an element to the <defs> region, why is the return value a _clone_? Also unclear why it's called the _relative_ <defs> section. Perhaps _shared_?
2781
2846
/*\
2782
2847
* Element.toDefs
2783
2848
[ method ]
@@ -2791,8 +2856,6 @@ function arrayFirstValue(arr) {
2791
2856
defs.appendChild(this.node);
2792
2857
returnthis;
2793
2858
};
2794
-
// SIERRA Element.pattern(): x/y/width/height data types are listed as both String and Number. Is that an error, or does it mean strings are coerced?
2795
-
// SIERRA Element.pattern(): clarify that x/y are offsets that e.g., may add gutters between the tiles.
2796
2859
/*\
2797
2860
* Element.pattern
2798
2861
[ method ]
@@ -4090,6 +4153,10 @@ eve.on("snap.util.attr.path", function (value) {
4090
4153
eve.stop();
4091
4154
this.attr({d: value});
4092
4155
})(-1);
4156
+
eve.on("snap.util.attr.class",function(value){
4157
+
eve.stop();
4158
+
this.node.className.baseVal=value;
4159
+
})(-1);
4093
4160
eve.on("snap.util.attr.viewBox",function(value){
4094
4161
varvb;
4095
4162
if(is(value,"object")&&"x"invalue){
@@ -4378,6 +4445,9 @@ eve.on("snap.util.getattr.path", function () {
0 commit comments