mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
SvgImporter: cleanup getValue.
This commit is contained in:
parent
9adebea69c
commit
81799b9042
1 changed files with 0 additions and 1 deletions
|
@ -26,7 +26,6 @@ new function() {
|
|||
// index is option, and if passed, causes a lookup in a list.
|
||||
|
||||
function getValue(svg, key, allowNull, index) {
|
||||
var attribute = svg[key];
|
||||
var attribute = svg[key] || svg.getAttribute(key);
|
||||
if (!attribute)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue