/[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.5, Sun Oct 21 02:08:58 2007 UTC revision 1.1.2.6, Sun Oct 21 02:11:34 2007 UTC
# Line 1  Line 1 
1  // $Id: urlify.js,v 1.1.2.4 2007/10/21 01:55:35 canen Exp $  // $Id: urlify.js,v 1.1.2.5 2007/10/21 02:08:58 canen Exp $
2  if (Drupal.jsEnabled) {  if (Drupal.jsEnabled) {
3    $(document).ready(function () {    $(document).ready(function () {
4      var LATIN_MAP = {      var LATIN_MAP = {
# Line 121  if (Drupal.jsEnabled) { Line 121  if (Drupal.jsEnabled) {
121        s = downcode(s);        s = downcode(s);
122        removelist = Drupal.settings.urlify.remove_list;        removelist = Drupal.settings.urlify.remove_list;
123    
124        // Temporary work around for the removelist is returned.        // Temporary work around for the removelist that 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(/\,/gi, '|') + ')\\b', 'gi');        r = new RegExp('\\b(' + removelist.replace(/\,/gi, '|') + ')\\b', 'gi');
128    

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

  ViewVC Help
Powered by ViewVC 1.1.2