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.

Comments

Add a Comment

Hmm...that didn't work.

Something went wrong while adding your comment. If you don't mind, please try submitting it again.

Comment Added!

Your comment has been added to this post. Please refresh this page to view it.

Optional. If added, we will display a link to the website in your comment.
Optional. Never shared or displayed in your comment.
  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.