-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Made a handful of changes and a couple of bug fixes #116
base: dev
Are you sure you want to change the base?
Conversation
rename component.json to bower.json
…g get() or getCurrentGuider() to find guiders. Also, simplify a few guider lookup tests to a simple truth test because the return from get() and getCurrentGuider() are normalized to null when a guider was not found in the _guiders array.
…lue from next() should be the result from the recursive call to next().
…er IDs. The predictable ID numbering is handy when debugging. And this technique is a tad faster.
…te by setting the previous guider's next ID.
…instead of guider.attachTo. While it is common to set highlight to the same ID as attachTo, I often attach to one thing but highlight another--like the attachTo's container. Also, must the guider have an attachTo for a highlight to be valid? If not, the test of attachTo is also unnecessary. It's no harm right now, so I left it in.
…key places. Note that hideAll() was often called before _dehighlightElement(). So it makes sense to ensure that the highlight is cleared in hideAll(). I also remove the highlight before setting the next one, and in the top of show().
Thanks Steve. They should have been logically separate pull requests, When I get some time I intend to look through all the pull requests Why did you rename dehighlightElement to removeHighlight? Jeff Pickhardt On Tue, Feb 18, 2014 at 9:47 PM, Steve Farmer [email protected]:
|
Hi, Jeff, About deHighlightElement: In db7545c I rearranged places where the highlight was removed to be sure to cover some other cases. I realized that the most defensive thing to do was remove the highlight from anything with that class. So I thought a new name was best. And, since this is in internal function, the API remains unchanged. Steve |
Hello. First I want to thank you for for this library. Especially for the update that moves the guiders on browser resize. That change landed as I was about to write it myself.
This is my first open source commit. I had been working for the federal government, in isolation, for 12 years. Please go easy on me. Also, I apologize for letting so many changes pool up. I'm a recent convert from Subversion. And this is the fist chance I've had to contribute code back to you.
I carefully made comments for each of the 10 commits. But the complete, unified diff of all commits doesn't really tell the story as I intended. Should these have been 10 separate pull requests?
I look forward to hearing your feedback.