Skip to content

Commit

Permalink
fix: prettier settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
svrnm committed Sep 27, 2022
1 parent 9c00288 commit 9199a78
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build
node_modules
2 changes: 1 addition & 1 deletion pages/backup.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h1>Backup</h1>
</p>
<div>
<div><button id="load-storage">Load Storage</button><button id="save-storage" style="display: none;">Save Storage</button></div>
<textarea id="storage-box" style="width: 100%; height: 400px;" id="storage" /></textarea>
<textarea id="storage-box" style="width: 100%; height: 400px;" id="storage"></textarea>
</div>

</html>
25 changes: 12 additions & 13 deletions pages/template.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
<!DOCTYPE html>
<html<% if(htmlWebpackPlugin.options.htmlClass) { %> class="<%= htmlWebpackPlugin.options.htmlClass %>"<% } %>>
<html <% if(htmlWebpackPlugin.options.htmlClass) { %>class="<%= htmlWebpackPlugin.options.htmlClass %>"<% } %>>
<head>
<meta charset="utf-8">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<% if (htmlWebpackPlugin.options.appname) { %>
<div id="backup-message" class="alert-box">
If you see this message, DemoMonkey is broken. You can access your scripts to backup by opening the <a href="backup.html">backup page</a>.
<br /> If you want to fix this issue, open the console of the developer toolbar for this page and the background script to check for JavaScript errors.
</div>
<div id="app" class="app-container" data-app="<%= htmlWebpackPlugin.options.appname %>"></div>
<div id="message-box" class="fade-to-hidden" style="z-index: 9999; position: absolute; right: 0; bottom: 0; border: 1px solid blue; background: #eef; margin-right: 20px; margin-bottom: 4px; padding: 4px;"></div>
<% } %>
</body>

</html>
<body>
<% if (htmlWebpackPlugin.options.appname) { %>
<div id="backup-message" class="alert-box">
If you see this message, DemoMonkey is broken. You can access your scripts to backup by opening the <a href="backup.html">backup page</a>.
<br /> If you want to fix this issue, open the console of the developer toolbar for this page and the background script to check for JavaScript errors.
</div>
<div id="app" class="app-container" data-app="<%= htmlWebpackPlugin.options.appname %>"></div>
<div id="message-box" class="fade-to-hidden" style="z-index: 9999; position: absolute; right: 0; bottom: 0; border: 1px solid blue; background: #eef; margin-right: 20px; margin-bottom: 4px; padding: 4px;"></div>
<% } %>
</body>
</html>
1 change: 1 addition & 0 deletions pages/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@ <h2 id="ajax">AJAX</h2>
</g>
</g>
</svg>
</svg>
</div>
<div id="interval"></div>
<script src="js/monkey.js"></script>
Expand Down

0 comments on commit 9199a78

Please sign in to comment.