Skip to content
greatbody edited this page Dec 21, 2016 · 2 revisions

Welcome to the remotipart wiki!

With RequireJS

For thoes who prefer RequireJs

Edit your application.js like this:

requirejs.config({
  baseUrl: '/assets',
  paths: {
    'jquery': 'jquery',
    'jquery.remotipart': 'jquery.remotipart'
  },
  shim: {
    'jquery.remotipart': [ 'jquery' ]
  }
});

require(['jquery', 'jquery_ujs', 'jquery.remotipart']);
Clone this wiki locally