Adventures In JavaScript

Missing a comma in a class.

Firefox: “Everything’s cool, brosef!” :: empty screen ::

Chrome 1st time: “You can’t load local files, lol, eff you!” :: empty screen ::

Chrome 2nd time via sudo: “Uncaught SyntaxError: Unexpected token :”

Safari 1st time: “‘with’ statements aren’t allowed in strict mode”

Safari 2nd time: “SyntaxError: Expected token ‘}'”

TypeScript for ActionScript Developers


The following covers what the TypeScript language is compared to ActionScript 1, 2, and 3 with as much context as possible and compares the syntax side by side. This article should help serve as a reference while you learn TypeScript. Also, these articles always help me learn while writing them and I like to have documentation I can refer to later.

You cannot really talk about ActionScript without talking about the Flash Player internals just like you can’t really talk about JavaScript for web development without also talking about browser internals. Thus, I’ve tried my best to make what the ActionScript equivalents are in the JavaScript browser world.
Continue reading “TypeScript for ActionScript Developers”

Facebook’s HTML5 Mistake

Laides & Gentlemen, some key points to keep in mind when reading about Mark Zuckerberg’s latest statement about Facebook’s mobile strategy:

“The biggest mistake we made as a company was betting too much on HTML5 instead of native… We burnt two years.”

I’ve seen some holes in a few of the blogs & commentary that I believe need plugging.
Continue reading “Facebook’s HTML5 Mistake”