Minor in JS backend: moved the Kotlin.modules declaration from koltin_lib.js to koltin_lib_ecma5.js

This commit is contained in:
Zalim Bashorov
2014-03-18 21:54:40 +04:00
parent c10e7dd94b
commit 31d8a75b1a
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -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) {