Use https everywhere - tests and test data

This commit is contained in:
Yaroslav Russkih
2019-02-18 21:25:20 +01:00
committed by Ilya Chernikov
parent 7135f1972a
commit 028a311949
46 changed files with 336 additions and 336 deletions
@@ -72,7 +72,7 @@ class Logo(override var pos: Vector) : Shape() {
fun drawLogo(state: CanvasState) {
size = imageSize * (state.size.x / imageSize.x) * relSize
// getKotlinLogo() is a 'magic' function here defined only for purposes of demonstration but in fact it just find an element containing the logo
state.context.drawImage(getImage("http://try.kotlinlang.org/static/images/canvas/Kotlin-logo.png"), 0.0, 0.0,
state.context.drawImage(getImage("https://try.kotlinlang.org/static/images/canvas/Kotlin-logo.png"), 0.0, 0.0,
imageSize.x, imageSize.y,
position.x, position.y,
size.x, size.y)
@@ -29,7 +29,7 @@ val context: CanvasRenderingContext2D
}
val PATH_TO_IMAGES = "http://try.kotlinlang.org/static/images/canvas/"
val PATH_TO_IMAGES = "https://try.kotlinlang.org/static/images/canvas/"
val state: CanvasState by lazy { CanvasState(canvas) }