Skip to content

Commit 0177ee7

Browse files
committed
Rename JS::Browser
1 parent 24170e8 commit 0177ee7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/js/lib/js/browser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
module JS
55
ScriptLocation = Data.define(:url, :filename)
66

7-
class Browser
7+
class Loader
88
include Singleton
99

1010
def initialize

packages/npm-packages/ruby-wasm-wasi/src/browser.script.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const patchRequireRelative = (vm: RubyVM) => {
100100
101101
original_require_relative(file)
102102
rescue LoadError
103-
JS::Browser.instance.require_relative(path)
103+
JS::Loader.instance.require_relative(path)
104104
end
105105
end
106106
`;

0 commit comments

Comments
 (0)