Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
deadbeef84
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
deadbeef84
15y ago
If you have many options, they are easier to retrieve, just call .data('tooltip') and jQuery will do the parsing of the object. Using separate attributes you would have to call .data() for every attribute. Anyway, I guess any of the two met
2.
▲
by
deadbeef84
15y ago
6. Prevention of double instantiation.
3.
▲
by
deadbeef84
15y ago
Here's my thoughts: 1. Ability to modify default settings It is sometimes nice to set the global defaults. 2. Ability to expose methods. A nice way of calling the someFunc() would be nice. I guess you can do it like this: $(...).data('_wToo
4.
▲
by
deadbeef84
15y ago
Not sure I agree completely, "watch" is when you're actually interested in what's going on in the project. "Fork" is when you want to contribute with code changes. Maybe a "Like" button to show your appreciation would be nice?