voltrb - How to integrate other javascript library in Volt framework? -
i can't understand how integrate existing javascript libraries volt. volt 0.9.3 opal native object isn't available , use backticks interpolation seems no pratical.
you should able use native if want in volt. controllers loaded on client side, required in on server side few reasons, need do:
if ruby_platform == 'opal' require 'native' end
also, did see these docs? http://docs.voltframework.com/en/getting_help/can_i_use_jquery_or_other_dom_manipulating_js.html
Comments
Post a Comment