TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

JQueryMediator - a better Mediator pattern for jQuery

3 pointsby jasonmcaffeeover 11 years ago

1 comment

jasonmcaffeeover 11 years ago
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!