mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
17 lines
343 B
JavaScript
17 lines
343 B
JavaScript
/*jshint ignore:start */
|
|
|
|
if ( top !== win ) {
|
|
win.editor = new Squire( doc );
|
|
if ( win.onEditorLoad ) {
|
|
win.onEditorLoad( win.editor );
|
|
win.onEditorLoad = null;
|
|
}
|
|
} else {
|
|
if ( typeof exports === 'object' ) {
|
|
module.exports = Squire;
|
|
} else {
|
|
win.Squire = Squire;
|
|
}
|
|
}
|
|
|
|
}( document ) );
|