Changeset 118


Ignore:
Timestamp:
05/06/05 18:55:00 (15 years ago)
Author:
gogo
Message:

Apply #151 - trivial code cleaning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r114 r118  
    558558{ 
    559559  var ta = HTMLArea.getElementById("textarea", id); 
    560   if (ta) 
    561   { 
    562     var taobj = new HTMLArea(ta, config); 
    563     taobj.generate(); 
    564     return taobj; 
    565   } 
    566   else 
    567   { 
    568     return null; 
    569   }; 
     560  return ta ? (new HTMLArea(ta, config)).generate() : null;; 
    570561}; 
    571562 
Note: See TracChangeset for help on using the changeset viewer.