Skip to main content
9 events
when toggle format what by license comment
May 23, 2017 at 11:33 history edited CommunityBot
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Feb 12, 2013 at 20:53 comment added mhulse @abuzittingillifirca WOW, thank you!!!! Your latest update really helped to clarify things for me. Thanks so much for taking the time to help me out, I really appreciate it! I owe you one. Have an awesome day. :)
Feb 12, 2013 at 20:52 vote accept mhulse
Feb 12, 2013 at 9:23 history edited abuzittin gillifirca CC BY-SA 3.0
review of the updated version
Feb 12, 2013 at 7:09 comment added abuzittin gillifirca @MickyHulse First of all in this jsbin.com/efeyuw/2 version you NEED the parentheses after listenForChange2, because the function you need is the result of calling listenForChange2 not listenForChange2 itself. Note listenForChange2 creates a new function each time it is called that is how it is possible to have different events firing. I will try review the newly posted code as soon as job permits. code cannot be posted in comments, so i will probably append it to the previous answer..
Feb 11, 2013 at 20:44 comment added mhulse @abuzittin-gillifirca just curious if you have any feedback on the edit to my answer? Using your suggestion, I was only able to get "world" to output on init and everything else was "universe". Is there a pattern, or a way, for me to use var foo1 = New FOO(), foo2 = New FOO(); foo1.init('world'); foo2.init('universe');? I've nevered used New in a plugin before... Seems like that would do what I want, but would you recommended it based on what you've seen of my code? Thanks!
Feb 1, 2013 at 19:42 comment added mhulse Thank you abuzittin-gillifirca and @joseph-the-dreamer, I really appreciate the pro help! I've updated my question (see "EDIT #1") to show my progress based on your feedback. If you have the spare time, I'd love to know what your thoughts are on my updated code/question.
Feb 1, 2013 at 13:51 comment added Joseph On the _addEvent(), listenForChange2() should be just listenForChange2. It should not be a call, just a passing of listenForChange2 to _addEvent().
Feb 1, 2013 at 9:57 history answered abuzittin gillifirca CC BY-SA 3.0