https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15847 Bug ID: 15847 Summary: Correct JSHint errors in basket.js Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: ASSIGNED Severity: minor Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org CC: hector.hecaxmmx@gmail.com, testopia@bugs.koha-community.org Following coding guideline JS8: "Follow guidelines set by JSHint," some errors should be corrected in basket.js basket.js: line 53, col 36, Use '===' to compare with '0'. basket.js: line 85, col 42, Missing semicolon. basket.js: line 210, col 5, Implied eval. Consider passing a function instead of a string. basket.js: line 219, col 44, Missing semicolon. basket.js: line 243, col 46, Missing semicolon. basket.js: line 251, col 29, Use '===' to compare with '0'. basket.js: line 270, col 13, 'valCookie' is already defined. basket.js: line 305, col 13, Use '===' to compare with 'undefined'. basket.js: line 409, col 25, The array literal notation [] is preferable. basket.js: line 416, col 25, Use '===' to compare with '0'. basket.js: line 432, col 33, Missing semicolon. basket.js: line 1, col 11, Missing semicolon. -- You are receiving this mail because: You are watching all bug changes.