mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Replace http to https in comment
This commit is contained in:
parent
2968faad51
commit
c219bb7345
5 changed files with 6 additions and 6 deletions
|
@ -323,7 +323,7 @@ Base.exports.PaperScript = function() {
|
||||||
|
|
||||||
// Source-map support:
|
// Source-map support:
|
||||||
// Encodes a Variable Length Quantity as a Base64 string.
|
// Encodes a Variable Length Quantity as a Base64 string.
|
||||||
// See: http://www.html5rocks.com/en/tutorials/developertools/sourcemaps
|
// See: https://www.html5rocks.com/en/tutorials/developertools/sourcemaps/
|
||||||
function encodeVLQ(value) {
|
function encodeVLQ(value) {
|
||||||
var res = '',
|
var res = '',
|
||||||
base64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
base64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
* Acorn.js
|
* Acorn.js
|
||||||
* http://marijnhaverbeke.nl/acorn/
|
* https://marijnhaverbeke.nl/acorn/
|
||||||
*
|
*
|
||||||
* Acorn is a tiny, fast JavaScript parser written in JavaScript,
|
* Acorn is a tiny, fast JavaScript parser written in JavaScript,
|
||||||
* created by Marijn Haverbeke and released under an MIT license.
|
* created by Marijn Haverbeke and released under an MIT license.
|
||||||
|
|
|
@ -1476,7 +1476,7 @@ new function() { // Scope for methods that require private functions
|
||||||
// 2: normal, 1st derivative
|
// 2: normal, 1st derivative
|
||||||
// 3: curvature, 1st derivative & 2nd derivative
|
// 3: curvature, 1st derivative & 2nd derivative
|
||||||
// Prevent tangents and normals of length 0:
|
// Prevent tangents and normals of length 0:
|
||||||
// http://stackoverflow.com/questions/10506868/
|
// https://stackoverflow.com/questions/10506868/
|
||||||
if (t < tMin) {
|
if (t < tMin) {
|
||||||
x = cx;
|
x = cx;
|
||||||
y = cy;
|
y = cy;
|
||||||
|
@ -1698,7 +1698,7 @@ new function() { // Scope for methods that require private functions
|
||||||
* Peaks are locations sharing some qualities of curvature extrema but
|
* Peaks are locations sharing some qualities of curvature extrema but
|
||||||
* are cheaper to compute. They fulfill their purpose here quite well.
|
* are cheaper to compute. They fulfill their purpose here quite well.
|
||||||
* See:
|
* See:
|
||||||
* http://math.stackexchange.com/questions/1954845/bezier-curvature-extrema
|
* https://math.stackexchange.com/questions/1954845/bezier-curvature-extrema
|
||||||
*
|
*
|
||||||
* @param {Number[]} v the curve values array
|
* @param {Number[]} v the curve values array
|
||||||
* @return {Number[]} the roots of all found peaks
|
* @return {Number[]} the roots of all found peaks
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @author Harikrishnan Gopalakrishnan <hari.exeption@gmail.com>
|
* @author Harikrishnan Gopalakrishnan <hari.exeption@gmail.com>
|
||||||
* @author Jan Boesenberg <development@iconexperience.com>
|
* @author Jan Boesenberg <development@iconexperience.com>
|
||||||
* @author Juerg Lehni <juerg@scratchdisk.com>
|
* @author Juerg Lehni <juerg@scratchdisk.com>
|
||||||
* http://hkrish.com/playground/paperjs/booleanStudy.html
|
* https://hkrish.com/playground/paperjs/booleanStudy.html
|
||||||
*/
|
*/
|
||||||
PathItem.inject(new function() {
|
PathItem.inject(new function() {
|
||||||
var min = Math.min,
|
var min = Math.min,
|
||||||
|
|
|
@ -49,7 +49,7 @@ var CanvasView = View.extend(/** @lends CanvasView# */{
|
||||||
this._pixelRatio = 1;
|
this._pixelRatio = 1;
|
||||||
if (!/^off|false$/.test(PaperScope.getAttribute(canvas, 'hidpi'))) {
|
if (!/^off|false$/.test(PaperScope.getAttribute(canvas, 'hidpi'))) {
|
||||||
// Hi-DPI Canvas support based on:
|
// Hi-DPI Canvas support based on:
|
||||||
// http://www.html5rocks.com/en/tutorials/canvas/hidpi/
|
// https://www.html5rocks.com/en/tutorials/canvas/hidpi/
|
||||||
var deviceRatio = window.devicePixelRatio || 1,
|
var deviceRatio = window.devicePixelRatio || 1,
|
||||||
backingStoreRatio = DomElement.getPrefixed(ctx,
|
backingStoreRatio = DomElement.getPrefixed(ctx,
|
||||||
'backingStorePixelRatio') || 1;
|
'backingStorePixelRatio') || 1;
|
||||||
|
|
Loading…
Reference in a new issue