Minor in JS backend: moved the Kotlin.modules declaration from koltin_lib.js to koltin_lib_ecma5.js
This commit is contained in:
@@ -70,8 +70,6 @@ String.prototype.contains = function (s) {
|
||||
return new Kotlin.Progression(from, to, -1);
|
||||
};
|
||||
|
||||
Kotlin.modules = {};
|
||||
|
||||
Kotlin.RuntimeException = Kotlin.createClassNow();
|
||||
Kotlin.NullPointerException = Kotlin.createClassNow();
|
||||
Kotlin.NoSuchElementException = Kotlin.createClassNow();
|
||||
|
||||
@@ -265,6 +265,8 @@ var Kotlin = {};
|
||||
|
||||
////////////////////////////////// packages & modules //////////////////////////////
|
||||
|
||||
Kotlin.modules = {};
|
||||
|
||||
function createPackageGetter(instance, initializer) {
|
||||
return function () {
|
||||
if (initializer !== null) {
|
||||
|
||||
Reference in New Issue
Block a user