These are chat archives for opal/opal

14th
Jul 2015
CJ Lazell
@cj
Jul 14 2015 14:15
@elia I would add :headers to that, create a class under Index called Headers and then use that middleware to set the headers based on what the user passed in
CJ Lazell
@cj
Jul 14 2015 15:16
by that I mean the attr_accessor at the top :)
Elia Schito
@elia
Jul 14 2015 17:40
@meh is it expected that a Promise#fail block swallows exceptions?
meh.
@meh
Jul 14 2015 17:40
elia, define swallow
Elia Schito
@elia
Jul 14 2015 17:40
rescue nil
I wasn't seeing anything where I expected to see an exception in the console
(i'm on 0.8 rc3)
meh.
@meh
Jul 14 2015 17:52
elia, in theory it's normal
you should add another fail if the fail fails, in theory
we don't have Thread.raise
so they must be swallowed
for debugging
just add an always at the end
and print the parameter to console
Rick Carlino
@RickCarlino
Jul 14 2015 22:31
Anyone know if fiddle salad allows requireing of outside libs like opal-jquery?