https://github.com/clseibold/ZeroMedium
Medium for ZeroNet
https://github.com/clseibold/ZeroMedium
blogs medium zeronet
Last synced: over 1 year ago
JSON representation
Medium for ZeroNet
- Host: GitHub
- URL: https://github.com/clseibold/ZeroMedium
- Owner: clseibold
- License: gpl-3.0
- Created: 2017-08-17T22:01:19.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-23T06:22:24.000Z (about 7 years ago)
- Last Synced: 2024-10-24T16:50:05.529Z (over 1 year ago)
- Topics: blogs, medium, zeronet
- Language: JavaScript
- Homepage: http://localhost:43110/1CVmbCKWtbskK2GAZLM6gnMuiL6Je25Yds/?/
- Size: 1.03 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.codacy.com/app/krixano/ZeroMedium?utm_source=github.com&utm_medium=referral&utm_content=krixano/ZeroMedium&utm_campaign=Badge_Grade)
# ZeroMedium
Medium for ZeroNet
*Current Version*: 18.01.2
* run `gulp` to combine and move over javascript files to `js` folder, to copy over html files to root, and to compile sass into css and put into `css` folder.
* The `src` folder should be ignored by ZeroNet.
Update: ZeroMedium no longer uses Typescript (there were problems with it and vue and I didn't want to spend forever trying to figure them out).
**NOTE:** This repo uses the GitFlow development model, which you can read about [here](http://nvie.com/posts/a-successful-git-branching-model/) and [here](https://datasift.github.io/gitflow/IntroducingGitFlow.html).
TODO:
* Change gulp-minify-css to gulp-clean-css
## Style Guidelines for Contributions
* Always use camelCase
* Strings should use double quotes
* Always use curly braces ({}) with if statements
* Never use object method shorthand (`functionName() {}`)
* Instead use `functionName: function() {}`
* Always put semicolons at end of statements
* Use `const` when variable is not modified
* Put empty line after declaration lines
* Put 1 space in curly braces (Ex: `{ 'foo': 'bar' }`)
* Don't use assignment inside conditions
* Don't put spaces in brackets
* Don't put spaces in function calls (Must be of this form `functionName()`, *without spaces*)
* Don't put spaces inside parentheses
* Don't use `delete` on variables, they can only delete properties
* Always put 1 space after initial `//` or `/*` of comment
* Always put 1 space before blocks (Ex: `function() {}`, *not* `function(){}`)
* You must have parentheses around arrow function parameters
* Always put 1 space around infix operators (+, -, \*, /, ?, etc.)
* Always wrap regexes in parentheses (Ex: `(/[.?!]/)`)
* You are only allowed to use `that` as an alias for `this` (don't use `self`, etc.)
* Never use `alert`, `confirm`, or `prompt`
* Never use `eval()`