topic: js
7 min read
Rebuilding the site with Astro
After 12 years, I decide to rebuild the site using Astro, a JavaScript-based static site generator
4 min read
HTML5's Web * Features
A list of Web * APIs because sometimes I can't remember which is which
1 min read
yeoman, ulimit, and unmet dependency
Quick fix for a warning when running the Yeoman CLI
2 min read
Recent reads
A list of things I've read recently related to web development
1 min read
JSMake
Yet another build script tool
1 min read
Another media query detection script
After I linked to a Media Query detection script written by Nicholas Zakas, Paul Irish pinged me to let me know about a gist he adapted from Scott Jehl. This one looks even cooler. It takes advantage of the new matchMedia function when it’s available, and defines its own when...
1 min read
Media query detection
This gist from Nicholas C. Zakas looks really handy: This function determines if the browser is currently in a particular media media mode. Use the same media query as you would in CSS or on a <link> element. I can see myself using it quite a bit. His usage examples...
1 min read
JavaScript Garden
JavaScript Garden is a growing collection of documentation about the most quirky parts of the JavaScript programming language.
1 min read
quick object merge
Sometimes I load a small init.js file in the <head> and load all the other scripts before the closing <body> tag, and it’s nice to have a few utility functions. This is one of those functions I use every now and then: var FM = FM || {}; (function() {...