Title
Date
Author
Comments
May 31st, 2010
radu

Well, if you are programming in JavaScript for a while, you are familiar with the arguments ‘array’ which gives you access to function arguments by index, without the need of argument names. And if you are programming JavaScript for a bit longer while, you will know that arguments is not even a normal array. It [...]

April 1st, 2010
radu

Recently I needed a text field in ExtJS that doesn’t allow user input to start with space. So I thought it would be useful for others as well. I chose to override the original Ext.form.TextField and make all the textfields in the application have this behaviour.
Here is the code for this:

(function(){
//put [...]

March 21st, 2010
radu

As I have promised in this post, I am giving a review of the ADVANCED_OPTIMIZATIONS option in Google Closure JavaScript Compiler.
Beyond simply shortening variable names, Closure Compiler with ADVANCED_OPTIMIZATIONS, does three other important steps:

aggresive renaming – not only renaming local variables and functions, but it renames GLOBAL variables and functions. In this way, it can [...]

February 18th, 2010
radu

Tips on JavaScript and ExtJS: using the ExtJS ref config option on panels and other components.

February 8th, 2010
radu

A quick intro to the live event in ExtJS, using delegates. It is similar to the jQuery live event, but much more powerful. This article provides a quick and useful insight into it.

December 31st, 2009
radu

I have developed a small utility library, which helps with managing logging of your JavaScript applications.
Here are some features it supports:

Turn logging on and off
Support for Firebug console and log4javascript
Redefine console.log, console.warn, … (all console logging methods) through methods from log4javascript, if console is not detected

All you have to do is to keep on logging [...]