lib/assets/javascripts/opal/jquery/document.rb in opal-jquery-0.0.5 vs lib/assets/javascripts/opal/jquery/document.rb in opal-jquery-0.0.6
- old
+ new
@@ -27,13 +27,10 @@
%x{
if (block === nil) {
return nil;
}
- $(function() {
- #{ block.call };
- });
-
+ $(block);
return nil;
}
end
def self.title