2014-07-13 01:04:16 +02:00
|
|
|
//// [staticOffOfInstance1.ts]
|
|
|
|
class List {
|
|
|
|
public Blah() {
|
|
|
|
this.Foo();
|
|
|
|
}
|
|
|
|
public static Foo() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [staticOffOfInstance1.js]
|
|
|
|
var List = (function () {
|
|
|
|
function List() {
|
|
|
|
}
|
|
|
|
List.prototype.Blah = function () {
|
|
|
|
this.Foo();
|
|
|
|
};
|
2015-03-26 21:46:35 +01:00
|
|
|
List.Foo = function () { };
|
2014-07-13 01:04:16 +02:00
|
|
|
return List;
|
|
|
|
})();
|