Instance private, class private, package and friends

Update: This is flawed. See details at the end. This post was inspired by a post that Robert Nyman wrote a while back. At the same time I was thinking about how to achieve private fields without the memory issues. JavaScript does not have private members as understood by a lot of other object oriented programming ...

IE8 and box-sizing

One of my top feature request for IE8 was for it to support box-sizing. I’m happy to see that IE8 does support box-sizing although it has a annoying quirk. The DOM property name is not correct. The rule for translating CSS property names to DOM property names is to replace a dash followed by a ...

The Good, the Bad and the Ugly

The Good Attribute handling in the DOM is finally working. MS said that this was one of the hardest things to fix and yet they did it. hashchange events simplify history management. I wish they implemented more of the HTML5 proposals when it comes to history state management but getting an event when the hash ...

JScript 5.7

[Revised to not sound as nagging as I always sound] The JScript 5.7 patch is now being pushed to an IE6 computer near you… IE6 uses Jscript 5.6 which has some design flaws when it comes to garbage collection. This is just a small issue for small applications but it is a large issue for ...

RegExp Tool

My favorite text editor of all time is ActiveState Komodo. I used to use the full/pro version of this but since I was too lazy to buy it so I kept redownloading the trial version every month. A while back ActiveState released a free version of the editor called Komodo Edit. Komodo Edit has almost ...

New Explorer Canvas Release

We finally got our act together and squashed some long standing bugs. This is the first bug fix release since we initially release ExCanvas over a year ago. Support for sub pixel rendering Crop content if painting outside the canvas initElement now returns a reference to the fixed element Fixes to arc Printing support Implement ...

Tamarin

I guess you all heard that MacromediaAdobe donated their JIT compiler version of JavaScript to Mozilla. Tamarin is the JIT for Action Script 3 (AS3) which is a version of ECMAScript 3rd Edition. Using a JIT should improvement of JavaScript by at least 10x. This is of course very good news. However a lot of ...

Associative Arrays Must Die

Andrew Dupont wrote an excellent post explaining why using Array for maps/hashes/asssociative arrays are considered harmful. If you use Arrays for hashes in JavaScript you should be ashamed of yourself

Going to Ajax Experience

I’ll be standing in the Google booth at the Ajax Experience conference on Friday afternoon. I guess it is time for me to figure out what all this Ajax hype is all about.

appendChild is not a Function

Another day another rant. Now it is time for me ranting how bad IE DOM/COM objects and ActiveX objects integrate with JScript. Given: var f = document.body.appendChild; f.call(document.body, document.createTextNode('Huh?')); This throws an exception because DOM/COM methods are not really instance of Function. Why is this an issue you might ask? Assume we have an ActiveX ...