This site runs best with JavaScript enabled.

Aliasing modules in RequireJS

Ever wanted to alias a module in RequireJS ? I have. When your JavaScript project's dependencies support AMD, the Asynchronous Module Definition specification, it is wonderful! No shimming necessary. But alas, your dependencies might use module names that differ from your own or others'. Is it…

Read →

ScrollX, Scroll Why? History!

In this blog, I propose a solution to a problem facing developers in the single-page application space, especially the mobile subspace. The challenge revolves around a pesky behavior present in all popular browser implementations. This is the automatic restoration of last scroll position upon return…

Read →

Orientation for <meta> viewport?

Apple invented the viewport meta key to "improve the presentation of your web content on iOS." Many of the popular mobile browsers followed with implementations, including the Android Browser, Chrome for Android, Safari Mobile, Firefox for Mobile or Opera Mobile. While W3C specifications are…

Read →