PubSub in TypeScript

Pub/Sub is my Hello World, I’ve done it not once but twice in JavaScript and once in CoffeeScript (although technically that has a 3rd version in JavaScript at the start of the post :P).
Well you may have heard of Microsoft’s answer to appl…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

Pub/Sub is my Hello World, I’ve done it not once but twice in JavaScript and once in CoffeeScript (although technically that has a 3rd version in JavaScript at the start of the post :P). Well you may have heard of Microsoft’s answer to application-scale JavaScript called TypeScript so I thought I’d write a pub/ sub library in it too. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 module PubSub { var registry = {}; var pub = function(name: string, .


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate Updates
APA

Posts on LINQ to Fail | Sciencx (2012-10-02T00:00:00+00:00) PubSub in TypeScript. Retrieved from https://www.scien.cx/2012/10/02/pubsub-in-typescript/

MLA
" » PubSub in TypeScript." Posts on LINQ to Fail | Sciencx - Tuesday October 2, 2012, https://www.scien.cx/2012/10/02/pubsub-in-typescript/
HARVARD
Posts on LINQ to Fail | Sciencx Tuesday October 2, 2012 » PubSub in TypeScript., viewed ,<https://www.scien.cx/2012/10/02/pubsub-in-typescript/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » PubSub in TypeScript. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2012/10/02/pubsub-in-typescript/
CHICAGO
" » PubSub in TypeScript." Posts on LINQ to Fail | Sciencx - Accessed . https://www.scien.cx/2012/10/02/pubsub-in-typescript/
IEEE
" » PubSub in TypeScript." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2012/10/02/pubsub-in-typescript/. [Accessed: ]
rf:citation
» PubSub in TypeScript | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2012/10/02/pubsub-in-typescript/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.