TypeScript/tests/baselines/reference/sourceMapValidationWithComments.js
Sheetal Nandi 1b5023bad3 Emit leading/trailing comments for return statement
Note the detachedComments and copyright headers comment emitting is not part of this change
2014-08-15 15:16:17 -07:00

45 lines
828 B
TypeScript

//// [sourceMapValidationWithComments.ts]
class DebugClass {
public static debugFunc() {
// Start Debugger Test Code
var i = 0;
i++;
i++;
i++;
i++;
i++;
i++;
i++;
i++;
i++;
// End Debugger Test Code
return true;
}
}
//// [sourceMapValidationWithComments.js]
var DebugClass = (function () {
function DebugClass() {
}
DebugClass.debugFunc = function () {
// Start Debugger Test Code
var i = 0;
i++;
i++;
i++;
i++;
i++;
i++;
i++;
i++;
i++;
// End Debugger Test Code
return true;
};
return DebugClass;
})();
//# sourceMappingURL=sourceMapValidationWithComments.js.map