Skip to content

Commit

Permalink
Merge pull request jneen#2 from xymostech/master
Browse files Browse the repository at this point in the history
Mistake in Readme
  • Loading branch information
Jay Adkisson committed Jan 4, 2012
2 parents f71b4de + 9b50e35 commit 766f8e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -100,7 +100,7 @@ P(MySuperclass, function(proto, super, class, superclass) {

// for shorthand, you can pass an object in lieu of the function argument,
// but you lose the niceness of super and private methods.
Limbo({ init: function(a) { this.thing = a } });
P({ init: function(a) { this.thing = a } });

MyClass = P(function(p) { p.init = function() { console.log("init!") }; });
// instantiate objects by calling the class
Expand Down

0 comments on commit 766f8e9

Please sign in to comment.