diff --git a/jslib/src/html5/core.kt b/jslib/src/html5/core.kt index 01b34c33150..41e6d7b4ca8 100644 --- a/jslib/src/html5/core.kt +++ b/jslib/src/html5/core.kt @@ -110,4 +110,4 @@ fun getContext() : Context = Context(); native fun getCanvas() : Canvas = Canvas(); native -fun getJBLogo() : HTMLImageElement = HTMLImageElement(); \ No newline at end of file +fun getKotlinLogo() : HTMLImageElement = HTMLImageElement(); \ No newline at end of file diff --git a/translator/testFiles/canvas_helper.js b/translator/testFiles/canvas_helper.js index 0931cd4b484..e66994df2a4 100644 --- a/translator/testFiles/canvas_helper.js +++ b/translator/testFiles/canvas_helper.js @@ -6,6 +6,6 @@ function getCanvas() { return document.getElementsByTagName('canvas')[0]; } -function getJBLogo() { +function getKotlinLogo() { return document.getElementsByTagName('img')[0]; } \ No newline at end of file