Posts tagged with javascript
Invoke callbacks with unknown arguments
Published 14 November 2013 in archive with tags javascript Whilst working on some instrumentation code, I had need to pass a function and an unknown number of arguments to another function which would then time the execution of that function. This turned out to be quite easy usingfn.prototype.apply
.
Continue reading …
Check for valid url with JavaScript + RegEx
Published 3 July 2013 in archive with tags javascript , regex This next snippet is going to look hideous. If you're eating right now, swallow first. If you're drinking, put down the coffee and empty your mouth of fluid. Continue reading …jQuery Categories using isotope
Published 1 July 2013 in archive with tags javascript , jquery , isotope , design While I don't do much design stuff nowadays, I do enjoy it when I get the chance. After discussing a masonry style grid with dynamic categories with my other half this weekend, I tried to find the implementation online. Failing that, I thought this was a great chance to do a bit of design. Continue reading …Newer Page 4 of 4 Older