forked from leppert/remotipart
-
Notifications
You must be signed in to change notification settings - Fork 215
Home
greatbody edited this page Dec 21, 2016
·
2 revisions
Welcome to the remotipart wiki!
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']);