Do not generate headers for JS-only functions.

This commit is contained in:
Ilya Gorbunov
2017-01-18 21:59:03 +03:00
parent be15dea6b5
commit a429992e81
2 changed files with 1 additions and 41 deletions
@@ -64,7 +64,7 @@ fun generateCollectionsJsAPI(outDir: File) {
}
fun generateCommonAPI(outDir: File) {
(commonGenerators + ::specialJVM + ::specialJS).flatMap { it().sortedBy { it.signature }.asSequence() }
(commonGenerators + ::specialJVM).flatMap { it().sortedBy { it.signature }.asSequence() }
.groupByFileAndWrite(outDir, platform = Platform.Common)
}