Skip to content

Instantly share code, notes, and snippets.

@masaru-b-cl
Created December 21, 2012 07:26
Show Gist options
  • Save masaru-b-cl/4351216 to your computer and use it in GitHub Desktop.
Save masaru-b-cl/4351216 to your computer and use it in GitHub Desktop.
Visual Studio Advent Calendar 2012用 greeter.js
var TAKANO;
(function (TAKANO) {
(function (Sho) {
var Greeter = (function () {
function Greeter(name) {
this.name = name;
}
Greeter.prototype.greet = function () {
WScript.Echo("Hello " + this.name + "!");
};
return Greeter;
})();
Sho.Greeter = Greeter;
})(TAKANO.Sho || (TAKANO.Sho = {}));
var Sho = TAKANO.Sho;
})(TAKANO || (TAKANO = {}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment