Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed references to the hc master branch to main #95

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
* Use the icon next to the sample to either compare against a previous version, or to run a unit test. Unit tests
are marked with a jigsaw puzzle icon.
* By default, visual tests compare against the latest stable release.
* See the <a href="https://github.com/highcharts/highcharts/tree/master/utils#tests" target="_blank">Github readme file</a> for guidelines on setting up the tests.

For testing mobile and legacy browsers, check out <a href="/samples/mobile" target="_blank">the simplified mobile samples</a>.
4 changes: 2 additions & 2 deletions public/modules/pulls.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ const renderPull = pull => {
</a>
`;

if (!pull.base || pull.base.ref == 'master') {
if (!pull.base || pull.base.ref == 'main') {

if (pull.decoration?.newInteractions) { // !undefined or > 0
li.innerHTML += `
Expand Down Expand Up @@ -461,4 +461,4 @@ const runUpdate = async () => {
}
});

})();
})();
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ or an equivalent command. The options that are handled at the runtime set
through "Session settings" (explained above) have precedence over
the CLI arguments.

See [highcharts/samples](https://github.com/highcharts/highcharts/tree/master/samples)
See [highcharts/samples](https://github.com/highcharts/highcharts/tree/main/samples)
for description of how the samples are set up and how to use the utils.

The server `code.highcharts.local` is serving files locally from the `/code`
Expand Down
2 changes: 1 addition & 1 deletion routes/bisect/commits.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ router.get('/', function(req, res) {

tpl.branches = Object.keys(log.branches).map(name => ({
name: name,
selected: (req.session.branch || 'master') === name ?
selected: (req.session.branch || 'main') === name ?
'selected' :
''
}));
Expand Down
6 changes: 3 additions & 3 deletions views/samples/share.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@

<h2>Stable demo (preferred)</h2>
<p>
Fiddle with demo files from GitHub master branch and Highcharts from latest stable (<code>code.highcharts.com</code>).
Fiddle with demo files from GitHub main branch and Highcharts from latest stable (<code>code.highcharts.com</code>).
</p>
<a class="button" href="https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/{{path}}/"
<a class="button" href="https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/main/samples/{{path}}/"
target="_blank">jsFiddle</a>


Expand Down Expand Up @@ -79,4 +79,4 @@
<a class="button" href="http://{{ipAddress}}:3030/samples/view?path={{path}}">
Right click to copy
</a>
</div>
</div>