A very simple port of TodoMVC (specifically based on backbone version).
$ bundle install
Run the sprockets based server for auto-compiling:
$ bundle exec rackup
http://localhost:9292 in the browser.
Note: Safari has issues related to Dropped Network Connections. If you are experience issues try a different browser such as Chrome and Firefox
Opal comes with sprockets support built in, so using rack we can have an
easy to boot build system to handle all opal dependencies. If you look
index.html.erb, you will see a call to
which acts just like the rails tag helper. This will include our
app.rb file, and all of its dependencies. Each file will be included
in a seperate
<script>..</script> tag to make navigating the code in a
web browser easier.