A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/chartjs/chartjs-plugin-deferred/commit/39444f302414af96ab43d7dcf6daaee8069d1e79 below:

Fix GitHub stats link and use https everywhere · chartjs/chartjs-plugin-deferred@39444f3 · GitHub

File tree Expand file treeCollapse file tree 6 files changed

+7

-7

lines changed

Filter options

Expand file treeCollapse file tree 6 files changed

+7

-7

lines changed Original file line number Diff line number Diff line change

@@ -11,7 +11,7 @@ script:

11 11

# IMPORTANT: scripts require GITHUB_AUTH_TOKEN and GITHUB_AUTH_EMAIL environment variables

12 12

# IMPORTANT: scripts has to be set executables in the Git repository (error 127)

13 13

# https://github.com/travis-ci/travis-ci/issues/5538#issuecomment-225025939

14 -

# http://stackoverflow.com/a/15572639

14 +

# https://stackoverflow.com/a/15572639

15 15 16 16

deploy:

17 17

- provider: script

Original file line number Diff line number Diff line change

@@ -4,7 +4,7 @@

4 4 5 5

[![github](https://img.shields.io/github/release/chartjs/chartjs-plugin-deferred.svg?style=flat-square&maxAge=600)](https://github.com/chartjs/chartjs-plugin-deferred/releases/latest) [![travis](https://img.shields.io/travis/chartjs/chartjs-plugin-deferred.svg?style=flat-square&maxAge=600)](https://travis-ci.org/chartjs/chartjs-plugin-deferred) [![codeclimate](https://img.shields.io/codeclimate/maintainability/chartjs/chartjs-plugin-deferred.svg?style=flat-square&maxAge=600)](https://codeclimate.com/github/chartjs/chartjs-plugin-deferred)

6 6 7 -

[Chart.js](http://www.chartjs.org/) plugin to defer initial chart updates until the user scrolls and the canvas appears inside the viewport, and thus trigger the initial chart animations when the user is likely to see them.

7 +

[Chart.js](https://www.chartjs.org/) plugin to defer initial chart updates until the user scrolls and the canvas appears inside the viewport, and thus trigger the initial chart animations when the user is likely to see them.

8 8 9 9

Requires [Chart.js](https://github.com/chartjs/Chart.js/releases) **3.x**.

10 10 Original file line number Diff line number Diff line change

@@ -4,7 +4,7 @@ title: Introduction

4 4 5 5

![chartjs-plugin-deferred](../assets/banner.png)

6 6 7 -

[Chart.js](http://www.chartjs.org/) plugin to defer initial chart updates until the user scrolls and the canvas appears inside the viewport, and thus trigger the initial chart animations when the user is likely to see them.

7 +

[Chart.js](https://www.chartjs.org/) plugin to defer initial chart updates until the user scrolls and the canvas appears inside the viewport, and thus trigger the initial chart animations when the user is likely to see them.

8 8 9 9

::: warning COMPATIBILITY NOTE

10 10

Requires [Chart.js](https://github.com/chartjs/Chart.js/releases) **3.x**

Original file line number Diff line number Diff line change

@@ -27,11 +27,11 @@ https://cdn.jsdelivr.net/npm/chartjs-plugin-deferred@1.1.2 // exact version

27 27

https://cdn.jsdelivr.net/npm/chartjs-plugin-deferred@1 // latest 1.x.x

28 28

```

29 29 30 -

Read more about jsDeliver versioning on their [website](http://www.jsdelivr.com/).

30 +

Read more about jsDeliver versioning on their [website](https://www.jsdelivr.com/).

31 31 32 32

## Download

33 33 34 -

[![github](https://img.shields.io/github/release/chartjs/chartjs-plugin-deferred.svg?style=flat-square&maxAge=600)](https://github.com/chartjs/chartjs-plugin-deferred/releases/latest) [![github downloads](https://img.shields.io/github/downloads/chartjs/chartjs-plugin-deferred/total.svg?style=flat-square&maxAge=600)](http://www.somsubhra.com/github-release-stats/?username=chartjs&repository=chartjs-plugin-deferred)

34 +

[![github](https://img.shields.io/github/release/chartjs/chartjs-plugin-deferred.svg?style=flat-square&maxAge=600)](https://github.com/chartjs/chartjs-plugin-deferred/releases/latest) [![github downloads](https://img.shields.io/github/downloads/chartjs/chartjs-plugin-deferred/total.svg?style=flat-square&maxAge=600)](https://somsubhra.github.io/github-release-stats/?username=chartjs&repository=chartjs-plugin-deferred)

35 35 36 36

You can download the latest version of `chartjs-plugin-deferred` from the [GitHub releases](https://github.com/chartjs/chartjs-plugin-deferred/releases/latest):

37 37 Original file line number Diff line number Diff line change

@@ -25,7 +25,7 @@ export var COLORS = [

25 25

'#606060',

26 26

];

27 27 28 -

// Adapted from http://indiegamr.com/generate-repeatable-random-numbers-in-js/

28 +

// Adapted from https://indiegamr.com/generate-repeatable-random-numbers-in-js/

29 29

var _seed = Date.now();

30 30 31 31

export function srand(seed) {

Original file line number Diff line number Diff line change

@@ -33,7 +33,7 @@ function chartInViewport(chart) {

33 33

var options = chart[MODEL_KEY].options;

34 34

var canvas = chart.canvas;

35 35 36 -

// http://stackoverflow.com/a/21696585

36 +

// https://stackoverflow.com/a/21696585

37 37

if (!canvas || canvas.offsetParent === null) {

38 38

return false;

39 39

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4