jsdom, js: start refactoring jsdom; improve JS interfaces; add two attributes for them (#12488)

This commit is contained in:
playX 2021-11-17 12:41:33 +03:00 committed by GitHub
parent 6ac109a7c3
commit 2eb02ff5a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 282 additions and 1812 deletions

View file

@ -1,3 +1,4 @@
/*
import jsdom
fn get_2dcontext(canvas jsdom.IElement) ?jsdom.CanvasRenderingContext2D {
@ -74,3 +75,8 @@ fn main() {
context.clear_rect(0, 0, canv.width(), canv.height())
})
}
*/
fn main() {
panic('jsdom is being refactored; This example will be available soon')
}