Is it possible? Keep reading conflicting reports about this.
I have a Marionette app just updated to 2.4.4.
If I replace lodash instead of underscore - with requireJS,
map: { '*': { 'underscore': 'lodash' } }, // 'underscore':'/resource/vendor/backbone.marionette/underscore', 'lodash':'/resource/vendor/lodash/lodash.min',
I get the following error ...
Uncaught TypeError: Cannot read property 'vent' of undefined
lodash boots normally, only the puppet complains.
It looks like this context on line 466 is undefined
463 _proxyMethods: function() { 464 _.each([ "vent", "commands", "reqres" ], function(system) { 465 _.each(messageSystems[system], function(method) { 466 this[system][method] = proxyMethod(this, system, method); 467 }, this); 468 }, this); 469 }
Any tips?
source share