We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 947d01a commit a2565a7Copy full SHA for a2565a7
src/browser/dom/range.zig
@@ -126,6 +126,12 @@ pub const Range = struct {
126
127
self.proto.updateCollapsed();
128
}
129
+
130
+ // The Range.detach() method does nothing. It used to disable the Range
131
+ // object and enable the browser to release associated resources. The
132
+ // method has been kept for compatibility.
133
+ // https://developer.mozilla.org/en-US/docs/Web/API/Range/detach
134
+ pub fn _detach(_: *Range) void {}
135
};
136
137
const testing = @import("../../testing.zig");
0 commit comments