// use this to isolate the scope (function () { // No notes shown specified by generation config if (!$axure.document.configuration.showPageNotes && !$axure.document.configuration.showAnnotationsSidebar && !$axure.document.configuration.showAnnotations) { return; } $(window.document).ready(function () { // Load right panel for Page Notes if ($axure.document.configuration.showPageNotes || $axure.document.configuration.showAnnotationsSidebar) { $axure.player.createPluginHost({ id: 'pageNotesHost', context: 'inspect', title: 'Documentation', gid: 2, }); } // Load footnotes on widgets if ($axure.document.configuration.showAnnotations) { $('#overflowMenuContainer').prepend('