Ignore:
Timestamp:
12/12/11 17:24:41 (13 years ago)
Author:
fpvanagthoven
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/js/generalScripts.js

    r181 r183  
    133133    return s.replace(/[\n\r\t]/g,"");
    134134}
     135
     136// Shorthand for document.createElement, because that pops up about three times every line of the main program
     137function ce(s) {
     138    return document.createElement(s);
     139}
     140
     141// Shorthand for document.getElementById, same reason as above
     142function ge(s) {
     143    return document.getElementById(s);
     144}
Note: See TracChangeset for help on using the changeset viewer.