move to opal dir, still trying

This commit is contained in:
2023-02-08 12:50:18 +02:00
parent 53b549e921
commit 6d48e0cdd4
13 changed files with 12 additions and 26 deletions

View File

@ -0,0 +1,12 @@
require "opal"
# Uncomment the following to print out you're hello-world with Opal:
#
# puts "hello world!"
#
# The following will append a hello-world to your <body> element:
#
# require "native"
# $$[:document].addEventListener :DOMContentLoaded do
# $$[:document][:body][:innerHTML] += '<h2>Hello World!</h2>'
# end