forked from StrafesNET/strafe-project
lol idk #1
@ -16,8 +16,8 @@ pub struct Context{
|
||||
}
|
||||
|
||||
impl Context{
|
||||
pub const fn new(dom:WeakDom)->Context{
|
||||
Context{dom}
|
||||
pub const fn new(dom:WeakDom)->Self{
|
||||
Self{dom}
|
||||
}
|
||||
pub fn script_singleton(source:String)->(Context,crate::runner::instance::Script){
|
||||
let dom=WeakDom::new(
|
||||
|
Loading…
x
Reference in New Issue
Block a user