May. 2nd, 2011

leynos: (Default)
I can't really blame Internet Explorer for being strict about JavaScript. I would too. Firefox on the other hand seems amazingly lax about malformed script. I'm actually going to side with Microsoft here. A run of JSLint (handy command line version: http://whereisandy.com/code/jslint/) on main.js reveals a slew of embarrassing errors—missing semicolons, reserved words used as hash keys, etc. IE is now happy with it.

The BBCode parser I borrowed required similar treatment. I may well return this to its author with the applied tweaks once I have also written some tests for it (an excuse to learn a JavaScript unit test framework).

On the other hand, I can't really forgive IE8's insulting mangling of CSS. It's fixed now. But srsly, what in Zod's name is this all about:

<meta http-equiv="X-UA-Compatible" content="IE=edge">?

(From HTML5 Boilerplate)

I'm told that it still doesn't work in IE9, and I despair.

On the gripping hand, the demo version of my site is now up at: http://bbs.df12.net/ hosted on my funky new cheap as chips VPS. (I can't even begin to pretend that I can afford Heroku's cheapest paid hosting).

And you can now create threads! (Tho if you created an account before, you'll need to re-register as this is a different database).

Profile

leynos: (Default)
leynos

January 2015

S M T W T F S
    123
456 78910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 28th, 2017 06:50 am
Powered by Dreamwidth Studios