Changes between Version 7 and Version 8 of TracDev/JavaScript
- Timestamp:
- Jan 27, 2013, 3:07:07 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/JavaScript
v7 v8 34 34 }}} 35 35 36 ==== Upgrade 37 38 Minified versions of a given release `x.y.z` of jQuery can be found in URLs with the following pattern: 39 `http://code.jquery.com/jquery-x.y.z.min.js` 40 41 Don't forget to update the default value for the `jquery_location` setting. See for example r11576. 36 42 37 43 === jQuery UI … … 39 45 Since Trac version 1.0, we also bundle [http://jqueryui.com jQuery UI], a set of standard UI elements. 40 46 41 Specific releases can be downloaded from the following URLs: `http://code.jquery.com/ui/1.x.y/jquery-ui.min.js` 42 This correspond to the minified version of the whole of jQuery UI (i.e. we don't use a subset of what is currently used by Trac on purpose, so that plugins can assume they have access to the all the jQuery UI components). 47 ==== Upgrade 48 49 A specific `x.y.z` version of the minified Javascript code can be downloaded from URLs using the following pattern: 50 51 `http://code.jquery.com/ui/x.y.z/jquery-ui.min.js` 52 53 54 This correspond to the minified version of the whole of jQuery UI i.e. we don't use a subset of what is currently used by Trac on purpose, so that plugins can assume they have access to the all the jQuery UI components. 43 55 44 56 We use a custom theme for the CSS, built using the jQuery UI Theme Roller. … … 46 58 47 59 48 ==== jQuery UI Timepicker Addon #Timepicker60 ===== jQuery UI Timepicker Addon #Timepicker 49 61 50 62 We use the [http://trentrichardson.com/examples/timepicker/ Timepicker extension] for the standard jQuery UI datepicker. 51 63 52 We get the releases from the following URLs: `https://github.com/trentrichardson/jQuery-Timepicker-Addon/tree/v1.1.1`. Get the release matching the jQuery UI version we use. 64 We get the releases from the following URLs: 65 `https://github.com/trentrichardson/jQuery-Timepicker-Addon/tree/v1.1.1` 66 67 Get the release matching the jQuery UI version we use. 53 68 54 69 The `jquery-ui-timepicker-addon.js` file is usually compressed using the [https://developers.google.com/closure/compiler/ Google Closure Compiler], which gives good results. The minified file is saved in [source:trunk/trac/htdocs/js/jquery-ui-addons.js trac/htdocs/js/jquery-ui-addons.js]. 55 70 56 The `jquery-ui-timepicker-addon.css` file is merged with the [source:trunk/trac/htdocs/css/jquery-ui-addons.css trac/htdocs/css/jquery-ui-addons.css] file. 71 Finally, the `jquery-ui-timepicker-addon.css` file is merged with the [source:trunk/trac/htdocs/css/jquery-ui-addons.css trac/htdocs/css/jquery-ui-addons.css] file. 72 73 ===== TracIni settings 74 75 After an upgrade, don't forget to update the default values for the `jquery_ui_location` and `jquery_ui_theme_location` settings. See for example r11576.