Jan 21, 2019paypal-scripts now supports TypeScript as well as JavaScriptWhat happened that made TypeScript viable for me and worth migrating paypal-scripts for. Note: There was a lot of misunderstanding about this post so I want to make it clear that most of PayPal still uses JavaScript and this post is just to announce that PayPal engineers can now very…JavaScript9 min readJavaScript9 min read
Published inAssert(js) Testing Conf·Jan 15, 2018Assert(js) Speaker Series: thoughts on TestingA few questions and answers about testing in JavaScript The Assert(js) Conference is just about a month away. I’m really excited about attending, speaking, and workshopping at a conference all about testing JavaScript. In preparation for the conference, the organizers invited us speakers to answer a few questions about testing…JavaScript3 min readJavaScript3 min read
Nov 18, 2015Introducing JavaScript AirThe live broadcast podcast all about JavaScript I’m pleased to announce JavaScript Air! This is a live video broadcast podcast all about JavaScript and the web and the first episode, “The past, present, and future of JavaScript,” will be with BrendanEich. …JavaScript3 min readJavaScript3 min read
Oct 22, 2015Where to put code in mocha/jasmine testsUPDATE: I now try to avoid using testing lifecycle hooks or nesting describes at all. Listen to me talk about it for 3 minutes here. In fact, now that I’m using Jest (learn Jest), I don’t even use describe either. I find it’s much better this way. …JavaScript5 min readJavaScript5 min read
Jan 19, 2015How to distribute your AngularJS moduleI’m converting my project to use webpack for a ton of reasons. It’s awesome. This has given me the opportunity to reflect on the relationship between angular modules and npm modules and I think I’ve determined what I believe to be the best way for angular module developers to show…2 min read2 min read
Nov 9, 2014AngularJS: CSS in JSI was intrigued by the slides from Vjeux entitled “React: CSS in JS” (which is very good stuff and I would encourage you to read through it). I decided to see what it would look like to create something similar with Angular. turns out it’s not that bad and it’s…2 min read2 min read
Jul 16, 2014AngularJS One-time bindings and Recompiling TemplatesFor the non-trivial Angular Application — unsplash.com — by Sonja Langford If you’ve worked on a sizeable AngularJS application, you’ll discover that while Angular’s digest cycle is awesome, it can also make your app seem sluggish as it grows and that digest cycle takes longer. …2 min read2 min read
Jul 14, 2014Watching your AngularJS WatchersReduce AngularJS Watch Count… — What makes AngularJS more slow than anything else I’ve encountered is having a ton of watchers. For those of you who aren’t familiar with how AngularJS does its two-way databinding, essentially you tell Angular to watch something for changes, and Angular will check it over and over and over and…2 min read2 min read
Jul 12, 2014AngularJS Script LoadingBrowserify? Require.js? Concat w/ Sourcemaps? An alternative approach… — one of my side projects… IMPORTANT NOTE: I now use webpack and, as awesome as this was, it has some serious shortcomings. My experience with webpack has been SO much better! I even made an egghead.io series on Angular and Webpack for Modular Applications. I just read a medium post…5 min read5 min read