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.

Js-cps , simple conversion to asynchronous javascript

2 pointsby cperkinsabout 13 years ago
I was getting tired of all the deeply nested anonymous functions that are entailed with anything but the simplest AJAX transactions. (ie the "triangle of death"). JS-CPS is a simple transformer that transforms synchronous looking javascript (that uses a certain predefined token) to asynchronous javascript. I've found it very handy in my own work.

no comments

no comments