reduce jquery files to one

Bug #1188989 reported by Marten de Vries
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenTeacher
Status tracked in 3.x
3.x
Triaged
Wishlist
Unassigned

Bug Description

Currently, the jQuery library is included multiple times inside the OpenTeacher source tree. It would be better if there would be one, which woudl be in its own module 'say type='jqueryLibrary'', which the other modules can require.

This way, it's possible to update the library everywhere at once. Also easier for linux distro's that symlink the library to a system wide installed jquery version.

Of course this does require some changes in the modules using the jquery libraries, mostly copy statements need to be replaced by writing equivalents.

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

Added modules/org/openteacher/logic/javaScript/libraries/jquery module. Locations to remove it in the source tree (searching for 'jquery' seem to be:

- org/openteacher/profileRunners/codeDocs/resources/jquery.js
- org/openteacher/profileRunners/mobileGenerator/scr/jquery-1.8.2.js
- org/openteacher/profileRunners/testserver/admin_files/js/jquery.js
- org/openteacher/profileRunners/testserver/admin_files/js/jquery.min.js
- org/openteacher/profileRunners/webGenerator/static/scr/library/jquery.js
- org/openteacher/profileRunners/websiteGenerator/scripts/jquery-1.9.1.min.js

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.