These are chat archives for tiagorg/marionette-vdom

3rd
Mar 2015
Jim Macaraeg
@jimbriam
Mar 03 2015 18:44
wonder if anyone could help me get this working using requirejs
Jim Macaraeg
@jimbriam
Mar 03 2015 19:14

paths: {
'jquery': 'libs/jquery/dist/jquery',
'underscore': 'libs/lodash/dist/lodash.underscore',
'backbone.marionette': 'libs/marionette/lib/backbone.marionette',
'marionette-vdom': 'libs/marionette-vdom/dist/marionette.vdom',
'backbone': 'libs/backbone/backbone',
},
shim: {
underscore: {
exports: '_'
},
backbone: {
deps: ['jquery', 'underscore'],
exports: 'Backbone'
},
"backbone.marionette": {
deps: ['jquery', 'underscore', 'backbone'],
},
"marionette-vdom": {
deps: ['jquery', 'underscore', 'backbone', 'backbone.marionette']
},
jquery: {
exports: '$'
},

},
is the config that worked for me

Jim Macaraeg
@jimbriam
Mar 03 2015 19:45
ahh, but it doesn't work with requirejs's almond