SvgImporter: cleanup getValue.

This commit is contained in:
Jonathan Puckey 2012-11-10 15:56:12 +01:00
parent 9adebea69c
commit 81799b9042

View file

@ -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;