/*jshint ignore:start */ if ( typeof exports === 'object' ) { module.exports = Squire; } else if ( typeof define === 'function' && define.amd ) { define( function () { return Squire; }); } else { win.Squire = Squire; if ( top !== win && doc.documentElement.getAttribute( 'data-squireinit' ) === 'true' ) { win.editor = new Squire( doc ); if ( win.onEditorLoad ) { win.onEditorLoad( win.editor ); win.onEditorLoad = null; } } } }( document ) );