Δ.js is a javascript library that accepts almost any pull request (as long as it follows the rules).
bower install anything.js
I think it will be interesting to see what people want to add to this. Obviously being the internet I don't expect anything good to come of it.
- Nothing that'll crash a web page.
- Can't violate GitHub terms of service.
- Don't be an asshole.
- Nothing malicious.
- Deleting stuff that doesn't need to be.
- Fork ( https://github.com/Rabrennie/anything.js/fork )
- Clone ( git clone https://github.com/YourUsername/anything.js.git )
- Branch ( git checkout -b your-feature )
- Make a new file in ./src/ with the name of your function. ( functionName.js )
- Edit ( Type! Type! Type! )
- Push ( git push -u origin your-feature )
- Pull Request ( https://help.github.com/articles/using-pull-requests/ )
- Fire up another branch and add yourself to the contributors list, to congratulate yourself for your work :).
We'd also like your pull request to adhere to the coding style we're already using, which is the following:
We will still merge your pull request if it doesn't follow the guidelines, although deep in our soul we'll hate you.
- As this project is moving quickly, you want to always make sure your master branch is up-to-date before creating a branch to develop your feature. See this resource for a guide on how to update your local branch.
- 4 spaces indentation.
- Line endings are LF/UNIX style (
\n
), not CRLF/Windows style (\r\n
). - We democratically™ voted for using
var funcName = function(){}
overfunction funcName() {}
if you're cool with it. - Same goes for braces: we'd like you to put it on the same line of the function declaration, if, switch, else, whatever. If you want to argue about it, please go to r/ProgrammerHumor, they'll love to argue about it.
We invite you to join us: #anythingjs on freenode