Skip to content

Instantly share code, notes, and snippets.

@jed
Created May 5, 2011 17:11
Show Gist options
  • Save jed/957436 to your computer and use it in GitHub Desktop.
Save jed/957436 to your computer and use it in GitHub Desktop.
an effort to replace koichi's outdated XML sig
class Component
constructor: ( @name ) ->
@fullname = "Koichi Kobayashi"
@email = "#{name}@___________.jp"
@blog = "http://d.hatena.ne.jp/#{name}"
@twitter = "http://twitter.com/#{name}"
new Component "koichik"
new function Component( name ) {
this.name = name
this.fullname = "Koichi Kobayashi"
this.email = name + "@___________.jp"
this.blog = "http://d.hatena.ne.jp/" + name
this.twitter = "http://twitter.com/" + name
}( "koichik" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment