JS: rewrite code that copies interface members with implementation to subtypes

This commit is contained in:
Alexey Andreev
2016-10-24 13:20:49 +03:00
parent 8eca8efae5
commit 0f87703c87
4 changed files with 136 additions and 98 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ fun checkJsNames(base: String, o: Any) {
fun getAllProperties(o: dynamic): Array<String> = js("""
var properties = [];
for (property in o) {
for (var property in o) {
properties.push(property);
}
return properties;