example/js/svg.js
function(url) {
    var link = new SVG.A

    if (typeof url == 'function')
      url.call(link, link)
    else
      link.to(url)

    return this.parent().put(link).put(this)
  }
function(url) {
    var link = new SVG.A

    if (typeof url == 'function')
      url.call(link, link)
    else
      link.to(url)

    return this.parent().put(link).put(this)
  }
function ( url ) { var link = new SVG . A if ( typeof url == 'function' ) url . call ( link , link ) else link . to ( url ) return this . parent ( ) . put ( link ) . put ( this ) }
Create a hyperlink element
Create a hyperlink element