fkchang / opal-irb

IRB (interactive ruby) for Opal
MIT License
72 stars 17 forks source link

Feature request: support require #1

Open vincentwoo opened 11 years ago

vincentwoo commented 11 years ago

I opened a similar pull request against opal's main repo here: https://github.com/opal/opal/issues/306. I'd really love to be able to have a web IRB console that could also include at the very least, the core Ruby libs like date, etc.

fkchang commented 11 years ago

It seems to me that when this is supported in opal or opal_browser, I can put it into opal-irb. I might play with the require_external in opal_browser. The question for me would be where would that file come from? Similarly, I've been playing w/a require_js that would let me require js files from a web location for use in opal-irb.