[Pkg-javascript-devel] Bug#928827: libjs-jquery: Minified version of jquery.js (jquery.min.js) throws syntax error
Harald Oest
haris at ixsys.de
Sat May 11 20:52:20 BST 2019
Package: libjs-jquery
Version: 1.7.2+dfsg-3.2+deb8u6
Severity: normal
Dear Maintainer,
the minified jquery library ('/usr/share/javascript/jquery/jquery.min.js') crashes with error 'SyntaxError: nothing to repeat' (as reported by Firefox JS console).
Step to reproduce this behaviour is to include the library and initialize jquery, e.g.
<script src='jquery.min.js' />
<script>
$(function() {
console.log( "Hi, i'm jquery!" );
});
</script>
The not-minified version ('/usr/share/javascript/jquery/jquery.js') works just well.
Bests
Harald
-- System Information:
Debian Release: 8.11
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-7-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
libjs-jquery depends on no packages.
Versions of packages libjs-jquery recommends:
ii javascript-common 11
libjs-jquery suggests no packages.
-- no debconf information
More information about the Pkg-javascript-devel
mailing list