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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Mocking jQuery AJAX with AmplifyJS Request

15 点作者 elijahmanor超过 12 年前

2 条评论

asolove超过 12 年前
I assume everyone already knows about mockjax [1], a fantastic library for mocking out plain-old jquery ajax requests. It's a great way to develop and test Backbone apps against an API contract even before the API is up and running.<p>[1] <a href="https://github.com/appendto/jquery-mockjax" rel="nofollow">https://github.com/appendto/jquery-mockjax</a>
评论 #4607321 未加载
joshka超过 12 年前
Somewhat related is that Elijah showed Aaron Powell this some time ago and he blogged about it at <a href="http://aaron-powell.com/javascript/stubbing-ajax-responses-with-tbd" rel="nofollow">http://aaron-powell.com/javascript/stubbing-ajax-responses-w...</a> but used a different mock objects generator. This technique has come in quite handy, so thanks for showing Aaron this Elijah.
评论 #4607326 未加载