Letractively / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

Rewrite examples and docs to do object detection for SVG Web so it can be later removed #360

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Someone suggested that we rewrite the docs and examples to do object tests
for SVG Web so later on it can be removed. For example:

if (typeof svgweb != 'undefined') {
  svgweb.appendChild(newSVGObject, someParent);
} else {
  someParent.appendChild(newSVGObject);
}

This will make it easier to later get rid of SVG Web when native support
shows up.

Original issue reported on code.google.com by bradneub...@gmail.com on 23 Oct 2009 at 2:49

GoogleCodeExporter commented 8 years ago
Fixed in r1296.

Original comment by grick23@gmail.com on 26 Dec 2010 at 11:40