Nifty Snippets

Nifty SnippetsTM of code, techniques, and information focussing on Ajax, web scripting, and engineering.

Tuesday, 6 March 2012

Adding language choice to FogBugz's code snippets

›
Surprisingly, the "code snippet" widget used by the FogBugz wiki feature doesn't support telling the pretty-printer (they'...
Thursday, 1 March 2012

Match everything...except!

›
Micro-post: I was truly shocked to find today that in JavaScript regular expressions, . (the decimal point) doesn't do what I thought i...
3 comments:
Tuesday, 28 February 2012

Creating a function with a true name defined at runtime

›
I used to have an article here showing how to dynamically create functions with true names. Except it didn't work properly on Firefox an...
1 comment:
Sunday, 26 February 2012

Google Code - Error retrieving directory contents

›
I dropped by one of my Google Code projects, a trivial little jQuery placeholder functionality shim called place5 , and was quite surprised...
2 comments:
Tuesday, 14 February 2012

Getting rid of "What's Hot"

›
Google have finally made it possible to get the "What's Hot" rubbish out of your main Google+ stream. Here's how: Go to G...
1 comment:
Friday, 10 February 2012

`forEach` and runtime cost

›
Just a tiny one today, mostly to write this down somewhere: As you all know, ECMAScript5 adds forEach to arrays, where you supply a functio...
5 comments:
Wednesday, 30 November 2011

The true story on return false

›
In JavaScript event handlers, you'll frequently see return false; at the end. Why? What does it do? The answer is: It depends . Before ...
3 comments:
‹
›
Home
View web version
Powered by Blogger.