Skip to content

Commit 280a20f

Browse files
committed
copyright and docs
1 parent db4d042 commit 280a20f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

javascript/src/androidMain/kotlin/dev/icerock/moko/javascript/ContextProvider.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright 2022 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
3+
*/
4+
15
package dev.icerock.moko.javascript
26

37
internal interface ContextProvider {

javascript/src/commonMain/kotlin/dev/icerock/moko/javascript/JavaScriptEngine.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ package dev.icerock.moko.javascript
66

77
expect class JavaScriptEngine() {
88
/**
9-
* Evaluate some [script].
9+
* Evaluate some [script] with external [context].
1010
*
1111
* @throws JavaScriptEvaluationException in case of an error in the engine evaluation or if the
1212
* engine has already been closed.
1313
*/
1414
fun evaluate(context: Map<String, JsType>, script: String): JsType
1515

1616
/**
17-
* Set some [context] with external [context].
17+
* Set some [context] for all evaluate calls.
1818
*/
1919
fun setContextObjects(vararg context: Pair<String, JsType>)
2020

0 commit comments

Comments
 (0)