better way to get opal to load salaam
This commit is contained in:
parent
157981edf0
commit
c213931fb3
@ -3,3 +3,6 @@
|
||||
|
||||
# bootstrap css framework
|
||||
component 'bootstrap'
|
||||
|
||||
|
||||
Opal.use_gem("salama")
|
||||
|
@ -1,11 +1,6 @@
|
||||
# app.rb is used to configure your app. This code is only run on the server,
|
||||
# then any config options in config.public are passed to the client as well.
|
||||
|
||||
["parslet", "salama-object-file", "salama-reader","salama" ].each do |g|
|
||||
lib_path = Gem.loaded_specs[g].full_gem_path + '/lib'
|
||||
Opal.append_path(lib_path)
|
||||
end
|
||||
|
||||
Volt.configure do |config|
|
||||
# Setup your global app config here.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user