roopurt18 Posted June 14, 2007 Share Posted June 14, 2007 I've written a short tutorial on creating singletons within Javascript. I'm posting it here for a couple reasons. The first is that I'm tired and likely made a mistake; if anyone notices any errors I'd like to hear about them. The second is it might help the readers of this forum. http://rbredlau.com/drupal/node/8 Cheers! Quote Link to comment Share on other sites More sharing options...
lighton Posted June 15, 2007 Share Posted June 15, 2007 whats a singleton? Quote Link to comment Share on other sites More sharing options...
jimmyyami Posted June 15, 2007 Share Posted June 15, 2007 ??? ??? yeah!! yeah!! whats a singleton? Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted June 15, 2007 Author Share Posted June 15, 2007 A singleton is an object of which only one instance can exist at any given time. I take it you chaps didn't read the tutorial or have a great sense of humor. Quote Link to comment Share on other sites More sharing options...
lighton Posted June 15, 2007 Share Posted June 15, 2007 why would you need a singleton? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.