Change package of extensions and other top-level declarations from kotlin.js to kotlin to match corresponding ones in stdlib for JVM.
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* 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
|
// 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]")
|
public fun Char.isWhitespace(): Boolean = toString().matches("[\\s\\xA0]")
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package kotlin.js
|
package kotlin
|
||||||
|
|
||||||
import kotlin.text.js.RegExp
|
import kotlin.text.js.RegExp
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package kotlin.js
|
package kotlin
|
||||||
|
|
||||||
import kotlin.text.Regex
|
import kotlin.text.Regex
|
||||||
import kotlin.text.js.RegExp
|
import kotlin.text.js.RegExp
|
||||||
|
|||||||
Reference in New Issue
Block a user