[Rt-commit] r4125 - in rt/branches/3.5-TESTING: . html/NoAuth/js

Thomas Sibley trs at bestpractical.com
Mon Nov 21 16:04:36 EST 2005


Jesse Vincent wrote:
>>+++ rt/branches/3.5-TESTING/html/NoAuth/js/util.js	Mon Nov 21 15:58:42 2005
>>@@ -1,3 +1,7 @@
>>+function e(id) {
>>+    return document.getElementById(id);
>>+}
>>+
> 
> For future-compatibility, would it make more sense to use $(id) like
> prototype.js? 

Probably.  I didn't make it $(id) because I didn't know if Prototype was 
doing anything different behind the scenes that it would miss if 
overridden by our own function.

Tom


More information about the Rt-commit mailing list