Created
December 21, 2012 07:26
-
-
Save masaru-b-cl/4351216 to your computer and use it in GitHub Desktop.
Visual Studio Advent Calendar 2012用 greeter.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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