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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

JQueryMediator - a better Mediator pattern for jQuery

3 点作者 jasonmcaffee超过 11 年前

1 comment

jasonmcaffee超过 11 年前
HN, please take a look at the new library I released today called jQueryMediator.<p><a href="https://github.com/jasonmcaffee/jQueryMediator" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jasonmcaffee&#x2F;jQueryMediator</a><p>Typical mediators for dom libraries such as jQuery, tend to poorly abstract the underlying API, and lead to an inconvenient, verbose syntax that resonates throughout your code base.<p>This project provides a jQuery API mediator that can be used in a manner that is indistinguishable from jQuery.<p>If you find it necessary to use a mediator for jQuery, you should definitely give this library a try.<p>You can test out the API by going here and selecting Project -&gt; Fork<p><a href="https://codio.com/jasonmcaffee/jQueryMediator/master/tree/test/jQueryMediator-spec.js" rel="nofollow">https:&#x2F;&#x2F;codio.com&#x2F;jasonmcaffee&#x2F;jQueryMediator&#x2F;master&#x2F;tree&#x2F;te...</a><p>(side note: codio.com is awesome, you should check it out)<p>Feedback appreciated!