Add missing parameters again to viewBox.

This commit is contained in:
Jürg Lehni 2013-02-28 17:26:10 -08:00
parent f142a9d015
commit 027c944d3e

View file

@ -468,7 +468,7 @@ new function() {
item.setRampPoint(percentage ? percentage[1] / 100 : value);
},
viewBox: function(item, value) {
viewBox: function(item, value, name, node) {
// http://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute
// TODO: implement preserveAspectRatio attribute
if (item instanceof Symbol)