lcorbasson / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
Other
0 stars 0 forks source link

Consistent Use of CheckClassType for Finding Out the SVGElement-Type #356

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As a result of testing and reviewing the SVG classes I detect, that only
the SVGMarker class does not use the checkClassType method (main.js line
1784 in rev.: 1742). In SVGMarker the type check is coded with
'if(this.element == "[object SVGMarkerElement]")' instead of
'if(ORYX.Editor.checkClassType(this.element, SVGMarkerElement)'.
This should adapted.

Original issue reported on code.google.com by sven.wag...@gmail.com on 11 Feb 2009 at 2:17