You've imported pnotify, but you didn't declare a variable for it. Change
function($ , _ , Backbone , Cart ){
to
function($ , _ , Backbone , pnotify, Cart ){
Note that it doesn't actually matter what you call the variable since you will never use it anyway. Strictly speaking, you don't even need to define the variable - jQuery plugins just live in the jQuery namespace, which you already have defined - except that you are using enforceDefine = true
. But if you were to remove that property, you could remove the exports property on the shim configuration as well. Just make sure that any "export-less" modules are at the end, after the last module that has a true export.