JS lib: provide Kotlin object as parameter of IIFE.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user