From aebc081c66caf4db9fd4cbf19fffef3d996e3155 Mon Sep 17 00:00:00 2001 From: Hengqing Hu Date: Sat, 3 Mar 2012 12:03:51 +0800 Subject: [PATCH] Remove trailing whitespaces in regular file Change-Id: I2317eb6d87054af4b04c91ef216a4c46c3dec423 --- AUTHORS | 1 + docs/source/_static/jquery.tweet.js | 6 +- .../settings/project/openrc.sh.template | 2 +- .../horizon/js/jquery/jquery.table-sorter.js | 80 +++++++++---------- .../bootstrap/css/bootstrap-responsive.css | 12 +-- .../fonts/Anivers_Regular-webfont.svg | 2 +- tools/rfc.sh | 2 +- 7 files changed, 53 insertions(+), 52 deletions(-) diff --git a/AUTHORS b/AUTHORS index cfb4f29a3d..d881dade11 100644 --- a/AUTHORS +++ b/AUTHORS @@ -13,6 +13,7 @@ Ewan Mellor Gabriel Hurley Ghe Rivero Ghe Rivero +Hengqing Hu Ivan Kolodyazhny Jake Dahn jakedahn diff --git a/docs/source/_static/jquery.tweet.js b/docs/source/_static/jquery.tweet.js index c93fea8768..79bf0bdb4c 100644 --- a/docs/source/_static/jquery.tweet.js +++ b/docs/source/_static/jquery.tweet.js @@ -1,5 +1,5 @@ (function($) { - + $.fn.tweet = function(o){ var s = { username: ["seaofclouds"], // [string] required, unless you want to display our tweets. :) it can be an array, just do ["username1","username2","etc"] @@ -17,9 +17,9 @@ loading_text: null, // [string] optional loading text, displayed while tweets load query: null // [string] optional search query }; - + if(o) $.extend(s, o); - + $.fn.extend({ linkUrl: function() { var returning = []; diff --git a/horizon/dashboards/settings/templates/settings/project/openrc.sh.template b/horizon/dashboards/settings/templates/settings/project/openrc.sh.template index ed106ee55e..c77c6fa978 100644 --- a/horizon/dashboards/settings/templates/settings/project/openrc.sh.template +++ b/horizon/dashboards/settings/templates/settings/project/openrc.sh.template @@ -2,7 +2,7 @@ # With the addition of Keystone, to use an openstack cloud you should # authenticate against keystone, which returns a **Token** and **Service -# Catalog**. The catalog contains the endpoint for all services the +# Catalog**. The catalog contains the endpoint for all services the # user/tenant has access to - including nova, glance, keystone, swift. # # *NOTE*: Using the 2.0 *auth api* does not mean that compute api is 2.0. We diff --git a/horizon/static/horizon/js/jquery/jquery.table-sorter.js b/horizon/static/horizon/js/jquery/jquery.table-sorter.js index a1771f4b20..d106fb0300 100644 --- a/horizon/static/horizon/js/jquery/jquery.table-sorter.js +++ b/horizon/static/horizon/js/jquery/jquery.table-sorter.js @@ -1,103 +1,103 @@ /* - * + * * TableSorter 2.0 - Client-side table sorting with ease! * Version 2.0.5b * @requires jQuery v1.2.3 - * + * * Copyright (c) 2007 Christian Bach * Examples and docs at: http://tablesorter.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html - * + * */ /** - * + * * @description Create a sortable table with multi-column sorting capabilitys - * + * * @example $('table').tablesorter(); * @desc Create a simple tablesorter interface. - * + * * @example $('table').tablesorter({ sortList:[[0,0],[1,0]] }); * @desc Create a tablesorter interface and sort on the first and secound column column headers. - * + * * @example $('table').tablesorter({ headers: { 0: { sorter: false}, 1: {sorter: false} } }); - * + * * @desc Create a tablesorter interface and disableing the first and second column headers. - * - * + * + * * @example $('table').tablesorter({ headers: { 0: {sorter:"integer"}, 1: {sorter:"currency"} } }); - * + * * @desc Create a tablesorter interface and set a column parser for the first * and second column. - * - * + * + * * @param Object * settings An object literal containing key/value pairs to provide * optional settings. - * - * + * + * * @option String cssHeader (optional) A string of the class name to be appended * to sortable tr elements in the thead of the table. Default value: * "header" - * + * * @option String cssAsc (optional) A string of the class name to be appended to * sortable tr elements in the thead on a ascending sort. Default value: * "headerSortUp" - * + * * @option String cssDesc (optional) A string of the class name to be appended * to sortable tr elements in the thead on a descending sort. Default * value: "headerSortDown" - * + * * @option String sortInitialOrder (optional) A string of the inital sorting * order can be asc or desc. Default value: "asc" - * + * * @option String sortMultisortKey (optional) A string of the multi-column sort * key. Default value: "shiftKey" - * + * * @option String textExtraction (optional) A string of the text-extraction * method to use. For complex html structures inside td cell set this * option to "complex", on large tables the complex option can be slow. * Default value: "simple" - * + * * @option Object headers (optional) An array containing the forces sorting * rules. This option let's you specify a default sorting rule. Default * value: null - * + * * @option Array sortList (optional) An array containing the forces sorting * rules. This option let's you specify a default sorting rule. Default * value: null - * + * * @option Array sortForce (optional) An array containing forced sorting rules. * This option let's you specify a default sorting rule, which is * prepended to user-selected rules. Default value: null - * + * * @option Boolean sortLocaleCompare (optional) Boolean flag indicating whatever * to use String.localeCampare method or not. Default set to true. - * - * + * + * * @option Array sortAppend (optional) An array containing forced sorting rules. * This option let's you specify a default sorting rule, which is * appended to user-selected rules. Default value: null - * + * * @option Boolean widthFixed (optional) Boolean flag indicating if tablesorter * should apply fixed widths to the table columns. This is usefull when * using the pager companion plugin. This options requires the dimension * jquery plugin. Default value: false - * + * * @option Boolean cancelSelection (optional) Boolean flag indicating if * tablesorter should cancel selection of the table headers text. * Default value: true - * + * * @option Boolean debug (optional) Boolean flag indicating if tablesorter * should display debuging information usefull for development. - * + * * @type jQuery - * + * * @name tablesorter - * + * * @cat Plugins/Tablesorter - * + * * @author Christian Bach/christian.bach@polyester.se */ @@ -347,7 +347,7 @@ tableBody[0].appendChild(r[pos][j]); } - // + // } } @@ -381,7 +381,7 @@ } var meta = ($.metadata) ? true : false; - + var header_index = computeTableHeaderCellIndexes(table); $tableHeaders = $(table.config.selectorHeaders, table).each(function (index) { @@ -389,8 +389,8 @@ this.column = header_index[this.parentNode.rowIndex + "-" + this.cellIndex]; // this.column = index; this.order = formatSortingOrder(table.config.sortInitialOrder); - - + + this.count = this.order; if (checkHeaderMetadata(this) || checkHeaderOptions(table, index)) this.sortDisabled = true; @@ -493,12 +493,12 @@ }; return false; } - + function checkHeaderOptionsSortingLocked(table, i) { if ((table.config.headers[i]) && (table.config.headers[i].lockedOrder)) return table.config.headers[i].lockedOrder; return false; } - + function applyWidget(table) { var c = table.config.widgets; var l = c.length; @@ -727,7 +727,7 @@ this.order = this.count++ % 2; // always sort on the locked order. if(this.lockedOrder) this.order = this.lockedOrder; - + // user only whants to sort on one // column if (!e[config.sortMultiSortKey]) { diff --git a/openstack_dashboard/static/bootstrap/css/bootstrap-responsive.css b/openstack_dashboard/static/bootstrap/css/bootstrap-responsive.css index d77d97d13e..4cc6f03344 100644 --- a/openstack_dashboard/static/bootstrap/css/bootstrap-responsive.css +++ b/openstack_dashboard/static/bootstrap/css/bootstrap-responsive.css @@ -37,21 +37,21 @@ width: 100%; min-height: 28px; /* Make inputs at least the height of their button counterpart */ - + /* Makes inputs behave like true block-level elements */ - + -webkit-box-sizing: border-box; /* Older Webkit */ - + -moz-box-sizing: border-box; /* Older FF */ - + -ms-box-sizing: border-box; /* IE8 */ - + box-sizing: border-box; /* CSS3 spec*/ - + } .input-prepend input[class*="span"], .input-append input[class*="span"] { width: auto; diff --git a/openstack_dashboard/static/dashboard/fonts/Anivers_Regular-webfont.svg b/openstack_dashboard/static/dashboard/fonts/Anivers_Regular-webfont.svg index 25eea8e809..1a849bfbc1 100644 --- a/openstack_dashboard/static/dashboard/fonts/Anivers_Regular-webfont.svg +++ b/openstack_dashboard/static/dashboard/fonts/Anivers_Regular-webfont.svg @@ -241,4 +241,4 @@ This is a custom SVG webfont generated by Fontspring. - \ No newline at end of file + \ No newline at end of file diff --git a/tools/rfc.sh b/tools/rfc.sh index 2e5a262c86..15781e5281 100755 --- a/tools/rfc.sh +++ b/tools/rfc.sh @@ -1,5 +1,5 @@ #!/bin/sh -e -# Copyright (c) 2010-2011 Gluster, Inc. +# Copyright (c) 2010-2011 Gluster, Inc. # This initial version of this file was taken from the source tree # of GlusterFS. It was not directly attributed, but is assumed to be # Copyright (c) 2010-2011 Gluster, Inc and release GPLv3