added a little test case to see if using $ variables works in kotlin for JS generation (e.g. for angularjs support)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package foo
|
||||
|
||||
fun MyController(`$scope`: String): String {
|
||||
return "Hello " + `$scope` + "!"
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return MyController("world")
|
||||
}
|
||||
Reference in New Issue
Block a user