JS lib: provide Kotlin object as parameter of IIFE.

This commit is contained in:
Zalim Bashorov
2014-10-16 00:20:38 +04:00
parent 98d62283c7
commit 335771d580
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
(function () {
(function (Kotlin) {
"use strict";
// Shims for String
@@ -1002,4 +1002,4 @@
};
Kotlin.createDefinition(lazyInitClasses, Kotlin);
})();
})(Kotlin);
@@ -16,7 +16,7 @@
var Kotlin = {};
(function () {
(function (Kotlin) {
'use strict';
function toArray(obj) {
@@ -475,4 +475,4 @@ var Kotlin = {};
Object.defineProperty(Kotlin.modules, id, {value: declaration});
};
})();
})(Kotlin);
+2 -2
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
(function () {
(function (Kotlin) {
"use strict";
/**
@@ -981,4 +981,4 @@
Object.defineProperty(Kotlin, "ComplexHashSet", { get : function () { return Kotlin.HashSet; }});
Kotlin.createDefinition(lazyInitClasses, Kotlin);
}());
}(Kotlin));