Problems with static inheritance

[originally posted 2014-03-27]

Some time in 2013 as I was working through some JavaScript constructor inheritance tests, I found an example of static inheritance as an anti-pattern (meaning don’t bother with it) in the transpiled code from a CoffeeScript tutorial.

Continue reading “Problems with static inheritance”

Preserving multi-line comment-style strings with UglifyJS2

[originally posted 2014-03-24]

Here are two quick and dirty examples showing how to preserve /*** multiline string comments ***/ when using uglifyjs (i.e., uglify 2.0). The first uses the basic uglify cli approach, while the second example uses gulp.

Continue reading “Preserving multi-line comment-style strings with UglifyJS2”

Hello, world (again)

[originally posted 2013-08-11]

Thanks for stopping by.

I used to maintain this blog on github using Hexo, a Node.js module supporting markdown. I’ve switched over to wordpress online once I found it supported markdown (in the Settings section) so I wouldn’t have to go through all the rebuilding and deploying for such simple things as fixing a typo.

Continue reading “Hello, world (again)”