Tags: javascript

IE error “expected identifier, string or number”

Originally published at The Pædantic Programmer. Please leave any comments there.

This probably means that you’ve got a trailing comma after an object/hash definition:

var myObj = {
  key0: 'val0',
  key1: 'val1',
  key2: 'val2', // ←
};         // ↑

You’re on your own for trying to figure out which file it’s talking about and translating the line number into the correct value.

John Hodgman is using software that I helped to write

Originally published at The Pædantic Programmer. Please leave any comments there.

A recent blog post by The Hodg Man mentions that he uses (AND ENJOYS) a product I’ve helped to build. Yay.

***

FULL DISCLOSURE NUMBER TWO

FAITHFUL READERS OF THIS IMITATION BLOG know that, having crashed my own website repeatedly while linking to it Twitterphonically, I experimented with NEW INTERNET TECHNOLOGY to try to fix this problem.

SPECIFICALLY, my host, LiquidWeb, called and offered their cloud computing solution STORM ON DEMAND. I think this means that instead of being stored on a single regular computer, my whole website is instead stored on dozens of semi-mechanical, murderous black clouds on various uncharted islands.

Cloud Computing at Work

THIS EXPERIMENT WAS SUCCESSFUL. So, in the spirit of full disclosure,

I AM USING STORM ON DEMAND FOR A REDUCED PRICE, and unless it grabs me and pulls me in to the woods to murder me, I will continue to USE AND ENJOY IT.

***