Former-commit-id: 60cc85dc0652b34e9c7ec409f32ba635cc4b2e51
This commit is contained in:
Jarred Sumner
2021-07-28 10:56:36 -07:00
parent d18ff76912
commit 68fa7ec2d0
14 changed files with 660 additions and 222 deletions

View File

@@ -366,7 +366,6 @@ pub const Cli = struct {
pub const src = "import Bacon from \"import-test\";\n\nconsole.log('hi'); \"HELLO\";";
};
pub fn demo(allocator: *std.mem.Allocator) !void {
var console = try js.ZigConsoleClient.init(allocator);
var global: *js.JSGlobalObject = js.ZigGlobalObject.create(null, console);
var exception = js.JSValue.jsUndefined();
@@ -410,6 +409,4 @@ pub const Cli = struct {
}
};
pub const JavaScript = struct {
};
pub const JavaScript = struct {};