Posts

Showing posts from March, 2011

Rewind: getters & setters for all IE with cross browser VBClass!

spoiler: if once again everybody knew except me, you guys should do something to be better indexed in Google ... while if this is totally new and cool, well, you are welcome :) Sometimes I am stubborn, so stubborn, that even if it was me writing this post , and this one after , I have never given up about IE < 9 getters and setters ... " there must be a way ", I have thought during last days, and ... yes, eventually I have found the way ! Test Driven Developed Solution I have decided the possible behaviour, I have implemented all use cases, and I have successfully validated them against all browsers I could came up, with the exception of a single test, the first one, which fails in those browsers unable to freeze an object ... well, these browsers are disappearing thanks to their suggested, or automatic, updates, so everything is fine. Here the unit test that should cover 100% of the used JavaScript and/or the used VBScript where available (only IE < 9 so please don&

T-Shirts

Image
THESE ARE SOLD OUT PLEASE DO NOT SEND ANYMORE EMAILS ABOUT SHIRTS, IF YOU WANT A DREAM POLICE TAPE THEY ARE STILL AVAILABLE @ themen.bigcartel.com   We have some "Immaculada" t-shirts leftover that we haven't sold online yet so here's your chance to grab one. These were hand screened by our drummer Rich Samis on Fruit Of The Loom "Heavy Cotton" Tees. They are 12ppd SHIPPED. We have VERY limited sizes, please e-mail markperro@gmail.com with your size to see if we still have it. These are first come/first served, no holds. SOLD OUT

DREAM POLICE TAPE AVAILABLE NOW

Image
Tape available $7ppd to markperro@gmail.com Nick and Mark from the Men do synth-kraut jams. 2 songs - 25 minutes Latest tracks by markppperro

Object.defineHybridProperty

Update Yes, I did it: getters and setters for IE < 9 and other browsers After my early Hooorrayyyy! about compatible IE < 9 getters and setters , I have been experimenting a bit more on how to solve the JSObject to VBVariant and vice-versa assignment and the result was an horrendous monster loads of potential memory leaks and performances implications for the already slow bounce of browsers such IE8, 7, and 6. Since limitations were also too many, as described in this even earlier attempt from dojo framework , I have realized that VBScript was simply a no-go , or better, probably the wrong answer to the question: how can I have cross-browser getters and setters? The jQuery Hybrid Answer Back in 2009, James Padolsey described the jQuery framework as a sort of getters/setters simulator API, comparing the semantic and beauty of non-standard Spidermonkey __defineGetter__ and __defineSetter__ , against jQuery coding style, where many "methods" could be considered as g

SHOWS

Image