example/js/svg.js
function(a, v, relative) {
    // apply attributes individually
    if (typeof a == 'object') {
      for (var key in a)
        this.attr(key, a[key])

    } else {
      // the MorphObj takes care about the right function used
      this.add(a, new SVG.MorphObj(null, v), 'attrs')
    }

    return this
  }
function(a, v, relative) {
    // apply attributes individually
    if (typeof a == 'object') {
      for (var key in a)
        this.attr(key, a[key])

    } else {
      // the MorphObj takes care about the right function used
      this.add(a, new SVG.MorphObj(null, v), 'attrs')
    }

    return this
  }
function ( a , v , relative ) { // apply attributes individually if ( typeof a == 'object' ) { for ( var key in a ) this . attr ( key , a [ key ] ) } else { // the MorphObj takes care about the right function used this . add ( a , new SVG . MorphObj ( null , v ) , 'attrs' ) } return this }
Add animatable attributes
Add animatable attributes