Last active
August 29, 2015 14:12
-
-
Save raphaelgabbarelli/d7894cef9f4ec2b1b93a to your computer and use it in GitHub Desktop.
the greeting manager
This file contains 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 greetingManager = function(greeter){ | |
self = this; | |
this.greeter = greeter; | |
this.greet = function(name){ | |
self.greeter.greet(name); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment