File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
androidMain/kotlin/dev/icerock/moko/javascript
commonMain/kotlin/dev/icerock/moko/javascript Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2022 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
3+ */
4+
15package dev.icerock.moko.javascript
26
37internal interface ContextProvider {
Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ package dev.icerock.moko.javascript
66
77expect 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
You can’t perform that action at this time.
0 commit comments