From 0555b732ed7450c1358d79aa74c6c1cf3bb963bd Mon Sep 17 00:00:00 2001 From: Pavel Talanov Date: Thu, 9 Feb 2012 19:10:09 +0400 Subject: [PATCH] examples update --- jslib/src/html5/core.kt | 2 +- translator/testFiles/canvas_helper.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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