ruby on rails - instantclick slim-lang syntax -
i trying add instantclick rails app , have slim-lang question.
how convert code acceptable slim-lang syntax?
<script src="instantclick.min.js" data-no-instant></script> <script data-no-instant>instantclick.init();</script>
right working this:
script[src="/assets/javascripts/plugins/instantclick.min.js" data-no-instant] |<script data-no-instant>instantclick.init();</script>
thoughts?
it can this:
script data-no-instant="" src="/assets/javascripts/plugins/instantclick.min.js" script data-no-instant="" instantclick.init();
or:
script data-no-instant="" src="/assets/javascripts/plugins/instantclick.min.js" script data-no-instant="" | instantclick.init();
Comments
Post a Comment