SOURCES: dokuwiki-plugin-lightbox-dw-jscompress.patch (NEW) - workaround fo...

glen glen at pld-linux.org
Thu Mar 12 02:54:22 CET 2009


Author: glen                         Date: Thu Mar 12 01:54:22 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- workaround for dw js compress going bezerk on seeing single quote in this regexp

---- Files affected:
SOURCES:
   dokuwiki-plugin-lightbox-dw-jscompress.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/dokuwiki-plugin-lightbox-dw-jscompress.patch
diff -u /dev/null SOURCES/dokuwiki-plugin-lightbox-dw-jscompress.patch:1.1
--- /dev/null	Thu Mar 12 02:54:23 2009
+++ SOURCES/dokuwiki-plugin-lightbox-dw-jscompress.patch	Thu Mar 12 02:54:17 2009
@@ -0,0 +1,11 @@
+--- lightbox/js/prototype.js~	2008-03-10 06:57:43.000000000 +0200
++++ lightbox/js/prototype.js	2009-03-12 03:52:02.059829741 +0200
+@@ -2969,7 +2969,7 @@
+     pseudo:
+ /^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/,
+     attrPresence: /^\[([\w]+)\]/,
+-    attr:         /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/
++    attr:         /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*(([\x27"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/
+   },
+ 
+   // for Selector.match and Element#match
================================================================


More information about the pld-cvs-commit mailing list