0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2025-01-03 13:16:31 -05:00
Squire/source/outro.js
Matthew Borden 87b69183a6 Revert "Removed Local Server"
This reverts commit b3bf7bf563.
2014-07-11 20:16:37 +10:00

13 lines
255 B
JavaScript

/*global top, win, doc, Squire */
if ( top !== win ) {
win.editor = new Squire( doc );
if ( win.onEditorLoad ) {
win.onEditorLoad( win.editor );
win.onEditorLoad = null;
}
} else {
win.Squire = Squire;
}
}( document ) );