These are chat archives for opal/opal

1st
Jan 2015
Can Edremitoglu
@cantonic
Jan 01 2015 21:59
happy new year to all of you :) Short question: i have defined an element with @calendar = Element.find("#fullcalendar”) and now I want to bind fullCalendar on it. in JS i would do $(‘#fullcalendar’).fullCalendar(). How can I achieve this with opal? @calendar.fullCalendar is not working
Can Edremitoglu
@cantonic
Jan 01 2015 22:07
found it out. I forgot to use Element#expose
Ryan Stout
@ryanstout
Jan 01 2015 22:22
@adambeynon how's it going? have you had any chance to check out the "Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL" issue on opal-rspec with the new phantom version?
Adam Beynon
@adambeynon
Jan 01 2015 22:23
@cantonic yep, Element.expose() is the way to go. from Opal 0.7, element#method_misisng should do the trick though
@ryanstout I havent yet sorry. I havent studied phantom API much, but it should be pretty simple
Ryan Stout
@ryanstout
Jan 01 2015 22:25
@adambeynon cool, thanks
Adam Beynon
@adambeynon
Jan 01 2015 22:25
@ryanstout got a dealine for some work stuff for Monday, but then next week im back to Opal action, so its on my list of things to fix up
as well as 0.7
Ryan Stout
@ryanstout
Jan 01 2015 22:26
@adambeynon cool. Keep up the good work :-)
Ryan Stout
@ryanstout
Jan 01 2015 22:31
@adambeynon is there a quick (monkey patch maybe?) way for me to keep the task from returning a 1 exit code?