Skip to content

Commit

Permalink
Use HTTPS instead of HTTP for URLs supporting it
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrunel committed Dec 16, 2018
1 parent 2388eea commit b3d3df4
Show file tree
Hide file tree
Showing 20 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
@@ -1,4 +1,4 @@
# http://editorconfig.org
# https://editorconfig.org
root = true

[*]
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Expand Up @@ -4,8 +4,8 @@ Please consider the following before submitting an issue:
- Ask questions and get support on StackOverflow: https://stackoverflow.com/questions/tagged/chart.js
- DO NOT create issues for questions or support requests.
- Issues are reserved for BUG reports and FEATURE requests.
- Most features should start as plugins outside of Chart.js (http://www.chartjs.org/docs/#advanced-usage-creating-plugins).
- Bug reports MUST be submitted with an interactive example (http://codepen.io/pen?template=JXVYzq).
- Most features should start as plugins outside of Chart.js (https://www.chartjs.org/docs/#advanced-usage-creating-plugins).
- Bug reports MUST be submitted with an interactive example (https://codepen.io/pen?template=JXVYzq).
- Chart.js 1.x is NOT supported anymore, new issues will be disregarded.
-->

Expand Down
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Expand Up @@ -4,8 +4,8 @@ Please consider the following before submitting a pull request:
Guidelines for contributing: https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md
Example of changes on an interactive website such as the following:
- http://jsbin.com/
- http://jsfiddle.net/
- http://codepen.io/pen/
- Premade template: http://codepen.io/pen?template=JXVYzq
- https://jsbin.com/
- https://jsfiddle.net/
- https://codepen.io/pen/
- Premade template: https://codepen.io/pen?template=JXVYzq
-->
2 changes: 1 addition & 1 deletion MAINTAINING.md
Expand Up @@ -5,7 +5,7 @@ Chart.js relies on [Travis CI](https://travis-ci.org/) to automate the library [
### Releasing a New Version

1. draft release notes on [GitHub](https://github.com/chartjs/Chart.js/releases/new) for the upcoming tag
1. update `master` `package.json` version using [semver](http://semver.org/) semantic
1. update `master` `package.json` version using [semver](https://semver.org/) semantic
1. merge `master` into the `release` branch
1. follow the build process on [Travis CI](https://travis-ci.org/chartjs/Chart.js)

Expand Down
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -2,7 +2,7 @@

[![travis](https://img.shields.io/travis/chartjs/Chart.js.svg?style=flat-square&maxAge=60)](https://travis-ci.org/chartjs/Chart.js) [![coveralls](https://img.shields.io/coveralls/chartjs/Chart.js.svg?style=flat-square&maxAge=600)](https://coveralls.io/github/chartjs/Chart.js?branch=master) [![codeclimate](https://img.shields.io/codeclimate/maintainability/chartjs/Chart.js.svg?style=flat-square&maxAge=600)](https://codeclimate.com/github/chartjs/Chart.js) [![slack](https://img.shields.io/badge/slack-chartjs-blue.svg?style=flat-square&maxAge=3600)](https://chartjs-slack.herokuapp.com/)

*Simple HTML5 Charts using the canvas element* [chartjs.org](http://www.chartjs.org)
*Simple HTML5 Charts using the canvas element* [chartjs.org](https://www.chartjs.org)

## Installation

Expand All @@ -28,7 +28,7 @@ Files:
* `dist/Chart.js`
* `dist/Chart.min.js`

The stand-alone build includes Chart.js as well as the color parsing library. If this version is used, you are required to include [Moment.js](http://momentjs.com/) before Chart.js for the functionality of the time axis.
The stand-alone build includes Chart.js as well as the color parsing library. If this version is used, you are required to include [Moment.js](https://momentjs.com/) before Chart.js for the functionality of the time axis.

#### Bundled Build
Files:
Expand All @@ -39,11 +39,11 @@ The bundled build includes Moment.js in a single file. You should use this versi

## Documentation

You can find documentation at [www.chartjs.org/docs](http://www.chartjs.org/docs). The markdown files that build the site are available under `/docs`. Previous version documentation is available at [www.chartjs.org/docs/latest/developers/#previous-versions](http://www.chartjs.org/docs/latest/developers/#previous-versions).
You can find documentation at [www.chartjs.org/docs](https://www.chartjs.org/docs). The markdown files that build the site are available under `/docs`. Previous version documentation is available at [www.chartjs.org/docs/latest/developers/#previous-versions](https://www.chartjs.org/docs/latest/developers/#previous-versions).

## Contributing

Before submitting an issue or a pull request, please take a moment to look over the [contributing guidelines](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md) first. For support using Chart.js, please post questions with the [`chartjs` tag on Stack Overflow](http://stackoverflow.com/questions/tagged/chartjs).
Before submitting an issue or a pull request, please take a moment to look over the [contributing guidelines](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md) first. For support using Chart.js, please post questions with the [`chartjs` tag on Stack Overflow](https://stackoverflow.com/questions/tagged/chartjs).

## Building
Instructions on building and testing Chart.js can be found in [the documentation](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md#building-and-testing).
Expand All @@ -54,4 +54,4 @@ Instructions on building and testing Chart.js can be found in [the documentation

## License

Chart.js is available under the [MIT license](http://opensource.org/licenses/MIT).
Chart.js is available under the [MIT license](https://opensource.org/licenses/MIT).
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -6,7 +6,7 @@
"chart",
"js"
],
"homepage": "http://www.chartjs.org/",
"homepage": "https://www.chartjs.org/",
"license": "MIT",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion docs/developers/README.md
Expand Up @@ -16,7 +16,7 @@ Latest builds are available for testing at:
- https://www.chartjs.org/dist/master/Chart.min.js
- https://www.chartjs.org/dist/master/Chart.bundle.min.js

> Note: Development builds are currently only available via HTTP, so in order to include them in [JSFiddle](http://jsfiddle.net) or [CodePen](http://codepen.io), you need to access these tools via HTTP as well.
> Note: Development builds are currently only available via HTTP, so in order to include them in [JSFiddle](https://jsfiddle.net) or [CodePen](https://codepen.io), you need to access these tools via HTTP as well.
**WARNING: Development builds MUST not be used for production purposes or as replacement for CDN.**

Expand Down
2 changes: 1 addition & 1 deletion samples/charts/scatter/basic.html
Expand Up @@ -31,7 +31,7 @@
}
return data;
}

var scatterChartData = {
datasets: [{
label: 'My First dataset',
Expand Down
4 changes: 2 additions & 2 deletions samples/index.html
Expand Up @@ -16,8 +16,8 @@
<div class="chartjs-title">Samples</div>
<div class="chartjs-caption">Simple yet flexible JavaScript charting for designers &amp; developers</div>
<div class="chartjs-links">
<a class="btn btn-chartjs" href="http://www.chartjs.org">Website</a>
<a class="btn btn-docs" href="http://www.chartjs.org/docs">Documentation</a>
<a class="btn btn-chartjs" href="https://www.chartjs.org">Website</a>
<a class="btn btn-docs" href="https://www.chartjs.org/docs">Documentation</a>
<a class="btn btn-gh" href="https://github.com/chartjs/Chart.js">GitHub</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion samples/utils.js
Expand Up @@ -42,7 +42,7 @@ window.chartColors = {
var Color = global.Color;

Samples.utils = {
// Adapted from http://indiegamr.com/generate-repeatable-random-numbers-in-js/
// Adapted from https://indiegamr.com/generate-repeatable-random-numbers-in-js/
srand: function(seed) {
this._seed = seed;
},
Expand Down
8 changes: 4 additions & 4 deletions src/core/core.helpers.js
Expand Up @@ -241,7 +241,7 @@ module.exports = function() {

helpers.splineCurve = function(firstPoint, middlePoint, afterPoint, t) {
// Props to Rob Spencer at scaled innovation for his post on splining between points
// http://scaledinnovation.com/analytics/splines/aboutSplines.html
// https://scaledinnovation.com/analytics/splines/aboutSplines.html

// This function must also respect "skipped" points

Expand Down Expand Up @@ -405,7 +405,7 @@ module.exports = function() {

return niceFraction * Math.pow(10, exponent);
};
// Request animation polyfill - http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/
// Request animation polyfill - https://www.paulirish.com/2011/requestanimationframe-for-smart-animating/
helpers.requestAnimFrame = (function() {
if (typeof window === 'undefined') {
return function(callback) {
Expand Down Expand Up @@ -440,7 +440,7 @@ module.exports = function() {

// Scale mouse coordinates into canvas coordinates
// by following the pattern laid out by 'jerryj' in the comments of
// http://www.html5canvastutorials.com/advanced/html5-canvas-mouse-coordinates/
// https://www.html5canvastutorials.com/advanced/html5-canvas-mouse-coordinates/
var paddingLeft = parseFloat(helpers.getStyle(canvas, 'padding-left'));
var paddingTop = parseFloat(helpers.getStyle(canvas, 'padding-top'));
var paddingRight = parseFloat(helpers.getStyle(canvas, 'padding-right'));
Expand Down Expand Up @@ -489,7 +489,7 @@ module.exports = function() {
// @param domNode : the node to check the constraint on
// @param maxStyle : the style that defines the maximum for the direction we are using (maxWidth / maxHeight)
// @param percentageProperty : property of parent to use when calculating width as a percentage
// @see http://www.nathanaeljones.com/blog/2013/reading-max-width-cross-browser
// @see https://www.nathanaeljones.com/blog/2013/reading-max-width-cross-browser
function getConstraintDimension(domNode, maxStyle, percentageProperty) {
var view = document.defaultView;
var parentNode = helpers._getParentNode(domNode);
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/helpers.core.js
Expand Up @@ -128,7 +128,7 @@ var helpers = {

/**
* Returns true if the `a0` and `a1` arrays have the same content, else returns false.
* @see http://stackoverflow.com/a/14853974
* @see https://stackoverflow.com/a/14853974
* @param {Array} a0 - The array to compare
* @param {Array} a1 - The array to compare
* @returns {Boolean}
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/platform.dom.js
Expand Up @@ -305,7 +305,7 @@ function removeResizeListener(node) {
}

function injectCSS(platform, css) {
// http://stackoverflow.com/q/3922139
// https://stackoverflow.com/q/3922139
var style = platform._style || document.createElement('style');
if (!platform._style) {
platform._style = style;
Expand Down
2 changes: 1 addition & 1 deletion src/scales/scale.linearbase.js
Expand Up @@ -12,7 +12,7 @@ var Scale = require('../core/core.scale');
function generateTicks(generationOptions, dataRange) {
var ticks = [];
// To get a "nice" value for the tick spacing, we will use the appropriately named
// "nice number" algorithm. See http://stackoverflow.com/questions/8506881/nice-label-algorithm-for-charts-with-minimum-ticks
// "nice number" algorithm. See https://stackoverflow.com/questions/8506881/nice-label-algorithm-for-charts-with-minimum-ticks
// for details.

var stepSize = generationOptions.stepSize;
Expand Down
12 changes: 6 additions & 6 deletions src/scales/scale.time.js
Expand Up @@ -130,7 +130,7 @@ function buildLookupTable(timestamps, min, max, distribution) {
return table;
}

// @see adapted from http://www.anujgakhar.com/2014/03/01/binary-search-in-javascript/
// @see adapted from https://www.anujgakhar.com/2014/03/01/binary-search-in-javascript/
function lookup(table, key, value) {
var lo = 0;
var hi = table.length - 1;
Expand Down Expand Up @@ -179,7 +179,7 @@ function interpolate(table, skey, sval, tkey) {

/**
* Convert the given value to a moment object using the given time options.
* @see http://momentjs.com/docs/#/parsing/
* @see https://momentjs.com/docs/#/parsing/
*/
function momentify(value, options) {
var parser = options.parser;
Expand Down Expand Up @@ -448,15 +448,15 @@ module.exports = function() {
bounds: 'data',

time: {
parser: false, // false == a pattern string from http://momentjs.com/docs/#/parsing/string-format/ or a custom callback that converts its argument to a moment
format: false, // DEPRECATED false == date objects, moment object, callback or a pattern string from http://momentjs.com/docs/#/parsing/string-format/
parser: false, // false == a pattern string from https://momentjs.com/docs/#/parsing/string-format/ or a custom callback that converts its argument to a moment
format: false, // DEPRECATED false == date objects, moment object, callback or a pattern string from https://momentjs.com/docs/#/parsing/string-format/
unit: false, // false == automatic or override with week, month, year, etc.
round: false, // none, or override with week, month, year, etc.
displayFormat: false, // DEPRECATED
isoWeekday: false, // override week start day - see http://momentjs.com/docs/#/get-set/iso-weekday/
isoWeekday: false, // override week start day - see https://momentjs.com/docs/#/get-set/iso-weekday/
minUnit: 'millisecond',

// defaults to unit's corresponding unitFormat below or override using pattern string from http://momentjs.com/docs/#/displaying/format/
// defaults to unit's corresponding unitFormat below or override using pattern string from https://momentjs.com/docs/#/displaying/format/
displayFormats: {
millisecond: 'h:mm:ss.SSS a', // 11:20:01.123 AM,
second: 'h:mm:ss a', // 11:20:01 AM
Expand Down
2 changes: 1 addition & 1 deletion test/.eslintrc.yml
Expand Up @@ -7,7 +7,7 @@ globals:
moment: true
waitForResize: true

# http://eslint.org/docs/rules/
# https://eslint.org/docs/rules/
rules:
# Best Practices
complexity: 0
Expand Down
2 changes: 1 addition & 1 deletion test/context.js
@@ -1,4 +1,4 @@
// Code from http://stackoverflow.com/questions/4406864/html-canvas-unit-testing
// Code from https://stackoverflow.com/questions/4406864/html-canvas-unit-testing
var Context = function() {
this._calls = []; // names/args of recorded calls
this._initMethods();
Expand Down
2 changes: 1 addition & 1 deletion test/specs/core.layouts.tests.js
Expand Up @@ -11,7 +11,7 @@ describe('Chart.layouts', function() {

// Disable tests which need to be rewritten based on changes introduced by
// the following changes: https://github.com/chartjs/Chart.js/pull/2346
// using xit marks the test as pending: http://jasmine.github.io/2.0/introduction.html#section-Pending_Specs
// using xit marks the test as pending: https://jasmine.github.io/2.0/introduction.html#section-Pending_Specs
xit('should fit a simple chart with 2 scales', function() {
var chart = window.acquireChart({
type: 'bar',
Expand Down
2 changes: 1 addition & 1 deletion test/specs/plugin.legend.tests.js
Expand Up @@ -217,7 +217,7 @@ describe('Legend block tests', function() {

// NOTE(SB) We should get ride of the following tests and use image diff instead.
// For now, as discussed with Evert Timberg, simply comment out.
// See http://humblesoftware.github.io/js-imagediff/test.html
// See https://humblesoftware.github.io/js-imagediff/test.html
/* chart.legend.ctx = window.createMockContext();
chart.update();
Expand Down
2 changes: 1 addition & 1 deletion test/utils.js
Expand Up @@ -85,7 +85,7 @@ function releaseChart(chart) {
}

function injectCSS(css) {
// http://stackoverflow.com/q/3922139
// https://stackoverflow.com/q/3922139
var head = document.getElementsByTagName('head')[0];
var style = document.createElement('style');
style.setAttribute('type', 'text/css');
Expand Down

0 comments on commit b3d3df4

Please sign in to comment.