rewrite eval as send, removes parser

This commit is contained in:
2023-02-08 20:03:20 +02:00
parent 951ced7734
commit e6e6265e26
6 changed files with 31 additions and 12 deletions

View File

@ -6,7 +6,6 @@
%a.underline{ e_click: "bg_change" , r_class: 'back'}
{{ back }}
:opal
puts "here1"
class Clicker < VueR::Application
def bg_change
self.state = !self.state
@ -16,8 +15,5 @@
end
end
puts "here2"
click = Clicker.new(bg: 'bg-cyan-200' , state: true)
click.mount("#app")
puts "here3"

View File

@ -26,7 +26,7 @@ Rails.application.configure do
# Compress CSS using a preprocessor.
# config.assets.css_compressor = :sass
# config.assets.js_compressor = :terser
# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false