View Single Post
Old 12-21-2012, 06:29 PM   PM User | #8
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
@rnd me Thank you very much ; I shall study!
Quote:
Capitals imply Constructors, properties and methods should be .camelCase'd() instead
I was in two minds about this. I would always use the capital to distinguish classes (objects in JS), but I followed an example from Vic about the members' capitalization.
Quote:
move dom ID to the config object for easier re-use or having more than one instance per page.
I had decided to do this
Quote:
why have to call go() each time, let's call it for us.
I was thinking I could modify the properties of the object and call go() on other occasions(?). But, I suppose it's not the sort of thing that would be called more than once.. Added: I see that it is still possible to call go() separately

I like the idea of separating out the Base, and coercing a single page to an array is a good idea.

Cheers again. Andy.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS

Last edited by AndrewGSW; 12-21-2012 at 08:26 PM..
AndrewGSW is offline   Reply With Quote