0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

export Squire

This commit is contained in:
shiawuen 2015-05-07 10:52:32 +08:00
parent 1ec7956c97
commit 3f643b5718
3 changed files with 12 additions and 4 deletions

View file

@ -3576,7 +3576,11 @@ if ( top !== win ) {
win.onEditorLoad = null;
}
} else {
win.Squire = Squire;
if ( module && module.exports ) {
module.exports = Squire;
} else {
win.Squire = Squire;
}
}
}( document ) );

File diff suppressed because one or more lines are too long

View file

@ -7,7 +7,11 @@ if ( top !== win ) {
win.onEditorLoad = null;
}
} else {
win.Squire = Squire;
if ( module && module.exports ) {
module.exports = Squire;
} else {
win.Squire = Squire;
}
}
}( document ) );