From ae13359adc2fd94ee6a48e2b12c0223c7a2cb799 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Tue, 14 Apr 2015 21:31:25 +0300 Subject: [PATCH] Change package of extensions and other top-level declarations from kotlin.js to kotlin to match corresponding ones in stdlib for JVM. --- js/js.libraries/src/core/char.kt | 2 +- js/js.libraries/src/core/string.kt | 2 +- js/js.libraries/src/core/stringsCode.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/js.libraries/src/core/char.kt b/js/js.libraries/src/core/char.kt index b6aab56c24a..2f25f6344d8 100644 --- a/js/js.libraries/src/core/char.kt +++ b/js/js.libraries/src/core/char.kt @@ -14,7 +14,7 @@ * limitations under the License. */ -package kotlin.js +package kotlin // actually \s is enough to match all whitespace, but \xA0 added because of different regexp behavior of Rhino used in Selenium tests public fun Char.isWhitespace(): Boolean = toString().matches("[\\s\\xA0]") diff --git a/js/js.libraries/src/core/string.kt b/js/js.libraries/src/core/string.kt index 48d9ccfd04d..853647ebe53 100644 --- a/js/js.libraries/src/core/string.kt +++ b/js/js.libraries/src/core/string.kt @@ -1,4 +1,4 @@ -package kotlin.js +package kotlin import kotlin.text.js.RegExp diff --git a/js/js.libraries/src/core/stringsCode.kt b/js/js.libraries/src/core/stringsCode.kt index 8266ac6e022..fe8b60cca05 100644 --- a/js/js.libraries/src/core/stringsCode.kt +++ b/js/js.libraries/src/core/stringsCode.kt @@ -1,4 +1,4 @@ -package kotlin.js +package kotlin import kotlin.text.Regex import kotlin.text.js.RegExp