Skip to content

Instantly share code, notes, and snippets.

@bcoe
Created November 23, 2010 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bcoe/711290 to your computer and use it in GitHub Desktop.
Save bcoe/711290 to your computer and use it in GitHub Desktop.
var Person = endtable.Object.extend(
{
sayName: function() {
sys.puts('Hello, my name is ' + this.name + '!');
}
},
{
engine: engine,
type: 'person'
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment