Perfectionkills - perfectionkills.com - Perfection Kills
General Information:
Latest News:
Profiling CSS for fun and profit. Optimization notes. 5 Jan 2012 | 09:03 am
I’ve been recently working on optimizing performance of a so-called one-page web app. The application was highly dynamic, interactive, and was heavily stuffed with new CSS3 goodness. I’m not talking j...
Fabric.js 0.5 is out 23 Aug 2011 | 05:31 am
Remember that fabulous canvas library that makes working with canvas a breeze? The one that can parse SVG files on the fly and fluently draw them on canvas; that can render complex text in real time; ...
Extending built-in native objects. Evil or not? 9 Aug 2011 | 06:56 am
Few days ago, Nick Morgan asked my opinion on extending native objects. The question came up when trying to answer — “why doesn’t underscore.js extend built-ins”? Why doesn’t it define all those Array...
Refactoring Javascript with kratko.js 14 Jun 2011 | 05:10 am
Understanding the concept of code refactoring is one of the best things you can do to become a better programmer [1]. It all started a couple of weeks ago when I — once again — looked at the growing,...
Unnecessarily comprehensive look into a rather insignificant issue of global objects creation 2 Mar 2011 | 05:00 am
I noticed this code few days ago — in one of the “modules” of an internal app I’m working on — which looked like this: This was at the beginning of the file, and was obviously a way to define global ...
A closer look at expression closures 18 Jan 2011 | 09:37 am
I was recently working hacking on something in Firebug console and remembered about expression closures — a language addition, introduced in Mozilla’s JavaScript 1.8. The concise explanation on MDC ca...
Global eval. What are the options? 16 Dec 2010 | 08:07 am
How eval works Eval’ing in global scope Indirect eval call. Theory. Indirect eval call examples. Indirect eval call. In practice. window.execScript window.eval eval context in webkit new Funct...
How ECMAScript 5 still does not allow to subclass an array 16 Jul 2010 | 04:07 am
Why subclass an array? Naive approach Problems with naive approach Special nature of arrays Function objects and [[Construct]] The importance of array special behavior Existing solutions ECMASc...
JScript and DOM changes in IE9 preview 3 25 Jun 2010 | 03:19 am
3rd preview of IE9 was released yesterday, with some amazing additions, like canvas element and an extensive ES5 support. I’ve been digging through it a little, to see what has changed and what hasn’t...
Tag is not an element. Or is it? 2 Jun 2010 | 04:08 am
It’s interesting how widely some misconceptions spread around. The one I noticed recently is the “issue” of elements vs. tags. The problem is that people say tags when they mean elements, and do it so...