Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makevoid/opal_raw
A very fast opal setup - no sprockets! - includes opal browser - uses guard to automatically compile your .js.rb files as you save them
https://github.com/makevoid/opal_raw
Last synced: 18 days ago
JSON representation
A very fast opal setup - no sprockets! - includes opal browser - uses guard to automatically compile your .js.rb files as you save them
- Host: GitHub
- URL: https://github.com/makevoid/opal_raw
- Owner: makevoid
- Created: 2015-08-06T02:00:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-06T13:18:26.000Z (over 9 years ago)
- Last Synced: 2024-12-22T05:31:56.782Z (22 days ago)
- Language: Ruby
- Homepage: http://makevoid.github.io/opal_raw/
- Size: 313 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
- awesome-opal - Opal Raw - A very fast opal setup - no sprockets! - includes opal browser - uses guard to automatically compile your .js.rb files as you save them (Uncategorized / Uncategorized)
README
# Opal Raw
A very fast opal setup - includes opal browser - uses guard to automatically compile your .js.ruby files as you save them - has opal and opal-browser vendored already in js files.
Open the project in a webserver:
python SimpleHTTPServer 3000
then open a browser at:
#### Development
install the dependencies
bundle
launch guard:
guard
modify app.rb, save and refresh the browser
---
#### extra infos:
build a stdlib module
File.open("math.js", 'w') { |file| file.write(Opal::Builder.build('math')) }
all stdlib modules:
https://github.com/opal/opal/tree/master/stdlib
useful stdlib modules:
- nodejs (file, dir, kernel, io ...)
- js (instanceof, typeof, call ...)