ECMAScript

ECMAScript

Drupal JS Coding Standards - final version

Posted by stella on Wed, 2008-09-03 10:37 in

I've finally got consensus on the JS coding standards we should adopt in Drupal. I got lots of useful feedback at Drupalcon Szeged last week, and so have now posted up a slightly modified version of my JS Coding Standards proposal in the Drupal handbook at http://drupal.org/node/172169 This is the final version (other than a few tweaks) and replaces the existing set of standards in the handbook. I've also included the final version below. Enjoy!

JavaScript Support and Array.indexOf in IE

Posted by stella on Wed, 2008-08-13 23:04 in

JavaScript 1.6 was released in November 2005, and even though Internet Explorer 7 was released almost a year later in October 2006, it still uses the older JavaScript 1.5. I only discovered this fact recently when I started using Array.indexOf() in some lightbox code. It was all working fine in Firefox, but as soon as I started testing it in IE, it stopped!

Syndicate content