[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#928827: libjs-jquery: Minified version of jquery.js (jquery.min.js) throws syntax error

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' />
   $(function() {
       console.log( "Hi, i'm jquery!" );

The not-minified version ('/usr/share/javascript/jquery/jquery.js') works just well.



-- 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

Reply to: