Skip to content

Commit 2db6a5c

Browse files
committed
use wrapShim flag to fix dependence of a shim (backbone.paginator) on an AMD module (backbone)
See requirejs/r.js#623 for more info Without this we were getting "Uncaught ReferenceError: Backbone is not defined" errors in the plone bundle
1 parent de2b3b5 commit 2db6a5c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎js/config.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@
109109
'sinon': {exports: 'window.sinon'},
110110
'tinymce': { exports: 'window.tinyMCE', init: function () { this.tinyMCE.DOM.events.domLoaded = true; return this.tinyMCE; }},
111111
'underscore': { exports: 'window._' }
112-
}
112+
},
113+
wrapShim: true
113114
};
114115

115116
if (typeof exports !== 'undefined' && typeof module !== 'undefined') {

0 commit comments

Comments
 (0)