mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 23:40:35 -05:00
12 lines
221 B
JavaScript
12 lines
221 B
JavaScript
|
|
if ( top !== win ) {
|
|
win.editor = new Squire( doc );
|
|
if ( win.onEditorLoad ) {
|
|
win.onEditorLoad( win.editor );
|
|
win.onEditorLoad = null;
|
|
}
|
|
} else {
|
|
win.Squire = Squire;
|
|
}
|
|
|
|
}( document ) );
|