Skip to content

Instantly share code, notes, and snippets.

@kitsunde
Forked from bcoe/pojo.js
Created November 23, 2010 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kitsunde/712682 to your computer and use it in GitHub Desktop.
Save kitsunde/712682 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