While working in JavaScript I like to execute my code through Node.js from my editors terminal for quick testing. Unfortunately the usual pattern of wrapping code doesn’t quite work: 123(function(window, undefined) { // code here… })(window); Luckily the fix was pretty simple. By replacing window with this we have access to the Node.js [...]
-
hello, i'm trevor norris
currently i'm working as a front-end developer for Mozilla and am one of the creators and lead developers of jStat.
you can checkout my mess of projects on github, or drop me a line.
-
categories
- defactor (1)
- javascript (5)
- jstat (2)
- misc (1)
- nodejs (1)
-
Tags