fjgandrade / sharpkit

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

wrong element name in JS when creating canvas element #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following code:

private SharpKit.Html5.HtmlCanvasElement _canvas = 
HtmlContext.document.createElement<SharpKit.Html5.HtmlCanvasElement>();

gets converted to the following JS:

this._canvas = document.createElement("HTMLCanvasElement");

"HTMLCanvasElement" is wrong name for canvas element creation. It should be 
"canvas"

Original issue reported on code.google.com by sergio.d...@gmail.com on 9 Aug 2011 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by DanelK...@gmail.com on 10 Aug 2011 at 8:55

GoogleCodeExporter commented 9 years ago

Original comment by DanelK...@gmail.com on 26 Nov 2011 at 9:13