Changeset 44
- Timestamp:
- 10/27/07 19:28:18 (6 years ago)
- Location:
- trunk/javascript
- Files:
-
- 2 edited
-
klassenbuch.controls.js (modified) (1 diff)
-
prototype.extensions.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/javascript/klassenbuch.controls.js
r40 r44 238 238 $super(new Element(this.options.tag, { 239 239 className: "unselectable " + this.options.className, 240 title: this.options.title 240 title: this.options.title || "" 241 241 })); 242 242 -
trunk/javascript/prototype.extensions.js
r31 r44 466 466 467 467 addressify: function() { 468 return this.replace(/([\s])/g, "").replaceAll("ü", "ue").replaceAll("ä", "ae").replaceAll("ö", "oe").toLowerCase(); 468 var store = arguments.callee._STORE[this]; 469 470 if (Object.isDefined(store)) { 471 return store; 472 } 473 474 return arguments.callee._STORE[this] = this.toLowerCase() 475 .replace(/([\s])/g, "-") 476 .replaceAll("ü", "ue") 477 .replaceAll("ä", "ae") 478 .replaceAll("ö", "oe") 479 .replace(/[^A-Z^a-z^0-9-]/g, ""); 469 480 }, 470 481 … … 485 496 } 486 497 }); 498 499 String.prototype.addressify._STORE = {}; 487 500 488 501 String.Builder = function() {
Note: See TracChangeset
for help on using the changeset viewer.