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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Extending Your jQuery Application with Amplify.js

26 点作者 reybango大约 14 年前

3 条评论

Hipchan大约 14 年前
It's really important to put the BENEFITS at the top. Do I really want to read all this just to find out what it does?
euroclydon大约 14 年前
I gave up writing my "JavaScript Applications" in a closure the way you see in this tutorial. The reason is, there's no good documentation tool that will parse it. I'd much rather use namespaces to keep my code from polluting the global namespace and then I can use jsDoc.<p><pre><code> /** @namespace */ var MyApp = {} /** My Class * @constructor * @param {Object} options */ MyApp.MyClass = function(options) { ... };</code></pre>
评论 #2489701 未加载
MatthewPhillips大约 14 年前
I'm confused, why do I need to use pubsub to separate updating an item from requesting an item?
评论 #2489971 未加载