/[drupal]/contributions/modules/urlify/urlify.js
ViewVC logotype

Diff of /contributions/modules/urlify/urlify.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.4, Sun Oct 21 01:55:35 2007 UTC revision 1.1.2.5, Sun Oct 21 02:08:58 2007 UTC
# Line 1  Line 1 
1  // $Id: urlify.js,v 1.1.2.3 2007/09/29 08:24:18 canen Exp $  // $Id: urlify.js,v 1.1.2.4 2007/10/21 01:55:35 canen Exp $
2  if (Drupal.jsEnabled) {  if (Drupal.jsEnabled) {
3    $(document).ready(function () {    $(document).ready(function () {
4      var LATIN_MAP = {      var LATIN_MAP = {
# Line 124  if (Drupal.jsEnabled) { Line 124  if (Drupal.jsEnabled) {
124        // Temporary work around for the removelist is returned.        // Temporary work around for the removelist is returned.
125        // removelist was an array now it is a string        // removelist was an array now it is a string
126        removelist = removelist.replace(/'/gi, '');        removelist = removelist.replace(/'/gi, '');
127        r = new RegExp('\\b(' + removelist.replace(/,/, '|') + ')\\b', 'gi');        r = new RegExp('\\b(' + removelist.replace(/\,/gi, '|') + ')\\b', 'gi');
128    
129        s = s.replace(r, '');        s = s.replace(r, '');
130        // if downcode doesn't hit, the char will be stripped here        // if downcode doesn't hit, the char will be stripped here

Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.5

  ViewVC Help
Powered by ViewVC 1.1.2