forked from extern/egroupware
fix JS error from cropper, stalling eTemplate with minified JS
This commit is contained in:
parent
abd6f7d669
commit
3575f06501
@ -441,6 +441,11 @@
|
||||
// get TypeScript modules working with our loader
|
||||
function require(_file)
|
||||
{
|
||||
switch(_file)
|
||||
{
|
||||
case 'jquery': // cropper mistakes this for commonJS (typeof exports === 'object')
|
||||
return window.jQuery;
|
||||
}
|
||||
return window.exports;
|
||||
}
|
||||
var exports = {};
|
||||
|
Loading…
Reference in New Issue
Block a user