%head
  :javascript
    $(function() {
        yield :document_ready
    });

The above was produced by using the html2haml
<http://html2haml.heroku.com/>online tool.

On 22 April 2012 05:33, kadoudal <kadou...@gmail.com> wrote:

> I am trying to insert this block  ( which is inning fine in an
> application.html.erb
>
>   <head>
>       <script type="text/javascript">
>            $(function() {
>               <%= yield :document_ready %>
>            });
>      </script>
>   </head>
>
> I tried :
>
>    %head
>        :javascript
>             = yield :document_ready
>
>
>    %head
>        :javascript
>             '<%= yield :document_ready %>'
>
> thanks for feedback
>
> but no way , the yield :document_ready  is never executer
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to haml@googlegroups.com.
> To unsubscribe from this group, send email to
> haml+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>


-- 
Regards,

Ken

Seek wisdom through disbelief

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to