1 function throw_raphael_not_supported() {
  2     throw "Not Supported!";
  3 };
  4 
  5 function d3_raphael_pathArrayToString(pa) {
  6     var ret = "";
  7 
  8     for(var i = 0; i < pa.length; i++) {
  9         var p = pa[i];
 10 
 11         ret += p[0];
 12 
 13         if(p[1])
 14             ret += (p[1].join(","))
 15     }
 16 
 17     return ret;
 18 }
 19 
 20 function d3_raphael_functify(f) {
 21     return (typeof f === "function") ? f : function() { return f; };
 22 }
 23