Changeset 1548
- Timestamp:
- 11/15/07 11:11:54 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
websites/coderepos.org/trac/share/js/TracAuthorIcon.js
r1545 r1548 1 1 // $Id$ 2 // vim: ft=javascript:expandtab2 // vim:et:sts=4:ts=4:sw=4: 3 3 var TracAuthorIcon = { 4 4 authorIcons : { … … 166 166 return o ? o : (document.contentType == "application/xhtml+xml") ? "http://www.w3.org/1999/xhtml" : ""; 167 167 }); 168 type = type || Object;169 168 170 169 switch (type) { … … 198 197 } 199 198 return ret; 200 case Object: 201 default: 199 case undefined: 202 200 var result = exp.evaluate( 203 201 context, … … 218 216 return ret; 219 217 } 220 default: 221 return null; 222 } 218 } 219 return null; 220 default: 221 throw(TypeError("$X: specified type is not valid type.")); 223 222 } 224 223 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)