From d33dffe53a43a2534fb118be04b16d5ea664e395 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 | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/theme/bootstrapbase/readme_moodle.txt b/theme/bootstrapbase/readme_moodle.txt index 049e6940e6c..9477ed662b2 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: - -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. +This theme uses YUI ports of the Twitter bootstrap jQuery based libs. + +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 -- 2.11.4.GIT