mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
Adapt HTMLCollectionIterator to HTMLCollection._item changes
And update jsruntime to fix the build Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
@@ -349,8 +349,8 @@ pub const HTMLCollectionIterator = struct {
|
|||||||
done: bool,
|
done: bool,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn _next(self: *HTMLCollectionIterator, allocator: std.mem.Allocator) !Return {
|
pub fn _next(self: *HTMLCollectionIterator) !Return {
|
||||||
const e = try self.coll._item(allocator, self.index);
|
const e = try self.coll._item(self.index);
|
||||||
if (e == null) {
|
if (e == null) {
|
||||||
return Return{
|
return Return{
|
||||||
.value = null,
|
.value = null,
|
||||||
|
|||||||
2
vendor/jsruntime-lib
vendored
2
vendor/jsruntime-lib
vendored
Submodule vendor/jsruntime-lib updated: 9c07e80cbf...6cefb9b52c
Reference in New Issue
Block a user