From 88ec4afdb86e1622f707adb6b322a491540efd5f Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Wed, 4 Dec 2013 16:55:26 +0800 Subject: [PATCH] MDL-43152 JavaScript: Add update instructions for gallery-bootstrap --- theme/bootstrapbase/readme_moodle.txt | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/theme/bootstrapbase/readme_moodle.txt b/theme/bootstrapbase/readme_moodle.txt index a9168a193fe..f963d6a1ba7 100644 --- a/theme/bootstrapbase/readme_moodle.txt +++ b/theme/bootstrapbase/readme_moodle.txt @@ -32,19 +32,17 @@ To update to the latest release of html5shiv: bootstrapcollapse.js, bootstrapdropdown.js, bootstrapengine.js -------------------------------------------------------------- -This theme uses YUI ports of the Twitter bootstrap jQuery based libs. These ported files are available on: +This theme uses YUI ports of the Twitter bootstrap jQuery based libs. -https://github.com/jshirley/yui3-gallery/blob/master/src/gallery-bootstrap-collapse/js/bootstrap-collapse.js -https://github.com/jshirley/yui3-gallery/blob/master/src/gallery-bootstrap-dropdown/js/bootstrap-dropdown.js -https://github.com/jshirley/yui3-gallery/blob/master/src/gallery-bootstrap-engine/js/bootstrap-engine.js - -The content of these files are slightly modified to make sure all required YUI libraries are loaded. To achieve -that the first and last line of each of these files has been modified. +Upgrade procedure: +* git clone https://github.com/jshirley/yui-gallery.git +* from that repository copy: +** build/gallery-bootstrap-collapse/gallery-bootstrap-collapse-debug.js to js/gallery-bootstrapcollapse.js +** build/gallery-bootstrap-dropdown/gallery-bootstrap-dropdown-debug.js to js/gallery-bootstrapdropdown.js +** build/gallery-bootstrap-engine/gallery-bootstrap-engine-debug.js to js/gallery-bootstrapengine.js +* apply patches from MDL-43152 to address linting issues +* run shifter on this directory as required +* update ../../../thirdpartylibs.xml The YUI port of the Twitter bootstrap libs are now longer maintained. If you need all of the Bootstrap JavaScript functionality consider switching to the original jQuery version of these file - -If you do want to update use these file locations: -theme/bootstrapbase/yui/src/bootstrap/js/bootstrap-collapse.js -theme/bootstrapbase/yui/src/bootstrap/js/bootstrap-dropdown.js -theme/bootstrapbase/yui/src/bootstrap/js/bootstrap-engine.js