TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

JQuery Annotated Source

196 点作者 StylifyYourBlog大约 12 年前

9 条评论

pokoleo大约 12 年前
This is an old version of jQuery run through docco, with a simple page on top of the docco output.<p>docco: <a href="http://jashkenas.github.io/docco/" rel="nofollow">http://jashkenas.github.io/docco/</a><p>I just checked out jquery and built it myself. Here's a newer version:<p><a href="http://shalecraig.com/docs/manipulation.html" rel="nofollow">http://shalecraig.com/docs/manipulation.html</a>
ori_b大约 12 年前
Is it strange that I found myself mostly ignoring the comments when I was trying to understand this?<p>The only thing I found the comments useful for understanding was pointing out the IE compatibility behavior.
评论 #5615305 未加载
jliechti1大约 12 年前
Hey, this is pretty cool.<p>Does this style of annotation exist for any other libraries/projects?<p>I think the left side could be expanded into a pretty good pedagogical tool using mini-examples and explanations to focus on key concepts in the code.
评论 #5613956 未加载
评论 #5614207 未加载
评论 #5614199 未加载
评论 #5617573 未加载
评论 #5614338 未加载
评论 #5614577 未加载
wh-uws大约 12 年前
Looking through jQuery's test suite provides alot of insight also<p><a href="https://github.com/jquery/jquery/blob/master/test/unit/core.js" rel="nofollow">https://github.com/jquery/jquery/blob/master/test/unit/core....</a>
salvadornav大约 12 年前
Here's a different approach: <a href="http://www.keyframesandcode.com/resources/javascript/deconstructed/jquery/" rel="nofollow">http://www.keyframesandcode.com/resources/javascript/deconst...</a>
leeoniya大约 12 年前
i actually find docco-style docs more difficult to read with mostly single-line notes due to the spacing :(<p>some sort of block folding would help a lot to follow code progression like a story. i'm not certain this is the best display type for all commenting styles.
评论 #5617635 未加载
scottharveyco大约 12 年前
If anyone is interested in generating this type of documentation but for larger projects you might want to check out Groc<p><a href="https://github.com/nevir/groc" rel="nofollow">https://github.com/nevir/groc</a><p>It handles multiple languages and keeps your document structure in the navigation.
marcamillion大约 12 年前
I absolutely love this.<p>I would love to see a project (a curated version) like this for Rails.
nej大约 12 年前
This is great.