Permalink
Browse files

Made NumberGuess a class

  • Loading branch information...
1 parent afd0871 commit e70add7dab49a13a70470403c5fec27270276338 @xeolabs committed Mar 28, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/examples/numberguess/numberguess.js
@@ -1,4 +1,5 @@
NumberGuess = function(cfg) {
+ cfg = cfg ? cfg : {};
NumberGuess.superclass.constructor.call(this, cfg);
}

0 comments on commit e70add7

Please sign in to comment.