leynos: (Default)
[personal profile] leynos
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).
From:
Anonymous( )Anonymous This account has disabled anonymous posting.
OpenID( )OpenID You can comment on this post while signed in with an account from many other sites, once you have confirmed your email address. Sign in using OpenID.
User
Account name:
Password:
If you don't have an account you can create one now.
Subject:
HTML doesn't work in the subject.

Message:

 
Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.

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 Sep. 21st, 2017 05:39 pm
Powered by Dreamwidth Studios