Add snapshot of release-1.0.3 sources

This commit is contained in:
Mohamed Hegazy
2014-07-12 15:32:26 -07:00
parent 99ec3a9688
commit 79727ee12f
13130 changed files with 2079574 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
define(["require", "exports"], function(require, exports) {
(function (outer) {
(function (inner) {
var local = 1;
inner.a = local;
})(outer.inner || (outer.inner = {}));
var inner = outer.inner;
})(exports.outer || (exports.outer = {}));
var outer = exports.outer;
})
@@ -0,0 +1,9 @@
define(["require", "exports"], function(require, exports) {
var A = (function () {
function A() {
}
return A;
})();
exports.A = A;
})
@@ -0,0 +1,17 @@
var __extends = this.__extends || function (d, b) {
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
define(["require", "exports", "A"], function(require, exports, __A__) {
var A = __A__;
var B = (function (_super) {
__extends(B, _super);
function B() {
_super.call(this);
}
return B;
})(A.A);
exports.B = B;
})
@@ -0,0 +1,17 @@
var __extends = this.__extends || function (d, b) {
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
define(["require", "exports", "B"], function(require, exports, __B__) {
var B = __B__;
var C = (function (_super) {
__extends(C, _super);
function C() {
_super.call(this);
}
return C;
})(B.B);
exports.C = C;
})
@@ -0,0 +1,8 @@
define(["require", "exports", "decl"], function(require, exports, __mod__) {
var mod = __mod__;
function call() {
mod.call();
}
exports.call = call;
})
@@ -0,0 +1,8 @@
define(["require", "exports", "consume"], function(require, exports, __mod__) {
var mod = __mod__;
function call() {
mod.call();
}
exports.call = call;
})
+6
View File
@@ -0,0 +1,6 @@
define(["require", "exports"], function(require, exports) {
function square(x) {
return (x * x);
}
exports.square = square;
})
+7
View File
@@ -0,0 +1,7 @@
var outer;
(function (outer) {
var g = __g__;
outer.a = g.square(5);
outer.b = "foo";
})(outer || (outer = {}));
@@ -0,0 +1,8 @@
define(["require", "exports", "decl"], function(require, exports, __M__) {
var M = __M__;
var p;
var m = M;
var x1 = M.a;
var x2 = m.a;
})
+3
View File
@@ -0,0 +1,3 @@
define(["require", "exports"], function(require, exports) {
exports.a = 1;
})
@@ -0,0 +1,8 @@
define(["require", "exports", "test2"], function(require, exports, __foo__) {
(function (myModule) {
var foo = __foo__;
console.log(foo.$);
})(exports.myModule || (exports.myModule = {}));
var myModule = exports.myModule;
})
@@ -0,0 +1,3 @@
define(["require", "exports"], function(require, exports) {
exports.$;
})
@@ -0,0 +1,10 @@
define(["require", "exports", "test2"], function(require, exports, __foo__) {
(function (myModule) {
var foo = __foo__;
console.log(foo.$);
var z = foo.Yo.y();
})(exports.myModule || (exports.myModule = {}));
var myModule = exports.myModule;
exports.x = 0;
})
@@ -0,0 +1,13 @@
define(["require", "exports", "test1"], function(require, exports, __test__) {
exports.$;
(function (Yo) {
var test = __test__;
test.x;
function y() {
return 0;
}
Yo.y = y;
})(exports.Yo || (exports.Yo = {}));
var Yo = exports.Yo;
})
+14
View File
@@ -0,0 +1,14 @@
define(["require", "exports", "decl", "lib/foo/a", "lib/bar/a"], function(require, exports, __mod__, __x__, __y__) {
var mod = __mod__;
var x = __x__;
var y = __y__;
x.hello();
y.hello();
var str = mod.call();
if(str !== "success") {
fail();
}
})
+6
View File
@@ -0,0 +1,6 @@
define(["require", "exports"], function(require, exports) {
function call() {
return "success";
}
exports.call = call;
})
+5
View File
@@ -0,0 +1,5 @@
define(["require", "exports"], function(require, exports) {
function hello() {
}
exports.hello = hello;
})
+6
View File
@@ -0,0 +1,6 @@
define(["require", "exports"], function(require, exports) {
function hello() {
}
exports.hello = hello;
})
+5
View File
@@ -0,0 +1,5 @@
define(["require", "exports"], function(require, exports) {
function hello() {
}
exports.hello = hello;
})
@@ -0,0 +1,17 @@
define(["require", "exports"], function(require, exports) {
(function (me) {
var class1 = (function () {
function class1() {
this.prop1 = 0;
}
return class1;
})();
me.class1 = class1;
me.x = class1;
function foo() {
return new class1();
}
me.foo = foo;
})(exports.me || (exports.me = {}));
var me = exports.me;
})
@@ -0,0 +1,17 @@
define(["require", "exports"], function(require, exports) {
(function (mne) {
var class1 = (function () {
function class1() {
this.prop1 = 0;
}
return class1;
})();
mne.class1 = class1;
mne.x = class1;
function foo() {
return new class1();
}
mne.foo = foo;
})(exports.mne || (exports.mne = {}));
var mne = exports.mne;
})
@@ -0,0 +1,138 @@
var __extends = this.__extends || function (d, b) {
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
define(["require", "exports", "mExported", "mNonExported"], function(require, exports, __mExported__, __mNonExported__) {
(function (m2) {
var mExported = __mExported__;
var Internal_M1;
(function (Internal_M1) {
Internal_M1.c1 = new mExported.me.class1();
function f1() {
return new mExported.me.class1();
}
Internal_M1.f1 = f1;
Internal_M1.x1 = mExported.me.x;
var class1 = (function (_super) {
__extends(class1, _super);
function class1() {
_super.apply(this, arguments);
}
return class1;
})(mExported.me.class1);
Internal_M1.class1 = class1;
var c2 = new mExported.me.class1();
function f2() {
return new mExported.me.class1();
}
var x2 = mExported.me.x;
var class2 = (function (_super) {
__extends(class2, _super);
function class2() {
_super.apply(this, arguments);
}
return class2;
})(mExported.me.class1);
})(Internal_M1 || (Internal_M1 = {}));
(function (Internal_M2) {
Internal_M2.c1 = new mExported.me.class1();
function f1() {
return new mExported.me.class1();
}
Internal_M2.f1 = f1;
Internal_M2.x1 = mExported.me.x;
var class1 = (function (_super) {
__extends(class1, _super);
function class1() {
_super.apply(this, arguments);
}
return class1;
})(mExported.me.class1);
Internal_M2.class1 = class1;
var c2 = new mExported.me.class1();
function f2() {
return new mExported.me.class1();
}
var x2 = mExported.me.x;
var class2 = (function (_super) {
__extends(class2, _super);
function class2() {
_super.apply(this, arguments);
}
return class2;
})(mExported.me.class1);
})(m2.Internal_M2 || (m2.Internal_M2 = {}));
var Internal_M2 = m2.Internal_M2;
var mNonExported = __mNonExported__;
var Internal_M3;
(function (Internal_M3) {
Internal_M3.c3 = new mNonExported.mne.class1();
function f3() {
return new mNonExported.mne.class1();
}
Internal_M3.f3 = f3;
Internal_M3.x3 = mNonExported.mne.x;
var class3 = (function (_super) {
__extends(class3, _super);
function class3() {
_super.apply(this, arguments);
}
return class3;
})(mNonExported.mne.class1);
Internal_M3.class3 = class3;
var c4 = new mNonExported.mne.class1();
function f4() {
return new mNonExported.mne.class1();
}
var x4 = mNonExported.mne.x;
var class4 = (function (_super) {
__extends(class4, _super);
function class4() {
_super.apply(this, arguments);
}
return class4;
})(mNonExported.mne.class1);
})(Internal_M3 || (Internal_M3 = {}));
(function (Internal_M4) {
Internal_M4.c3 = new mNonExported.mne.class1();
function f3() {
return new mNonExported.mne.class1();
}
Internal_M4.f3 = f3;
Internal_M4.x3 = mNonExported.mne.x;
var class3 = (function (_super) {
__extends(class3, _super);
function class3() {
_super.apply(this, arguments);
}
return class3;
})(mNonExported.mne.class1);
Internal_M4.class3 = class3;
var c4 = new mNonExported.mne.class1();
function f4() {
return new mNonExported.mne.class1();
}
var x4 = mNonExported.mne.x;
var class4 = (function (_super) {
__extends(class4, _super);
function class4() {
_super.apply(this, arguments);
}
return class4;
})(mNonExported.mne.class1);
})(m2.Internal_M4 || (m2.Internal_M4 = {}));
var Internal_M4 = m2.Internal_M4;
})(exports.m2 || (exports.m2 = {}));
var m2 = exports.m2;
})
@@ -0,0 +1,17 @@
define(["require", "exports"], function(require, exports) {
(function (me) {
var class1 = (function () {
function class1() {
this.prop1 = 0;
}
return class1;
})();
me.class1 = class1;
me.x = class1;
function foo() {
return new class1();
}
me.foo = foo;
})(exports.me || (exports.me = {}));
var me = exports.me;
})
@@ -0,0 +1,17 @@
define(["require", "exports"], function(require, exports) {
(function (mne) {
var class1 = (function () {
function class1() {
this.prop1 = 0;
}
return class1;
})();
mne.class1 = class1;
mne.x = class1;
function foo() {
return new class1();
}
mne.foo = foo;
})(exports.mne || (exports.mne = {}));
var mne = exports.mne;
})
@@ -0,0 +1,70 @@
var __extends = this.__extends || function (d, b) {
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
define(["require", "exports", "mExported", "mNonExported"], function(require, exports, __mExported__, __mNonExported__) {
var m2;
(function (m2) {
var mExported = __mExported__;
m2.c1 = new mExported.me.class1();
function f1() {
return new mExported.me.class1();
}
m2.f1 = f1;
m2.x1 = mExported.me.x;
var class1 = (function (_super) {
__extends(class1, _super);
function class1() {
_super.apply(this, arguments);
}
return class1;
})(mExported.me.class1);
m2.class1 = class1;
var c2 = new mExported.me.class1();
function f2() {
return new mExported.me.class1();
}
var x2 = mExported.me.x;
var class2 = (function (_super) {
__extends(class2, _super);
function class2() {
_super.apply(this, arguments);
}
return class2;
})(mExported.me.class1);
var mNonExported = __mNonExported__;
m2.c3 = new mNonExported.mne.class1();
function f3() {
return new mNonExported.mne.class1();
}
m2.f3 = f3;
m2.x3 = mNonExported.mne.x;
var class3 = (function (_super) {
__extends(class3, _super);
function class3() {
_super.apply(this, arguments);
}
return class3;
})(mNonExported.mne.class1);
m2.class3 = class3;
var c4 = new mNonExported.mne.class1();
function f4() {
return new mNonExported.mne.class1();
}
var x4 = mNonExported.mne.x;
var class4 = (function (_super) {
__extends(class4, _super);
function class4() {
_super.apply(this, arguments);
}
return class4;
})(mNonExported.mne.class1);
})(m2 || (m2 = {}));
})
@@ -0,0 +1,17 @@
define(["require", "exports"], function(require, exports) {
(function (me) {
var class1 = (function () {
function class1() {
this.prop1 = 0;
}
return class1;
})();
me.class1 = class1;
me.x = class1;
function foo() {
return new class1();
}
me.foo = foo;
})(exports.me || (exports.me = {}));
var me = exports.me;
})
@@ -0,0 +1,17 @@
define(["require", "exports"], function(require, exports) {
(function (mne) {
var class1 = (function () {
function class1() {
this.prop1 = 0;
}
return class1;
})();
mne.class1 = class1;
mne.x = class1;
function foo() {
return new class1();
}
mne.foo = foo;
})(exports.mne || (exports.mne = {}));
var mne = exports.mne;
})
@@ -0,0 +1,67 @@
var __extends = this.__extends || function (d, b) {
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
define(["require", "exports", "mExported", "mNonExported"], function(require, exports, __mExported__, __mNonExported__) {
var mExported = __mExported__;
exports.c1 = new mExported.me.class1();
function f1() {
return new mExported.me.class1();
}
exports.f1 = f1;
exports.x1 = mExported.me.x;
var class1 = (function (_super) {
__extends(class1, _super);
function class1() {
_super.apply(this, arguments);
}
return class1;
})(mExported.me.class1);
exports.class1 = class1;
var c2 = new mExported.me.class1();
function f2() {
return new mExported.me.class1();
}
var x2 = mExported.me.x;
var class2 = (function (_super) {
__extends(class2, _super);
function class2() {
_super.apply(this, arguments);
}
return class2;
})(mExported.me.class1);
var mNonExported = __mNonExported__;
exports.c3 = new mNonExported.mne.class1();
function f3() {
return new mNonExported.mne.class1();
}
exports.f3 = f3;
exports.x3 = mNonExported.mne.x;
var class3 = (function (_super) {
__extends(class3, _super);
function class3() {
_super.apply(this, arguments);
}
return class3;
})(mNonExported.mne.class1);
exports.class3 = class3;
var c4 = new mNonExported.mne.class1();
function f4() {
return new mNonExported.mne.class1();
}
var x4 = mNonExported.mne.x;
var class4 = (function (_super) {
__extends(class4, _super);
function class4() {
_super.apply(this, arguments);
}
return class4;
})(mNonExported.mne.class1);
})
@@ -0,0 +1,10 @@
var test;
(function (test) {
var ClassA = (function () {
function ClassA() { }
ClassA.prototype.method = function () {
};
return ClassA;
})();
test.ClassA = ClassA;
})(test || (test = {}));
@@ -0,0 +1,17 @@
var __extends = this.__extends || function (d, b) {
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
var test;
(function (test) {
var ClassB = (function (_super) {
__extends(ClassB, _super);
function ClassB() {
_super.apply(this, arguments);
}
return ClassB;
})(test.ClassA);
test.ClassB = ClassB;
})(test || (test = {}));
+13
View File
@@ -0,0 +1,13 @@
var __extends = this.__extends || function (d, b) {
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
var ClassC = (function (_super) {
__extends(ClassC, _super);
function ClassC() {
_super.apply(this, arguments);
}
return ClassC;
})(test.ClassA);
@@ -0,0 +1,8 @@
define(["require", "exports", "decl"], function(require, exports, __decl__) {
var decl = __decl__;
var str = decl.call();
if(str !== "success") {
fail();
}
})
@@ -0,0 +1,8 @@
define(["require", "exports", "./decl"], function(require, exports, __decl__) {
var decl = __decl__;
var str = decl.call();
if(str !== "success") {
fail();
}
})
+7
View File
@@ -0,0 +1,7 @@
define(["require", "exports"], function(require, exports) {
function call() {
return "success";
}
exports.call = call;
exports.x = 1;
})
@@ -0,0 +1,8 @@
define(["require", "exports", "decl"], function(require, exports, __decl__) {
var decl = __decl__;
var str = decl.call();
if(str !== "success") {
fail();
}
})
+7
View File
@@ -0,0 +1,7 @@
define(["require", "exports"], function(require, exports) {
function call() {
return "success";
}
exports.call = call;
exports.x = 1;
})
@@ -0,0 +1,8 @@
define(["require", "exports", "../decl"], function(require, exports, __decl__) {
var decl = __decl__;
var str = decl.call();
if(str !== "success") {
fail();
}
})