Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
blurymind committed Aug 2, 2024
1 parent dc7695a commit e956561
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html><head><meta charset="utf-8" name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="manifest" href="./manifest.json"><link rel="apple-touch-icon" href="images/icon.png"><title>Yarn</title><link rel="icon" href="icon.ico"><link href="css/0.css" rel="stylesheet"><link as="style" href="css/0.css" rel="preload"><link as="script" href="js/main.0f1119b2bc347ee0b011.js" rel="preload"><link as="script" href="js/runtime.0f1119b2bc347ee0b011.js" rel="preload"><link as="script" href="js/vendor.0f1119b2bc347ee0b011.js" rel="preload"><meta name="theme-color" content="#3367D6" /><link rel="manifest" href="manifest.json" crossorigin="use-credentials" /></head><body><!-- Fancy Background --><div id="app-bg">&nbsp;</div><!-- Container --><div id="app"><!-- search form --><div class="app-search"><form class="menu" autocomplete="off" onkeypress="return event.keyCode != 13;"><span class="app-search-field"><input id="nodeSearchInput" type="search" class="search-field" placeholder="Search" autocomplete="off" oninput="app.ui.openNodeListMenu('open')" onmouseenter="app.ui.openNodeListMenu('open')"> <button id="nodeSearchClear" data-bind="click: app.clearSearch">×</button> </span><span><!-- <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> --> <span class="search-title styled-checkbox"><input type="checkbox" checked="checked" id="search-title"> <label for="search-title">Title</label> </span><span class="search-body styled-checkbox"><input type="checkbox" id="search-body"> <label for="search-body">Body</label> </span><span class="search-tags styled-checkbox"><input type="checkbox" id="search-tags"> <label for="search-tags">Tags</label></span></span><div class="dropdown absolute shrink-when-narrow"><div id="openHelperMenu"></div></div></form></div><!-- add node --><div class="app-add-node" data-bind="click:app.newNode" title="Create Node"><span><svg class="icon icon-plus icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-plus"></use></svg></span></div><!-- undo/redo controls --><div class="app-undo-redo app-button"><span data-bind="click: function() { app.historyDirection('undo'); }" title="Undo"><svg class="icon icon-undo icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-undo"></use></svg> </span><span data-bind="click: function() { app.historyDirection('redo'); }" title="Redo"><svg class="icon icon-undo icon-lg icon-fw icon-flip"><use xlink:href="public/icons.svg#icon-undo"></use></svg></span></div><!-- align controls --><div class="app-sort app-button"><span data-bind="click: app.workspace.alignH, event: { dblclick: app.workspace.reduceAlignH }" title="Align Horizontally"><svg class="icon icon-ellipsis-h icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-ellipsis-h"></use></svg></span><span data-bind="click: app.workspace.alignV, event: { dblclick: app.workspace.reduceAlignV }" title="Align Vertically"><svg class="icon icon-ellipsis-v icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-ellipsis-v"></use></svg></span><span data-bind="click: app.workspace.arrangeSpiral" title="Align Spiral"><svg class="icon icon-spinner icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-spinner"></use></svg></span><span data-bind="click: app.workspace.sortAlphabetical" title="Sort Alphabetically"><svg class="icon icon-sort-alpha-asc icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-sort-alpha-asc"></use></svg></span></div><!-- zoom controls --><div class="app-zoom app-button"><span data-bind="click: function() { app.workspace.setZoom(4); }" title="Zoom 1:1"><svg class="icon icon-square icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-square"></use></svg></span><span data-bind="click: function() { app.workspace.setZoom(3); }" title="Zoom 2:1"><svg class="icon icon-th-large icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-th-large"></use></svg></span><span data-bind="click: function() { app.workspace.setZoom(2); }" title="Zoom 3:1"><svg class="icon icon-th icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-th"></use></svg></span><span data-bind="click: function() { app.workspace.setZoom(1); }" title="Zoom 4:1"><svg class="icon icon-th icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-th-small"></use></svg></span></div><!-- main menu --><div class="app-menu" id="appHeader"><!-- File menu --><div class="menu" id="appFileMenu"><span class="title">File</span><div class="dropdown" id="fileMenuDropdown"><span class="item" data-bind="click: app.data.setNewFile"><svg class="icon menu-icon icon-file-text icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-file-text"></use></svg> <span class="hide-when-narrow">&nbsp;</span> New </span><span class="item" data-bind="click: app.data.tryAppend"><svg class="icon menu-icon icon-append icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-append"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Append </span><span class="item" data-bind="click: app.data.tryOpenFile"><svg class="icon menu-icon icon-folder-open icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-folder-open"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Open File(s) </span><!-- ko if:data.editingPath() != null --> <span class="item" data-bind="click: app.data.trySaveCurrent"><svg class="icon menu-icon icon-save icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-save"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Save </span><!-- /ko --> <span class="item" data-bind="click: function() { app.data.trySave('json');}"><svg class="icon menu-icon icon-javascript icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-javascript"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Save as Json </span><span class="item" data-bind="visible: app.settings.documentType() === 'yarn',click: function() { app.data.trySave('yarn'); }"><img style="margin:0; padding:0" width="20px" src="./public/icon.ico" alt="Yarn Icon"> <span class="hide-when-narrow">&nbsp;</span> Save as Yarn </span><span class="item" data-bind="visible: app.settings.documentType() === 'ink',click: function() { app.data.trySave('ink'); }"><img style="margin:0; padding:0" width="20px" src="./public/images/inky-icon.png" alt="Ink Icon"> <span class="hide-when-narrow">&nbsp;</span> Export as Ink </span><span class="item" data-bind="visible: app.settings.documentType() === 'ink',click: function() { app.data.trySave('ink.json'); }"><img style="margin:0; padding:0" width="20px" src="./public/images/inky-icon.png" alt="Ink Icon"> <span class="hide-when-narrow">&nbsp;</span> Export as Ink Json </span><span class="item" data-bind="visible: app.settings.documentType() === 'yarn',click: function() { app.data.trySave('rpy'); }"><img style="margin:0; padding:0" width="20px" src="./public/images/renpy-128.png" alt="Renpy Icon"> <span class="hide-when-narrow">&nbsp;</span> Export as Renpy </span><span class="item" data-bind="visible: app.settings.documentType() === 'yarn',click: function() { app.data.trySave('twee'); }"><img style="margin:0; padding:0" width="20px" src="./public/images/twine-favicon-152.png" alt="Twine Icon"> <span class="hide-when-narrow">&nbsp;</span> Export as Twee </span><span class="item" data-bind="visible: app.settings.documentType() === 'yarn',click: function() { app.data.trySave('tw2'); }"><img style="margin:0; padding:0" width="20px" src="./public/images/twine-favicon-152.png" alt="Twine Icon"> <span class="hide-when-narrow">&nbsp;</span> Export as Twee2 </span><span class="item" data-bind="visible: app.settings.documentType() === 'yarn',click: function() { app.data.trySave('xml'); }"><svg class="icon menu-icon icon-document-file-xml icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-document-file-xml"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Export as Xml </span><span id="gistTryOpen" class="item" data-bind="click: function() { app.data.tryOpenGist(app.storage);}"><svg class="icon menu-icon icon-github icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-github"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Open Gist </span><span id="gistTrySave" class="item" data-bind="click: function() { app.data.trySaveGist(app.storage);}"><svg class="icon menu-icon icon-save-gist icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-save-gist"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Save to Gist </span><span id="pwaTryShare" class="item" data-bind="click: function() { app.data.tryShareFilePwa('yarn');}"><svg class="icon menu-icon icon-share-square-o icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-share-square-o"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Share File </span><span class="item" data-bind="click:app.ui.openSettingsDialog"><svg class="icon menu-icon icon-cog icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-cog"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Settings </span><span class="item" data-bind="click:app.ui.openHelpDialog"><svg class="icon menu-icon icon-coffee icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-coffee"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Help / About</span></div></div><!-- file menu --></div><!-- app-menu --><!-- app-opened-documents --><div class="file-tabs"><span style="border-radius: 2px; padding: 0 5px;margin-right: 5px" class="bbcode-button" data-bind="click:app.data.trySaveCurrent, text:`${data.isDocumentDirty() ? '💾':'✅'}`"></span> <button class="bbcode-button" data-bind="click: function(){
<!doctype html><html><head><meta charset="utf-8" name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="manifest" href="./manifest.json"><link rel="apple-touch-icon" href="images/icon.png"><title>Yarn</title><link rel="icon" href="icon.ico"><link href="css/0.css" rel="stylesheet"><link as="style" href="css/0.css" rel="preload"><link as="script" href="js/main.5838d438f3d8800d176d.js" rel="preload"><link as="script" href="js/runtime.5838d438f3d8800d176d.js" rel="preload"><link as="script" href="js/vendor.5838d438f3d8800d176d.js" rel="preload"><meta name="theme-color" content="#3367D6" /><link rel="manifest" href="manifest.json" crossorigin="use-credentials" /></head><body><!-- Fancy Background --><div id="app-bg">&nbsp;</div><!-- Container --><div id="app"><!-- search form --><div class="app-search"><form class="menu" autocomplete="off" onkeypress="return event.keyCode != 13;"><span class="app-search-field"><input id="nodeSearchInput" type="search" class="search-field" placeholder="Search" autocomplete="off" oninput="app.ui.openNodeListMenu('open')" onmouseenter="app.ui.openNodeListMenu('open')"> <button id="nodeSearchClear" data-bind="click: app.clearSearch">×</button> </span><span><!-- <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> --> <span class="search-title styled-checkbox"><input type="checkbox" checked="checked" id="search-title"> <label for="search-title">Title</label> </span><span class="search-body styled-checkbox"><input type="checkbox" id="search-body"> <label for="search-body">Body</label> </span><span class="search-tags styled-checkbox"><input type="checkbox" id="search-tags"> <label for="search-tags">Tags</label></span></span><div class="dropdown absolute shrink-when-narrow"><div id="openHelperMenu"></div></div></form></div><!-- add node --><div class="app-add-node" data-bind="click:app.newNode" title="Create Node"><span><svg class="icon icon-plus icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-plus"></use></svg></span></div><!-- undo/redo controls --><div class="app-undo-redo app-button"><span data-bind="click: function() { app.historyDirection('undo'); }" title="Undo"><svg class="icon icon-undo icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-undo"></use></svg> </span><span data-bind="click: function() { app.historyDirection('redo'); }" title="Redo"><svg class="icon icon-undo icon-lg icon-fw icon-flip"><use xlink:href="public/icons.svg#icon-undo"></use></svg></span></div><!-- align controls --><div class="app-sort app-button"><span data-bind="click: app.workspace.alignH, event: { dblclick: app.workspace.reduceAlignH }" title="Align Horizontally"><svg class="icon icon-ellipsis-h icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-ellipsis-h"></use></svg></span><span data-bind="click: app.workspace.alignV, event: { dblclick: app.workspace.reduceAlignV }" title="Align Vertically"><svg class="icon icon-ellipsis-v icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-ellipsis-v"></use></svg></span><span data-bind="click: app.workspace.arrangeSpiral" title="Align Spiral"><svg class="icon icon-spinner icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-spinner"></use></svg></span><span data-bind="click: app.workspace.sortAlphabetical" title="Sort Alphabetically"><svg class="icon icon-sort-alpha-asc icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-sort-alpha-asc"></use></svg></span></div><!-- zoom controls --><div class="app-zoom app-button"><span data-bind="click: function() { app.workspace.setZoom(4); }" title="Zoom 1:1"><svg class="icon icon-square icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-square"></use></svg></span><span data-bind="click: function() { app.workspace.setZoom(3); }" title="Zoom 2:1"><svg class="icon icon-th-large icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-th-large"></use></svg></span><span data-bind="click: function() { app.workspace.setZoom(2); }" title="Zoom 3:1"><svg class="icon icon-th icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-th"></use></svg></span><span data-bind="click: function() { app.workspace.setZoom(1); }" title="Zoom 4:1"><svg class="icon icon-th icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-th-small"></use></svg></span></div><!-- main menu --><div class="app-menu" id="appHeader"><!-- File menu --><div class="menu" id="appFileMenu"><span class="title">File</span><div class="dropdown" id="fileMenuDropdown"><span class="item" data-bind="click: app.data.setNewFile"><svg class="icon menu-icon icon-file-text icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-file-text"></use></svg> <span class="hide-when-narrow">&nbsp;</span> New </span><span class="item" data-bind="click: app.data.tryAppend"><svg class="icon menu-icon icon-append icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-append"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Append </span><span class="item" data-bind="click: app.data.tryOpenFile"><svg class="icon menu-icon icon-folder-open icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-folder-open"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Open File(s) </span><!-- ko if:data.editingPath() != null --> <span class="item" data-bind="click: app.data.trySaveCurrent"><svg class="icon menu-icon icon-save icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-save"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Save </span><!-- /ko --> <span class="item" data-bind="click: function() { app.data.trySave('json');}"><svg class="icon menu-icon icon-javascript icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-javascript"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Save as Json </span><span class="item" data-bind="visible: app.settings.documentType() === 'yarn',click: function() { app.data.trySave('yarn'); }"><img style="margin:0; padding:0" width="20px" src="./public/icon.ico" alt="Yarn Icon"> <span class="hide-when-narrow">&nbsp;</span> Save as Yarn </span><span class="item" data-bind="visible: app.settings.documentType() === 'ink',click: function() { app.data.trySave('ink'); }"><img style="margin:0; padding:0" width="20px" src="./public/images/inky-icon.png" alt="Ink Icon"> <span class="hide-when-narrow">&nbsp;</span> Export as Ink </span><span class="item" data-bind="visible: app.settings.documentType() === 'ink',click: function() { app.data.trySave('ink.json'); }"><img style="margin:0; padding:0" width="20px" src="./public/images/inky-icon.png" alt="Ink Icon"> <span class="hide-when-narrow">&nbsp;</span> Export as Ink Json </span><span class="item" data-bind="visible: app.settings.documentType() === 'yarn',click: function() { app.data.trySave('rpy'); }"><img style="margin:0; padding:0" width="20px" src="./public/images/renpy-128.png" alt="Renpy Icon"> <span class="hide-when-narrow">&nbsp;</span> Export as Renpy </span><span class="item" data-bind="visible: app.settings.documentType() === 'yarn',click: function() { app.data.trySave('twee'); }"><img style="margin:0; padding:0" width="20px" src="./public/images/twine-favicon-152.png" alt="Twine Icon"> <span class="hide-when-narrow">&nbsp;</span> Export as Twee </span><span class="item" data-bind="visible: app.settings.documentType() === 'yarn',click: function() { app.data.trySave('tw2'); }"><img style="margin:0; padding:0" width="20px" src="./public/images/twine-favicon-152.png" alt="Twine Icon"> <span class="hide-when-narrow">&nbsp;</span> Export as Twee2 </span><span class="item" data-bind="visible: app.settings.documentType() === 'yarn',click: function() { app.data.trySave('xml'); }"><svg class="icon menu-icon icon-document-file-xml icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-document-file-xml"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Export as Xml </span><span id="gistTryOpen" class="item" data-bind="click: function() { app.data.tryOpenGist(app.storage);}"><svg class="icon menu-icon icon-github icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-github"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Open Gist </span><span id="gistTrySave" class="item" data-bind="click: function() { app.data.trySaveGist(app.storage);}"><svg class="icon menu-icon icon-save-gist icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-save-gist"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Save to Gist </span><span id="pwaTryShare" class="item" data-bind="click: function() { app.data.tryShareFilePwa('yarn');}"><svg class="icon menu-icon icon-share-square-o icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-share-square-o"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Share File </span><span class="item" data-bind="click:app.ui.openSettingsDialog"><svg class="icon menu-icon icon-cog icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-cog"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Settings </span><span class="item" data-bind="click:app.ui.openHelpDialog"><svg class="icon menu-icon icon-coffee icon-lg icon-fw"><use xlink:href="public/icons.svg#icon-coffee"></use></svg> <span class="hide-when-narrow">&nbsp;</span> Help / About</span></div></div><!-- file menu --></div><!-- app-menu --><!-- app-opened-documents --><div class="file-tabs"><span style="border-radius: 2px; padding: 0 5px;margin-right: 5px" class="bbcode-button" data-bind="click:app.data.trySaveCurrent, text:`${data.isDocumentDirty() ? '💾':'✅'}`"></span> <button class="bbcode-button" data-bind="click: function(){
app.settings.fileTabsVisible(!app.settings.fileTabsVisible())
},css: {
active: !app.settings.fileTabsVisible(), rotated: !app.settings.fileTabsVisible()
Expand Down Expand Up @@ -78,7 +78,6 @@
});
// }
}

},
true
);</script><script src="js/runtime.0f1119b2bc347ee0b011.js"></script><script src="js/vendor.0f1119b2bc347ee0b011.js"></script><script src="js/main.0f1119b2bc347ee0b011.js"></script></body></html>
);</script><script src="js/runtime.5838d438f3d8800d176d.js"></script><script src="js/vendor.5838d438f3d8800d176d.js"></script><script src="js/main.5838d438f3d8800d176d.js"></script></body></html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit e956561

Please sign in to comment.