These are chat archives for opal/opal

19th
Jul 2014
Elia Schito
@elia
Jul 19 2014 10:55
@ylluminate https://gist.github.com/elia/0c12c3d7529e042a1503
to generate it I did the following:
gem install opal-browser --pre
opal-build -ropal/browser -oopal-browser.js browser
Elia Schito
@elia
Jul 19 2014 13:35
hey @adambeynon!
ylluminate
@ylluminate
Jul 19 2014 17:26
@elia thanks so much for looking into that. Unfortunately the resultant file is around 325k, which is like the opal-jquery result where it included opal proper as well. why is the previous syntax that worked for opal-jquery not working: opal-build -r opal-browser -o opal-browser.js -- opal-browser
Elia Schito
@elia
Jul 19 2014 18:23
@ylluminate the gist seems fine, the reason opal-build -r opal-browser -o opal-browser.js -- opal-browser doesn’t work is b/c in opal-land opal browser is named browser and after -- you should put the opal lib you want to build
ylluminate
@ylluminate
Jul 19 2014 19:18
@elia okay, gotcha, thanks. The size was worrying me since jquery was considerably smaller and I was fearful, without examining it, that opal proper was being included as with jquery when we were discussing it before.