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:
James Strachan
2012-08-22 16:17:40 +01:00
parent 0a044b18d5
commit cbde1e1e46
2 changed files with 37 additions and 0 deletions
@@ -0,0 +1,9 @@
package foo
fun MyController(`$scope`: String): String {
return "Hello " + `$scope` + "!"
}
fun box(): String {
return MyController("world")
}