- workaround for dw js compress going bezerk on seeing single quote in this regexp
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 12 Mar 2009 01:54:17 +0000 (01:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-plugin-lightbox-dw-jscompress.patch -> 1.1

dokuwiki-plugin-lightbox-dw-jscompress.patch [new file with mode: 0644]

diff --git a/dokuwiki-plugin-lightbox-dw-jscompress.patch b/dokuwiki-plugin-lightbox-dw-jscompress.patch
new file mode 100644 (file)
index 0000000..426cc30
--- /dev/null
@@ -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
This page took 0.04052 seconds and 4 git commands to generate.