2014-07-13 01:04:16 +02:00
|
|
|
//// [mergedModuleDeclarationCodeGen2.ts]
|
|
|
|
module my.data.foo {
|
|
|
|
export function buz() { }
|
|
|
|
}
|
|
|
|
module my.data {
|
|
|
|
function data(my) {
|
|
|
|
foo.buz();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [mergedModuleDeclarationCodeGen2.js]
|
|
|
|
var my;
|
|
|
|
(function (my) {
|
2014-09-07 02:40:19 +02:00
|
|
|
var data;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (data) {
|
2014-09-07 02:40:19 +02:00
|
|
|
var foo;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (foo) {
|
2015-02-07 03:45:09 +01:00
|
|
|
function buz() { }
|
2014-07-13 01:04:16 +02:00
|
|
|
foo.buz = buz;
|
2014-09-07 02:40:19 +02:00
|
|
|
})(foo = data.foo || (data.foo = {}));
|
|
|
|
})(data = my.data || (my.data = {}));
|
2014-07-13 01:04:16 +02:00
|
|
|
})(my || (my = {}));
|
|
|
|
var my;
|
2014-07-19 02:04:06 +02:00
|
|
|
(function (_my) {
|
2014-09-07 02:40:19 +02:00
|
|
|
var data;
|
2014-07-19 02:04:06 +02:00
|
|
|
(function (_data) {
|
2014-07-13 01:04:16 +02:00
|
|
|
function data(my) {
|
2014-07-19 02:04:06 +02:00
|
|
|
_data.foo.buz();
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
2014-09-07 02:40:19 +02:00
|
|
|
})(data = _my.data || (_my.data = {}));
|
2014-07-13 01:04:16 +02:00
|
|
|
})(my || (my = {}));
|