-
-
Save ryardley/06dd00cbde6d5f51b79d to your computer and use it in GitHub Desktop.
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
// Hipster < Hippie | |
var Hipster = Hippie.extend(function(){ | |
var thought = 'Cafe latte'; | |
return { | |
init: function(name){ | |
Hippie.call(this, name); | |
this.greeting = 'Beer me!'; | |
}, | |
makePeace: function(){ | |
return 'Cold drip baby.'; | |
}, | |
setThought: function(value){ | |
thought = value; | |
}, | |
getThought: function(){ | |
return thought; | |
} | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment