Prose Style Guide

link Formatting ConventionsOn many sites, prose (sites, README, docs, etc) is authored with GitHub Flavored Markdown. Some sites (e.g. use an XML-based markup system but the advice offered here for good writing still applies. link Writing StyleContent should be educational and accessible to a broad audience of developers. The primary target audience is beginning … Continue reading

Writing Code for jQuery Foundation Projects

Like many Open Source projects, the majority of jQuery contributors are volunteers; their ability to contribute ebbs and flows with the demands of their professional and personal lives. As a result, jQuery projects are always looking for talented people who are motivated to contribute. New contributors sometimes make the mistake of starting with a pull … Continue reading

Getting Started Contributing to Open Source

Contributing to the jQuery project, and to any FOSS project for that matter, can be a rewarding experience both in terms of the way you can help yourself and projects you are working on, as well as the countless number of others you may help with your contribution. Taking that first step though, can be … Continue reading

Contributing to the jQuery Community

In a sense, each of the different ways of getting involved that we detail on this site are all ways of contributing to the jQuery community, which we define quite liberally: helping to make any aspect of using jQuery Foundation projects better for other people. This, of course, includes things like filing and fixing bugs, … Continue reading

jQuery’s Style Guides

Style guides aim to make a code base appear as if it were written by one meticulous programmer. As with many aspects of coding and writing, there can be differences of opinion about the best style. Contentious issues like "spaces versus tabs" or "semicolons or not" distract from the goal of writing code that works. … Continue reading

Contributing to jQuery Foundation Documentation

For almost as long as jQuery has been around, its documentation has been an integral part of the project, from helping new users get up to speed to offering detailed explanations of features for seasoned developers. Currently, the jQuery Foundation manages API documentation and demos for its projects and provides a growing set of tutorials … Continue reading

Contributing to jQuery Foundation Web Sites

Just like our JavaScript libraries, we maintain the design and content of all our websites in the open, with everything available on GitHub. We do this for several reasons: It works for code. Open source development is collaborative, auditable, and decentralized — all qualities that should be part of working on design and documentation as … Continue reading

JavaScript Style Guide

Linting Spacing Bad Examples Good Examples Object and Array Expressions Multi-line Statements Chained Method Calls Full File Closures Constructors Equality Type Checks Comments Quotes Semicolons Naming Conventions Global Variables DOM Node Rules Switch Statements link LintingUse JSHint to detect errors and potential problems. Every jQuery project has a Grunt task for linting all JavaScript files: … Continue reading

HTML Style Guide

Linting Spacing Formatting HTML Semantics Reducing Markup Separation of Concerns Forms Comments This page outlines the style guide for HTML pages in all jQuery projects. These rules apply to web sites, demo pages, inline examples, test pages, etc. Exceptions are allowed for pages that must violate the rules by their very nature, e.g., a page … Continue reading

CSS Style Guide

This page outlines the style guide for CSS across all jQuery projects. link LintingUse CSSLint to detect errors and potential problems. Most jQuery projects have a Grunt task for linting all CSS files: grunt csslint. The options for CSSLint are stored in a .csslintrc file. Each .csslintrc file follows a specific format. All options must … Continue reading

Supporting Other Users

With millions of jQuery users all over the world, there's always someone out there who needs a helping hand. Like many open source projects, the jQuery Foundation relies on community support channels like forums, IRC, and StackOverflow. Helping out with support is one of the best first steps you can take to get involved in … Continue reading

Individual Contributor License Agreement v3.0

Thank you for Your interest in the jQuery Foundation. This document clarifies the terms under which You, the person listed below, may make Contributions — which may include without limitation, software, bug fixes, configuration changes, documentation, or any other materials — to any of the projects owned or managed by the jQuery Foundation. Please complete … Continue reading

Commits and Pull Requests

Working With a Fork Never Commit On Master Branching Preparing To Commit Commit Guidelines Subject Long description References Your Pull Request We use git and GitHub's Pull Request system to review and accept all contributions of code, content and design to all of our projects. Your experience can be as pleasant as possible (for everyone) … Continue reading

jQuery Contributors’ Center

Welcome! With a variety of popular JavaScript tools, more than twenty websites, and millions of users all over the world, there's always more to be done in the world of jQuery. From code and documentation to web design and support, the jQuery Foundation welcomes contributions from anyone willing to put in the time and effort … Continue reading