[Koha-bugs] [Bug 15912] New: Correct JSHint errors in acq.js
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 24 20:47:08 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15912
Bug ID: 15912
Summary: Correct JSHint errors in acq.js
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: minor
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: oleonard at myacpl.org
QA Contact: testopia at bugs.koha-community.org
CC: koha-bugs at lists.koha-community.org
Following coding guideline JS8: "Follow guidelines set by JSHint," some errors
should be corrected in datatables.js
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 35, col 58, The array
literal notation [] is preferable.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 45, col 19, Use '===' to
compare with 'true'.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 50, col 33, The array
literal notation [] is preferable.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 56, col 26, Use '===' to
compare with 'true'.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 56, col 51, Use '===' to
compare with '0'.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 58, col 26, Use '===' to
compare with 'true'.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 63, col 2, Missing
semicolon.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 81, col 9, 'iDelay' is
already defined.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 113, col 2, Missing
semicolon.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 136, col 2, Missing
semicolon.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 454, col 2, Missing
semicolon.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 460, col 2, Missing
semicolon.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 548, col 23, Don't make
functions within a loop.
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js: line 555, col 6, Unnecessary
semicolon.
--
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.
More information about the Koha-bugs
mailing list