mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
fix module check getting undefined for Firefox
This commit is contained in:
parent
70829d2508
commit
619a3abc5d
3 changed files with 4 additions and 4 deletions
|
@ -3576,7 +3576,7 @@ if ( top !== win ) {
|
|||
win.onEditorLoad = null;
|
||||
}
|
||||
} else {
|
||||
if ( module && module.exports ) {
|
||||
if ( typeof exports == 'object' ) {
|
||||
module.exports = Squire;
|
||||
} else {
|
||||
win.Squire = Squire;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@ if ( top !== win ) {
|
|||
win.onEditorLoad = null;
|
||||
}
|
||||
} else {
|
||||
if ( module && module.exports ) {
|
||||
if ( typeof exports == 'object' ) {
|
||||
module.exports = Squire;
|
||||
} else {
|
||||
win.Squire = Squire;
|
||||
|
|
Loading…
Reference in a new issue