diff --git a/.gitignore b/.gitignore index 9f0d35a..ffb35c7 100644 --- a/.gitignore +++ b/.gitignore @@ -60,4 +60,6 @@ typings/ # next.js build output .next -NOTES \ No newline at end of file +NOTES + +*.log \ No newline at end of file diff --git a/dist/demoit.js b/dist/demoit.js index 726427b..0b5b705 100644 --- a/dist/demoit.js +++ b/dist/demoit.js @@ -276,7 +276,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _bab /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return navigation; });\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils */ \"./src/utils.js\");\n\nfunction navigation(storage, showFile, newFile, editFile) {\n var navigation = Object(_utils__WEBPACK_IMPORTED_MODULE_0__[\"el\"])('.files .nav');\n\n var render = function render() {\n var items = []; // current files\n\n items.push(''); // icons\n\n items.push('');\n navigation.innerHTML = items.join('');\n };\n\n render();\n\n window.showFile = function (index) {\n return showFile(index);\n };\n\n window.editFile = function (index) {\n return editFile(index);\n };\n\n window.newFile = function () {\n return newFile();\n };\n\n return render;\n}\n\n//# sourceURL=webpack:///./src/navigation.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return navigation; });\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils */ \"./src/utils.js\");\n\nfunction navigation(storage, showFile, newFile, editFile) {\n var navigation = Object(_utils__WEBPACK_IMPORTED_MODULE_0__[\"el\"])('.files .nav');\n\n var render = function render() {\n var items = []; // current files\n\n items.push(''); // icons\n\n items.push('');\n navigation.innerHTML = items.join('');\n };\n\n render();\n\n window.showFile = function (index) {\n return showFile(index);\n };\n\n window.editFile = function (index) {\n return editFile(index);\n };\n\n window.newFile = function () {\n return newFile();\n };\n\n return render;\n}\n\n//# sourceURL=webpack:///./src/navigation.js?"); /***/ }), diff --git a/dist/styles.css b/dist/styles.css index 1b35775..f6d1977 100644 --- a/dist/styles.css +++ b/dist/styles.css @@ -16,7 +16,7 @@ body { font-size: 20px; line-height: 20px; fill: currentColor; - background-image: url("data:image/svg+xml;utf8,"); + background-image: url("data:image/svg+xml;utf8,"); background-repeat: no-repeat; background-position: center center; } diff --git a/src/navigation.js b/src/navigation.js index c2254f5..f9d9e6b 100644 --- a/src/navigation.js +++ b/src/navigation.js @@ -10,7 +10,7 @@ export default function navigation(storage, showFile, newFile, editFile) { items.push('');