example/js/svg.js
function idFromReference(url) {
  var m = url.toString().match(SVG.regex.reference)

  if (m) return m[1]
}
function idFromReference(url) {
  var m = url.toString().match(SVG.regex.reference)

  if (m) return m[1]
}
function idFromReference ( url ) { var m = url . toString ( ) . match ( SVG . regex . reference ) if ( m ) return m [ 1 ] }
Get id from reference string
Get id from reference string