diff --git a/src/dom/html_collection.zig b/src/dom/html_collection.zig index c528a063..61a63610 100644 --- a/src/dom/html_collection.zig +++ b/src/dom/html_collection.zig @@ -349,8 +349,8 @@ pub const HTMLCollectionIterator = struct { done: bool, }; - pub fn _next(self: *HTMLCollectionIterator, allocator: std.mem.Allocator) !Return { - const e = try self.coll._item(allocator, self.index); + pub fn _next(self: *HTMLCollectionIterator) !Return { + const e = try self.coll._item(self.index); if (e == null) { return Return{ .value = null, diff --git a/vendor/jsruntime-lib b/vendor/jsruntime-lib index 9c07e80c..6cefb9b5 160000 --- a/vendor/jsruntime-lib +++ b/vendor/jsruntime-lib @@ -1 +1 @@ -Subproject commit 9c07e80cbfeff8007682a9fb4dceae6e07b59f54 +Subproject commit 6cefb9b52c295914ffa042c39efcc85637247282