0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 23:40:35 -05:00
Squire/source/outro.js

18 lines
343 B
JavaScript
Raw Normal View History

/*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' ) {
2015-05-06 21:52:32 -05:00
module.exports = Squire;
} else {
win.Squire = Squire;
}
}
}( document ) );