]> git.pld-linux.org Git - packages/dokuwiki-plugin-lightbox.git/blob - dokuwiki-plugin-lightbox-dw-jscompress.patch
- workaround for dw js compress going bezerk on seeing single quote in this regexp
[packages/dokuwiki-plugin-lightbox.git] / dokuwiki-plugin-lightbox-dw-jscompress.patch
1 --- lightbox/js/prototype.js~   2008-03-10 06:57:43.000000000 +0200
2 +++ lightbox/js/prototype.js    2009-03-12 03:52:02.059829741 +0200
3 @@ -2969,7 +2969,7 @@
4      pseudo:
5  /^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/,
6      attrPresence: /^\[([\w]+)\]/,
7 -    attr:         /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/
8 +    attr:         /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*(([\x27"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/
9    },
10  
11    // for Selector.match and Element#match
This page took 0.087364 seconds and 3 git commands to generate.