Simple Javascript Joyride plugin in rails

前端 未结 3 780
你的背包
你的背包 2021-01-23 09:30

I\'m afraid my plugin isn\'t working properly because of a misunderstanding of rails. I\'m adding zurbs joyride plugin to an index page.

I have the following in v

3条回答
  •  执笔经年
    2021-01-23 10:32

    You could try to make a manifest file for this plugin. Create an index.js inside your subfolder and reference your assets.

    In your application.js you can have just:

    //= require joyride

    You can also try to drop the .js part in //= require joyride/modernizr.mq.js

提交回复
热议问题