DoneJS StealJS jQuery++ FuncUnit DocumentJS
3.14.1
5.0.0 4.3.0 2.3.35
  • About
  • Guides
  • API Docs
  • Community
  • Contributing
  • Bitovi
    • Bitovi.com
    • Blog
    • Design
    • Development
    • Training
    • Open Source
    • About
    • Contact Us
  • About
  • Guides
  • API Docs
  • Community
  • Contributing
    • Creating the Legacy Branch
    • Changing the Code
    • Releasing CanJS
    • Updating the Site
  • GitHub
  • Twitter
  • Chat
  • Forum
  • News
Bitovi

Changing the Code

  • Edit on GitHub

Learn how to contribute a code change to CanJS v3.

Now that the legacy branch is set up, you can make changes in your local repository.

Creating a new branch

Starting in the CanJS repository you have cloned to your computer, you can create a new branch:

git checkout -b your-branch-name 3.x-legacy

Replace your-branch-name with the name of your feature branch, e.g. git checkout -b html5-fix to create a html5-fix branch.

Submitting a pull request

Once you’ve made your changes and run the tests, you can push your branch to GitHub:

git push origin your-branch-name

Make sure you replace your-branch-name with the name of your branch. For example, git push origin html5-fix.

Next, submit a pull request and set the "base" branch to 3.x-legacy.

CanJS is part of DoneJS. Created and maintained by the core DoneJS team and Bitovi. Currently 3.14.1.

On this page

Get help

  • Chat with us
  • File an issue
  • Ask questions
  • Read latest news