mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: comment out the main
body in draw.js.v for now
This commit is contained in:
parent
cfecb62299
commit
8fd66994c7
@ -28,6 +28,7 @@ fn draw_line(context ctx.CanvasRenderingContext2D, x1 int, y1 int, x2 int, y2 in
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
/*
|
||||||
document := jsdom.document
|
document := jsdom.document
|
||||||
|
|
||||||
elem := document.get_element_by_id('myButton') ?
|
elem := document.get_element_by_id('myButton') ?
|
||||||
@ -69,4 +70,5 @@ fn main() {
|
|||||||
elem.add_event_listener('click', fn [context, canv] (_ jsdom.IEventTarget, _ jsdom.IEvent) {
|
elem.add_event_listener('click', fn [context, canv] (_ jsdom.IEventTarget, _ jsdom.IEvent) {
|
||||||
context.clear_rect(0, 0, canv.width(), canv.height())
|
context.clear_rect(0, 0, canv.width(), canv.height())
|
||||||
})
|
})
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user