Skip to content

Commit 1682d31

Browse files
authored
Merge pull request #192 from koic/sort_ruby_engines
Sort CRuby engines by version in the Playground.
2 parents f0aca9c + 245e4b2 commit 1682d31

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/ruby_engine.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ def loading(part = nil)
3939
# When you update the engines, ensure that they are tested correctly.
4040
# Update the engine list also in spec/playground_spec.
4141
ENGINES = [
42-
# https://www.jsdelivr.com/package/npm/@ruby/3.2-wasm-wasi?tab=files&path=dist&version=2.4.1
43-
CRubyWASI.new(
44-
"https://cdn.jsdelivr.net/npm/@ruby/[email protected]/dist/ruby.wasm",
45-
"3.2.2"
46-
),
4742
# https://www.jsdelivr.com/package/npm/@ruby/3.3-wasm-wasi?tab=files&path=dist&version=2.4.1
4843
CRubyWASI.new(
4944
"https://cdn.jsdelivr.net/npm/@ruby/[email protected]/dist/ruby.wasm",
5045
"3.3.0"
5146
),
47+
# https://www.jsdelivr.com/package/npm/@ruby/3.2-wasm-wasi?tab=files&path=dist&version=2.4.1
48+
CRubyWASI.new(
49+
"https://cdn.jsdelivr.net/npm/@ruby/[email protected]/dist/ruby.wasm",
50+
"3.2.2"
51+
),
5252
# Opal.new,
5353
OpalWebWorker.new("1.7.1"),
5454
].each_with_object({}) do |engine, hash|

0 commit comments

Comments
 (0)