mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Minor clean up.
This commit is contained in:
parent
980b772cea
commit
1a37bb7252
1 changed files with 2 additions and 2 deletions
|
@ -412,7 +412,7 @@ new function() {
|
|||
}
|
||||
}
|
||||
|
||||
// Create apply methos for attributes, and merge in those for SvgStlyes:
|
||||
// Create apply-functions for attributes, and merge in those for SvgStlyes:
|
||||
var attributes = Base.each(SvgStyles, function(entry) {
|
||||
this[entry.attribute] = function(item, value, name, node) {
|
||||
item._style[entry.set](convertValue(value, entry.type));
|
||||
|
@ -426,7 +426,7 @@ new function() {
|
|||
|
||||
'clip-path': function(item, value) {
|
||||
// http://www.w3.org/TR/SVG/masking.html#ClipPathProperty
|
||||
var def = getDefinition(value);
|
||||
var def = getDefinition(value);
|
||||
return def && createClipGroup(item, def.clone().reduce());
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue