-
• #1952
Although... now I want to get rid of some of the JavaScript.
-
• #1953
What's Javascript?
-
• #1954
what's goin' on?
-
• #1955
it might be the several pints of guiness I've just had but the forum has started to hurt my eyes... bright spaces everywhere-woz' gon' on?
-
• #1956
there's a lot of javascript in there, jquery, and YUI libs, seems like a spaghetti mess.
perhaps load stuff like jquery from the google CDN, with a local fallback, the same way that HTML5 boilerplate does it.
-
• #1957
^^It has all been explained in highly technical and fanciful gibberish, over the last few pages. For a much clearer account, read all of Clive's contributions.
-
• #1958
ah. christ. thanks for replying but I don't think my eyes can handle it atm. fuck. maybe it is the fucking guiness. or the turkish wine. probably the turkinsh wine on reflection.
-
• #1959
Can browse on HTC easypeasy now.
Thanks for sorting it.way better. -
• #1960
Can I put in a request for a slightly bigger forum jump thingy?
-
• #1961
there's a lot of javascript in there, jquery, and YUI libs, seems like a spaghetti mess.
perhaps load stuff like jquery from the google CDN, with a local fallback, the same way that HTML5 boilerplate does it.
That fallback never seems to work, plus it is such a massive hack
Really why does this forum need jquery at all?
-
• #1962
That fallback works really well, and, it's part of the html5 boilerplate project, the most well tested starting point for any proper web UI.
If you don't know what it is, you should.
http://html5boilerplate.com/ -
• #1963
Reading this thread on a nexus s without needing to zoom at all. Chapeau.
-
• #1964
Gabes, I do it for a living. I know what HTML 5 boilerplate is.
And what it is is a load of unnecessary bloated shite. -
• #1965
Firefox in Linux is showing a serif font. This looks like a Firefox bug... it works everywhere else.
Are you sure it's not a windows bug? I get TNR in both Firefox and IE with Windows 7 in the new message box.
Also I've not added before but well done for today. The forum's looking great David!
-
• #1966
I've munged all of the JavaScript into one file, minified chunks of it... and knocked out the multiple requests.
Most things will cache it after first hit, and I serve it out of Varnish anyway.
So now it's just one HTTP request to check modified, rather than 6.
And BlueQuinn, if you want to re-write the 300+ templates not to use bits of jQuery and YUI all over the place... be my guest.
Seriously, over 300 templates, some touch this stuff and some don't, and it's all spaghetti.
This isn't a small code base, please stop treating it as a trivial task when it's not.
-
• #1967
I'll give it a go.
At least we can identify where the code is and what we need and don't need. -
• #1968
Gabes, I do it for a living. I know what HTML 5 boilerplate is.
And what it is is a load of unnecessary bloated shite.You do it for a living doesn't mean you know what you're talking about, clearly.
-
• #1969
Is this thread ready for Popcorn?
-
• #1970
probably.
-
• #1971
We can settle this with a good old fashioned coding death-match.
-
• #1972
Last one to die of exhaustion and malnutrition wins.
Makes for pretty dull viewing though.
-
• #1973
A geek to the death?
-
• #1974
First broken keyboard?
-
• #1975
/^1?$|^(11+?)\1+$/
Object would love that regular expression.
That's good.
Now it's been a few hours I'm liking it too.