« Top3Clicks – New Features | Main | Sign Of The Times »

February 02, 2009

Facebook Revs FBJS

Facebook has announced they are releasing a “major update” to FBJS (Facebook JavaScript) named FBJS2. The current version uses a number of non-standard modifications to the languages that increase the learning curve (and debugging) unnecessarily.

For example, setting the height and width of a graphic element currently works something like this:

this.setStyle({width:90px, height: 20px});

FBJS2 will allow more standard nomenclature, such as this:

this.style.width=90px;
this.style.height=20px;

Much easier to read/write/debug.

Posted by davehod at February 2, 2009 04:52 PM

Comments

Post a comment




Remember Me?