In that first link you specify the option "element:document.id(' css3ButtonGenerator')", but what if this class has been loaded before that item exists? I would recommend just specifying the id as the option - like so "element:'css3ButtonGenerator'" - and then in your initialize method call document.id() on the option.element. You don't want to get burned wondering why this.element doesn't exist when you can clearly see it exists. =D
~Philip On Sat, Jun 2, 2012 at 4:34 PM, t.patrick.welborn < t.patrick.welb...@gmail.com> wrote: > This was the solution I ultimately went with (nevermind the naming > conventions): > > *Parent Class: * > > https://github.com/PatrickWelborn/CSS3ButtonGenerator/blob/css3-button-generator/develop/js/CSS3ButtonGenerator.js > > *Child Class: * > > https://github.com/PatrickWelborn/CSS3ButtonGenerator/blob/css3-button-generator/develop/js/view/ButtonGuide.js > -- http://lonestarlightandsound.com/