JS lib: provide Kotlin object as parameter of IIFE.
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function () {
|
(function (Kotlin) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// Shims for String
|
// Shims for String
|
||||||
@@ -1002,4 +1002,4 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
Kotlin.createDefinition(lazyInitClasses, Kotlin);
|
Kotlin.createDefinition(lazyInitClasses, Kotlin);
|
||||||
})();
|
})(Kotlin);
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
var Kotlin = {};
|
var Kotlin = {};
|
||||||
|
|
||||||
(function () {
|
(function (Kotlin) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function toArray(obj) {
|
function toArray(obj) {
|
||||||
@@ -475,4 +475,4 @@ var Kotlin = {};
|
|||||||
Object.defineProperty(Kotlin.modules, id, {value: declaration});
|
Object.defineProperty(Kotlin.modules, id, {value: declaration});
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
})(Kotlin);
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function () {
|
(function (Kotlin) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -981,4 +981,4 @@
|
|||||||
Object.defineProperty(Kotlin, "ComplexHashSet", { get : function () { return Kotlin.HashSet; }});
|
Object.defineProperty(Kotlin, "ComplexHashSet", { get : function () { return Kotlin.HashSet; }});
|
||||||
|
|
||||||
Kotlin.createDefinition(lazyInitClasses, Kotlin);
|
Kotlin.createDefinition(lazyInitClasses, Kotlin);
|
||||||
}());
|
}(Kotlin));
|
||||||
|
|||||||
Reference in New Issue
Block a user