Pick a Side

I noticed this code[1] in a site today, and while clever, I don’t like it.

Hello world! This is HTML5 Boilerplate.

window.jQuery || document.write('<script src="js/vendor/jquery-1.8.0.min.js"><\/script>')

The lines I’m focusing on are the first two

Photo of Daniel Morrison

Daniel founded Collective Idea in 2005 to put a name to his growing and already full-time freelance work. He works hard writing code, teaching, and mentoring.


  1. September 27, 2012 at 14:28 PM

    Daniel, your fly-out picture on this post goes perfect with the title of this post. 

  2. September 27, 2012 at 14:32 PM

    Any inference of political leanings is merely a side effect of the design.