This website requires JavaScript.
Explore
Help
Sign In
Mirror
/
filesafe
Watch
1
Star
0
Fork
0
You've already forked filesafe
mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced
2024-12-13 16:06:21 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
64b04abbe9
filesafe
/
.jsbeautifyrc
6 lines
74 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Updates * Added VSCode settings to git repo. Now you can match yours with mine, if you want. * Added .jsbeautifyrc for js-beautify (to be used by VSCode's Beautify extension). * Refactored all instances of require('**/*.js') with require('**/*') wherever applicable (basically gotten rid of the .js extension). * Refactored path in all instances of require() wherever applicable. * Sorted instances of require() wherever applicable. * Fixed 500 HTTP error trying to load an error page for 505 HTTP error. * Removed special treatement of NoJS page from uploadsController.processFilesForDisplay(). * Updated version string of all static files. * Beautified all HTML, HANDLEBARS and CSS files. * Refactored the structure of footer links in homepage and No-JS uploader. This should now fix homepage going out-of-bound in smaller screens. * Added CSS prefixes wherever applicable. * Improved back-end side of No-JS uploader. This will now handle errors properly. * No-JS uploader will now show max file size. * No-JS uploader will now show a proper message when private mode is enabled and/or registration is disabled.
2018-04-13 16:20:57 +00:00
{
"indent_size": 2,
"indent_char": " ",
Updates~ 😉 Thanks to Zephyrrus for the hints about nunjucks, sort of (he did not really give out any specific hints to me, I stalked his fork, lmao). * Replaced Handlebars with Nunjucks. * Replaced all static HTML files with their NJK-equivalent (excluding error pages). * Renamed "albumDomain" to "homeDomain" in config.sample.js (make sure you update your config.js too). * Updated dependencies: knex and eslint-plugin-import (dev). * Updated vscode's settings.json (I may update this again very soon).
2018-04-18 21:00:36 +00:00
"indent_inner_html": true
Updates * Added VSCode settings to git repo. Now you can match yours with mine, if you want. * Added .jsbeautifyrc for js-beautify (to be used by VSCode's Beautify extension). * Refactored all instances of require('**/*.js') with require('**/*') wherever applicable (basically gotten rid of the .js extension). * Refactored path in all instances of require() wherever applicable. * Sorted instances of require() wherever applicable. * Fixed 500 HTTP error trying to load an error page for 505 HTTP error. * Removed special treatement of NoJS page from uploadsController.processFilesForDisplay(). * Updated version string of all static files. * Beautified all HTML, HANDLEBARS and CSS files. * Refactored the structure of footer links in homepage and No-JS uploader. This should now fix homepage going out-of-bound in smaller screens. * Added CSS prefixes wherever applicable. * Improved back-end side of No-JS uploader. This will now handle errors properly. * No-JS uploader will now show max file size. * No-JS uploader will now show a proper message when private mode is enabled and/or registration is disabled.
2018-04-13 16:20:57 +00:00
}
Reference in New Issue
Copy Permalink