← Back to team overview

mahara-contributors team mailing list archive

[Bug 1541684] [NEW] Remove unpatched select2 JS files from git repo

 

Public bug reported:

We've got four select2 Javascript files in Mahara core under
htdocs/js/select2:

1. select2.full.js: Select2 plus some compatibility & "recommended includes" modules
2. select2.full.min.js: Minified version of above
3. select2.js: Standard version of select2
4. select2.min.js: Minified version of above.

We actually only use one of these, select2.full.js. And, we have applied
several patches to that file! So we really ought to remove the other
files, to prevent a developer from accidentally writing new code that
uses one of them, bypassing our patches.

** Affects: mahara
     Importance: Low
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress


** Tags: select2

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1541684

Title:
  Remove unpatched select2 JS files from git repo

Status in Mahara:
  In Progress

Bug description:
  We've got four select2 Javascript files in Mahara core under
  htdocs/js/select2:

  1. select2.full.js: Select2 plus some compatibility & "recommended includes" modules
  2. select2.full.min.js: Minified version of above
  3. select2.js: Standard version of select2
  4. select2.min.js: Minified version of above.

  We actually only use one of these, select2.full.js. And, we have
  applied several patches to that file! So we really ought to remove the
  other files, to prevent a developer from accidentally writing new code
  that uses one of them, bypassing our patches.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1541684/+subscriptions


Follow ups