');
};
diff --git a/wqflask/wqflask/static/new/js_external/chroma.js b/wqflask/wqflask/static/new/js_external/chroma.js
index 0976056b..575e752f 100644
--- a/wqflask/wqflask/static/new/js_external/chroma.js
+++ b/wqflask/wqflask/static/new/js_external/chroma.js
@@ -2,23 +2,23 @@
* @license
*
* chroma.js - JavaScript library for color conversions
- *
+ *
* Copyright (c) 2011-2015, Gregor Aisch
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
- *
+ *
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* 3. The name Gregor Aisch may not be used to endorse or promote products
* derived from this software without specific prior written permission.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -143,23 +143,23 @@
/**
chroma.js
-
+
Copyright (c) 2011-2013, Gregor Aisch
All rights reserved.
-
+
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
-
+
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
-
+
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
-
+
* The name Gregor Aisch may not be used to endorse or promote products
derived from this software without specific prior written permission.
-
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -170,7 +170,7 @@
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
+
@source: https://github.com/gka/chroma.js
*/
@@ -244,20 +244,20 @@
/**
ColorBrewer colors for chroma.js
-
- Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The
+
+ Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The
Pennsylvania State University.
-
- Licensed under the Apache License, Version 2.0 (the "License");
+
+ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
-
+
@preserve
*/
@@ -302,7 +302,7 @@
/**
X11 color names
-
+
http://www.w3.org/TR/css3-color/#svg-color
*/
@@ -653,23 +653,23 @@
/*
chroma.js
-
+
Copyright (c) 2011-2013, Gregor Aisch
All rights reserved.
-
+
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
-
+
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
-
+
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
-
+
* The name Gregor Aisch may not be used to endorse or promote products
derived from this software without specific prior written permission.
-
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -680,7 +680,7 @@
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
+
@source: https://github.com/gka/chroma.js
*/
@@ -1260,7 +1260,7 @@
Convert from a qualitative parameter h and a quantitative parameter l to a 24-bit pixel.
These formulas were invented by David Dalrymple to obtain maximum contrast without going
out of gamut if the parameters are in the range 0-1.
-
+
A saturation multiplier was added by Gregor Aisch
*/
var c, h, l, ref;
diff --git a/wqflask/wqflask/static/new/js_external/shapiro-wilk.js b/wqflask/wqflask/static/new/js_external/shapiro-wilk.js
index 1084b9f5..ddc62b72 100644
--- a/wqflask/wqflask/static/new/js_external/shapiro-wilk.js
+++ b/wqflask/wqflask/static/new/js_external/shapiro-wilk.js
@@ -168,7 +168,7 @@ function ShapiroWilkW(x)
/* Calculate significance level for W */
if (n == 3) {/* exact P value : */
- var pi6 = 1.90985931710274; /* = 6/pi */
+ var pi6 = 1.90985931710274; /* = 6/pi */
var stqr = 1.04719755119660; /* = asin(sqrt(3/4)) */
pw = pi6 * (Math.asin(Math.sqrt(w)) - stqr);
if (pw < 0.)
diff --git a/wqflask/wqflask/static/new/packages/DataTables/extensions/dataTables.colResize.js b/wqflask/wqflask/static/new/packages/DataTables/extensions/dataTables.colResize.js
index 2712750a..08bd7333 100644
--- a/wqflask/wqflask/static/new/packages/DataTables/extensions/dataTables.colResize.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/extensions/dataTables.colResize.js
@@ -433,7 +433,7 @@
//Store the indexes of the columns the mouse is down on
var idx = that.dom.resizeCol[0].cellIndex;
-
+
// the last column has no 'right-side' neighbour
// with fixed this can make the table smaller
if (that.dom.resizeColNeighbour[0] === undefined){
@@ -441,8 +441,8 @@
} else {
var idxNeighbour = that.dom.resizeColNeighbour[0].cellIndex;
}
-
-
+
+
if (idx === undefined) {
return;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/js/dataTables.naturalSort.js b/wqflask/wqflask/static/new/packages/DataTables/js/dataTables.naturalSort.js
index 8b7fa8fd..e96c0af3 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/js/dataTables.naturalSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/js/dataTables.naturalSort.js
@@ -1,5 +1,5 @@
(function() {
-
+
/*
* Natural Sort algorithm for Javascript - Version 0.7 - Released under MIT license
* Author: Jim Palmer (based on chunking idea from Dave Koelle)
@@ -45,7 +45,7 @@ function naturalSort (a, b) {
return 0;
}
-
+
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"natural-asc": function ( a, b ) {
// first check if null or n/a
@@ -55,7 +55,7 @@ jQuery.extend( jQuery.fn.dataTableExt.oSort, {
return naturalSort(a,b);
}
},
-
+
"natural-desc": function ( a, b ) {
if (a == "N/A" || a == "NA" || a == "" || a == "--") return 1;
else if (b == "N/A" || b == "NA" || b == "" || b == "--") return -1;
@@ -64,5 +64,5 @@ jQuery.extend( jQuery.fn.dataTableExt.oSort, {
}
}
} );
-
+
}());
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/DataTables/js/jquery.dataTables.js b/wqflask/wqflask/static/new/packages/DataTables/js/jquery.dataTables.js
index 1364bafc..7bf65d02 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/js/jquery.dataTables.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/js/jquery.dataTables.js
@@ -860,7 +860,7 @@
var i, ien, j, jen, k, ken;
var col, cell, detectedType, cache;
- // For each column, spin over the
+ // For each column, spin over the
for ( i=0, ien=columns.length ; i0 if the first parameter should be sorted height than the second
* parameter.
- *
+ *
* @type object
* @default {}
*
@@ -14367,7 +14367,7 @@
// Filter formatting functions. See model.ext.ofnSearch for information about
// what is required from these methods.
- //
+ //
// Note that additional search methods are added for the html numbers and
// html formatted numbers by `_addNumericSort()` when we know what the decimal
// place is
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/DataTables.js b/wqflask/wqflask/static/new/packages/DataTables/src/DataTables.js
index 111e7db8..461a6e3d 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/DataTables.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/DataTables.js
@@ -12,11 +12,11 @@
* BSD style license, available at:
* http://datatables.net/license_gpl2
* http://datatables.net/license_bsd
- *
- * This source file is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ *
+ * This source file is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
- *
+ *
* For details please refer to: http://www.datatables.net
*/
@@ -43,35 +43,35 @@
}
(/** @lends */function( $ ) {
"use strict";
- /**
- * DataTables is a plug-in for the jQuery Javascript library. It is a
- * highly flexible tool, based upon the foundations of progressive
- * enhancement, which will add advanced interaction controls to any
+ /**
+ * DataTables is a plug-in for the jQuery Javascript library. It is a
+ * highly flexible tool, based upon the foundations of progressive
+ * enhancement, which will add advanced interaction controls to any
* HTML table. For a full list of features please refer to
* DataTables.net.
*
* Note that the DataTable object is not a global variable but is
- * aliased to jQuery.fn.DataTable and jQuery.fn.dataTable through which
+ * aliased to jQuery.fn.DataTable and jQuery.fn.dataTable through which
* it may be accessed.
*
* @class
* @param {object} [oInit={}] Configuration object for DataTables. Options
* are defined by {@link DataTable.defaults}
* @requires jQuery 1.3+
- *
+ *
* @example
* // Basic initialisation
* $(document).ready( function {
* $('#example').dataTable();
* } );
- *
+ *
* @example
* // Initialisation with configuration options - in this case, disable
* // pagination and sorting.
* $(document).ready( function {
* $('#example').dataTable( {
* "bPaginate": false,
- * "bSort": false
+ * "bSort": false
* } );
* } );
*/
@@ -119,8 +119,8 @@
/**
* Private data store, containing all of the settings objects that are created for the
* tables on a given page.
- *
- * Note that the DataTable.settings object is aliased to jQuery.fn.dataTableExt
+ *
+ * Note that the DataTable.settings object is aliased to jQuery.fn.dataTableExt
* through which it may be accessed and manipulated, or jQuery.fn.dataTable.settings.
* @member
* @type array
@@ -131,7 +131,7 @@
/**
* Object models container, for the various models that DataTables has available
- * to it. These models define the objects that are used to hold the active state
+ * to it. These models define the objects that are used to hold the active state
* and configuration of the table.
* @namespace
*/
@@ -146,7 +146,7 @@
/**
* Extension object for DataTables that is used to provide all extension options.
- *
+ *
* Note that the DataTable.ext object is available through
* jQuery.fn.dataTable.ext where it may be accessed and manipulated. It is
* also aliased to jQuery.fn.dataTableExt for historic reasons.
@@ -258,7 +258,7 @@
*/
/**
- * Ajax (XHR) event, fired whenever an Ajax request is completed from a request to
+ * Ajax (XHR) event, fired whenever an Ajax request is completed from a request to
* made to the server for new data (note that this trigger is called in fnServerData,
* if you override fnServerData and which to use this event, you need to trigger it in
* you success function).
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/api/api.internal.js b/wqflask/wqflask/static/new/packages/DataTables/src/api/api.internal.js
index 04a176db..f83605e9 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/api/api.internal.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/api/api.internal.js
@@ -14,7 +14,7 @@
function _fnExternApiFunc (sFunc)
{
return function() {
- var aArgs = [_fnSettingsFromNode(this[DataTable.ext.iApiIndex])].concat(
+ var aArgs = [_fnSettingsFromNode(this[DataTable.ext.iApiIndex])].concat(
Array.prototype.slice.call(arguments) );
return DataTable.ext.oApi[sFunc].apply( this, aArgs );
};
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/api/api.methods.js b/wqflask/wqflask/static/new/packages/DataTables/src/api/api.methods.js
index 55cd85e3..e37cfdb8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/api/api.methods.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/api/api.methods.js
@@ -9,7 +9,7 @@
* Can be either 'current', whereby the current sorting of the table is used, or
* 'original' whereby the original order the data was read into the table is used.
* @param {string} [oOpts.page=all] Limit the selection to the currently displayed page
- * ("current") or not ("all"). If 'current' is given, then order is assumed to be
+ * ("current") or not ("all"). If 'current' is given, then order is assumed to be
* 'current' and filter is 'applied', regardless of what they might be given as.
* @returns {object} jQuery object, filtered by the given selector.
* @dtopt API
@@ -130,7 +130,7 @@ this.$ = function ( sSelector, oOpts )
* Almost identical to $ in operation, but in this case returns the data for the matched
* rows - as such, the jQuery selector used should match TR row nodes or TD/TH cell nodes
* rather than any descendants, so the data can be obtained for the row/cell. If matching
- * rows are found, the data returned is the original data array/object that was used to
+ * rows are found, the data returned is the original data array/object that was used to
* create the row (or a generated array if from a DOM source).
*
* This method is often useful in-combination with $ where both functions are given the
@@ -143,10 +143,10 @@ this.$ = function ( sSelector, oOpts )
* Can be either 'current', whereby the current sorting of the table is used, or
* 'original' whereby the original order the data was read into the table is used.
* @param {string} [oOpts.page=all] Limit the selection to the currently displayed page
- * ("current") or not ("all"). If 'current' is given, then order is assumed to be
+ * ("current") or not ("all"). If 'current' is given, then order is assumed to be
* 'current' and filter is 'applied', regardless of what they might be given as.
* @returns {array} Data for the matched elements. If any elements, as a result of the
- * selector, were not TR, TD or TH elements in the DataTable, they will have a null
+ * selector, were not TR, TD or TH elements in the DataTable, they will have a null
* entry in the array.
* @dtopt API
*
@@ -165,10 +165,10 @@ this.$ = function ( sSelector, oOpts )
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
*
- * // Filter to 'Webkit' and get all data for
+ * // Filter to 'Webkit' and get all data for
* oTable.fnFilter('Webkit');
* var data = oTable._('tr', {"filter": "applied"});
- *
+ *
* // Do something with the data
* alert( data.length+" rows matched the filter" );
* } );
@@ -190,7 +190,7 @@ this._ = function ( sSelector, oOpts )
/**
* Add a single new row or multiple rows of data to the table. Please note
- * that this is suitable for client-side processing only - if you are using
+ * that this is suitable for client-side processing only - if you are using
* server-side processing (i.e. "bServerSide": true), then to add data, you
* must add it to the data source, i.e. the server-side, through an Ajax call.
* @param {array|object} mData The data to be added to the table. This can be:
@@ -201,19 +201,19 @@ this._ = function ( sSelector, oOpts )
*
array of objects - multiple data objects when using mData
*
* @param {bool} [bRedraw=true] redraw the table or not
- * @returns {array} An array of integers, representing the list of indexes in
- * aoData ({@link DataTable.models.oSettings}) that have been added to
+ * @returns {array} An array of integers, representing the list of indexes in
+ * aoData ({@link DataTable.models.oSettings}) that have been added to
* the table.
* @dtopt API
*
* @example
* // Global var for counter
* var giCount = 2;
- *
+ *
* $(document).ready(function() {
* $('#example').dataTable();
* } );
- *
+ *
* function fnClickAddRow() {
* $('#example').dataTable().fnAddData( [
* giCount+".1",
@@ -221,7 +221,7 @@ this._ = function ( sSelector, oOpts )
* giCount+".3",
* giCount+".4" ]
* );
- *
+ *
* giCount++;
* }
*/
@@ -272,9 +272,9 @@ this.fnAddData = function( mData, bRedraw )
/**
- * This function will make DataTables recalculate the column sizes, based on the data
- * contained in the table and the sizes applied to the columns (in the DOM, CSS or
- * through the sWidth parameter). This can be useful when the width of the table's
+ * This function will make DataTables recalculate the column sizes, based on the data
+ * contained in the table and the sizes applied to the columns (in the DOM, CSS or
+ * through the sWidth parameter). This can be useful when the width of the table's
* parent element changes (for example a window resize).
* @param {boolean} [bRedraw=true] Redraw the table or not, you will typically want to
* @dtopt API
@@ -285,7 +285,7 @@ this.fnAddData = function( mData, bRedraw )
* "sScrollY": "200px",
* "bPaginate": false
* } );
- *
+ *
* $(window).bind('resize', function () {
* oTable.fnAdjustColumnSizing();
* } );
@@ -316,7 +316,7 @@ this.fnAdjustColumnSizing = function ( bRedraw )
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
- *
+ *
* // Immediately 'nuke' the current rows (perhaps waiting for an Ajax callback...)
* oTable.fnClearTable();
* } );
@@ -335,7 +335,7 @@ this.fnClearTable = function( bRedraw )
/**
- * The exact opposite of 'opening' a row, this function will close any rows which
+ * The exact opposite of 'opening' a row, this function will close any rows which
* are currently 'open'.
* @param {node} nTr the table row to 'close'
* @returns {int} 0 on success, or 1 if failed (can't find the row)
@@ -344,7 +344,7 @@ this.fnClearTable = function( bRedraw )
* @example
* $(document).ready(function() {
* var oTable;
- *
+ *
* // 'open' an information row when a row is clicked on
* $('#example tbody tr').click( function () {
* if ( oTable.fnIsOpen(this) ) {
@@ -353,7 +353,7 @@ this.fnClearTable = function( bRedraw )
* oTable.fnOpen( this, "Temporary row opened", "info_row" );
* }
* } );
- *
+ *
* oTable = $('#example').dataTable();
* } );
*/
@@ -392,7 +392,7 @@ this.fnClose = function( nTr )
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
- *
+ *
* // Immediately remove the first row
* oTable.fnDeleteRow( 0 );
* } );
@@ -403,7 +403,7 @@ this.fnDeleteRow = function( mTarget, fnCallBack, bRedraw )
var oSettings = _fnSettingsFromNode( this[DataTable.ext.iApiIndex] );
var i, iLen, iAODataIndex;
- iAODataIndex = (typeof mTarget === 'object') ?
+ iAODataIndex = (typeof mTarget === 'object') ?
_fnNodeToDataIndex(oSettings, mTarget) : mTarget;
/* Return the data array from this row */
@@ -453,7 +453,7 @@ this.fnDeleteRow = function( mTarget, fnCallBack, bRedraw )
/**
- * Restore the table to it's original state in the DOM by removing all of DataTables
+ * Restore the table to it's original state in the DOM by removing all of DataTables
* enhancements, alterations to the DOM structure of the table and event listeners.
* @param {boolean} [bRemove=false] Completely remove the table from the DOM
* @dtopt API
@@ -601,7 +601,7 @@ this.fnDestroy = function ( bRemove )
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
- *
+ *
* // Re-draw the table - you wouldn't want to do it here, but it's an example :-)
* oTable.fnDraw();
* } );
@@ -634,7 +634,7 @@ this.fnDraw = function( bComplete )
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
- *
+ *
* // Sometime later - filter...
* oTable.fnFilter( 'test string' );
* } );
@@ -712,7 +712,7 @@ this.fnFilter = function( sInput, iColumn, bRegex, bSmart, bShowGlobal, bCaseIns
/**
- * Get the data for the whole table, an individual row or an individual cell based on the
+ * Get the data for the whole table, an individual row or an individual cell based on the
* provided parameters.
* @param {int|node} [mRow] A TR row node, TD/TH cell node or an integer. If given as
* a TR node then the data source for the whole row will be returned. If given as a
@@ -780,8 +780,8 @@ this.fnGetData = function( mRow, iCol )
/**
- * Get an array of the TR nodes that are used in the table's body. Note that you will
- * typically want to use the '$' API method in preference to this as it is more
+ * Get an array of the TR nodes that are used in the table's body. Note that you will
+ * typically want to use the '$' API method in preference to this as it is more
* flexible.
* @param {int} [iRow] Optional row index for the TR element you want
* @returns {array|node} If iRow is undefined, returns an array of all TR elements
@@ -791,7 +791,7 @@ this.fnGetData = function( mRow, iCol )
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
- *
+ *
* // Get the nodes from the table
* var nNodes = oTable.fnGetNodes( );
* } );
@@ -813,7 +813,7 @@ this.fnGetNodes = function( iRow )
* and column index including hidden columns
* @param {node} nNode this can either be a TR, TD or TH in the table's body
* @returns {int} If nNode is given as a TR, then a single index is returned, or
- * if given as a cell, an array of [row index, column index (visible),
+ * if given as a cell, an array of [row index, column index (visible),
* column index (all)] is given.
* @dtopt API
*
@@ -822,15 +822,15 @@ this.fnGetNodes = function( iRow )
* $('#example tbody td').click( function () {
* // Get the position of the current data from the node
* var aPos = oTable.fnGetPosition( this );
- *
+ *
* // Get the data array for this row
* var aData = oTable.fnGetData( aPos[0] );
- *
+ *
* // Update the data array and return the value
* aData[ aPos[1] ] = 'clicked';
* this.innerHTML = 'clicked';
* } );
- *
+ *
* // Init DataTables
* oTable = $('#example').dataTable();
* } );
@@ -863,7 +863,7 @@ this.fnGetPosition = function( nNode )
* @example
* $(document).ready(function() {
* var oTable;
- *
+ *
* // 'open' an information row when a row is clicked on
* $('#example tbody tr').click( function () {
* if ( oTable.fnIsOpen(this) ) {
@@ -872,7 +872,7 @@ this.fnGetPosition = function( nNode )
* oTable.fnOpen( this, "Temporary row opened", "info_row" );
* }
* } );
- *
+ *
* oTable = $('#example').dataTable();
* } );
*/
@@ -893,9 +893,9 @@ this.fnIsOpen = function( nTr )
/**
- * This function will place a new row directly after a row which is currently
- * on display on the page, with the HTML contents that is passed into the
- * function. This can be used, for example, to ask for confirmation that a
+ * This function will place a new row directly after a row which is currently
+ * on display on the page, with the HTML contents that is passed into the
+ * function. This can be used, for example, to ask for confirmation that a
* particular record should be deleted.
* @param {node} nTr The table row to 'open'
* @param {string|node|jQuery} mHtml The HTML to put into the row
@@ -908,7 +908,7 @@ this.fnIsOpen = function( nTr )
* @example
* $(document).ready(function() {
* var oTable;
- *
+ *
* // 'open' an information row when a row is clicked on
* $('#example tbody tr').click( function () {
* if ( oTable.fnIsOpen(this) ) {
@@ -917,7 +917,7 @@ this.fnIsOpen = function( nTr )
* oTable.fnOpen( this, "Temporary row opened", "info_row" );
* }
* } );
- *
+ *
* oTable = $('#example').dataTable();
* } );
*/
@@ -968,8 +968,8 @@ this.fnOpen = function( nTr, mHtml, sClass )
/**
- * Change the pagination - provides the internal logic for pagination in a simple API
- * function. With this function you can have a DataTables table go to the next,
+ * Change the pagination - provides the internal logic for pagination in a simple API
+ * function. With this function you can have a DataTables table go to the next,
* previous, first or last pages.
* @param {string|int} mAction Paging action to take: "first", "previous", "next" or "last"
* or page number to jump to (integer), note that page 0 is the first page.
@@ -1005,7 +1005,7 @@ this.fnPageChange = function ( mAction, bRedraw )
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
- *
+ *
* // Hide the second column after initialisation
* oTable.fnSetColumnVis( 1, false );
* } );
@@ -1058,14 +1058,14 @@ this.fnSetColumnVis = function ( iCol, bShow, bRedraw )
{
if ( bAppend )
{
- aoData[i].nTr.appendChild(
+ aoData[i].nTr.appendChild(
aoData[i]._anHidden[iCol]
);
}
else
{
aoData[i].nTr.insertBefore(
- aoData[i]._anHidden[iCol],
+ aoData[i]._anHidden[iCol],
_fnGetTdNodes( oSettings, i )[iBefore] );
}
}
@@ -1101,8 +1101,8 @@ this.fnSetColumnVis = function ( iCol, bShow, bRedraw )
oSettings.aoOpenRows[i].nTr.colSpan = _fnVisbleColumns( oSettings );
}
- /* Do a redraw incase anything depending on the table columns needs it
- * (built-in: scrolling)
+ /* Do a redraw incase anything depending on the table columns needs it
+ * (built-in: scrolling)
*/
if ( bRedraw === undefined || bRedraw )
{
@@ -1116,7 +1116,7 @@ this.fnSetColumnVis = function ( iCol, bShow, bRedraw )
/**
* Get the settings for a particular table for external manipulation
- * @returns {object} DataTables settings object. See
+ * @returns {object} DataTables settings object. See
* {@link DataTable.models.oSettings}
* @dtopt API
*
@@ -1124,7 +1124,7 @@ this.fnSetColumnVis = function ( iCol, bShow, bRedraw )
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
* var oSettings = oTable.fnSettings();
- *
+ *
* // Show an example parameter from the settings
* alert( oSettings._iDisplayStart );
* } );
@@ -1137,14 +1137,14 @@ this.fnSettings = function()
/**
* Sort the table by a particular column
- * @param {int} iCol the data index to sort on. Note that this will not match the
+ * @param {int} iCol the data index to sort on. Note that this will not match the
* 'display index' if you have hidden data entries
* @dtopt API
*
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
- *
+ *
* // Sort immediately with columns 0 and 1
* oTable.fnSort( [ [0,'asc'], [1,'asc'] ] );
* } );
@@ -1167,7 +1167,7 @@ this.fnSort = function( aaSort )
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
- *
+ *
* // Sort on column 1, when 'sorter' is clicked on
* oTable.fnSortListener( document.getElementById('sorter'), 1 );
* } );
@@ -1203,7 +1203,7 @@ this.fnUpdate = function( mData, mRow, iColumn, bRedraw, bAction )
{
var oSettings = _fnSettingsFromNode( this[DataTable.ext.iApiIndex] );
var i, iLen, sDisplay;
- var iRow = (typeof mRow === 'object') ?
+ var iRow = (typeof mRow === 'object') ?
_fnNodeToDataIndex(oSettings, mRow) : mRow;
if ( $.isArray(mData) && iColumn === undefined )
@@ -1255,7 +1255,7 @@ this.fnUpdate = function( mData, mRow, iColumn, bRedraw, bAction )
*/
var iDisplayIndex = $.inArray( iRow, oSettings.aiDisplay );
oSettings.asDataSearch[iDisplayIndex] = _fnBuildSearchRow(
- oSettings,
+ oSettings,
_fnGetRowData( oSettings, iRow, 'filter', _fnGetColumns( oSettings, 'bSearchable' ) )
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/api/api.static.js b/wqflask/wqflask/static/new/packages/DataTables/src/api/api.static.js
index 5000dce4..d344ed7e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/api/api.static.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/api/api.static.js
@@ -70,7 +70,7 @@ DataTable.fnIsDataTable = function ( nTable )
/**
* Get all DataTable tables that have been initialised - optionally you can select to
* get only currently visible tables.
- * @param {boolean} [bVisible=false] Flag to indicate if you want all (default) or
+ * @param {boolean} [bVisible=false] Flag to indicate if you want all (default) or
* visible tables only.
* @returns {array} Array of TABLE nodes (not DataTable instances) which are DataTables
* @static
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.columns.js b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.columns.js
index b39e6198..8fe3e712 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.columns.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.columns.js
@@ -137,7 +137,7 @@ function _fnColumnOptions( oSettings, iCol, oOptions )
/**
- * Adjust the table column widths for new data. Note: you would probably want to
+ * Adjust the table column widths for new data. Note: you would probably want to
* do a redraw after calling this function!
* @param {object} oSettings dataTables settings object
* @memberof DataTable#oApi
@@ -208,7 +208,7 @@ function _fnVisbleColumns( oSettings )
/**
* Get an array of column indexes that match a given property
* @param {object} oSettings dataTables settings object
- * @param {string} sParam Parameter in aoColumns to look for - typically
+ * @param {string} sParam Parameter in aoColumns to look for - typically
* bVisible or bSearchable
* @returns {array} Array of indexes with matched properties
* @memberof DataTable#oApi
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.constructor.js b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.constructor.js
index 8af48d54..7abc5289 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.constructor.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.constructor.js
@@ -155,8 +155,8 @@ else if ( oSettings.oFeatures.bDeferRender )
if ( oInit.bJQueryUI )
{
- /* Use the JUI classes object for display. You could clone the oStdClasses object if
- * you want to have multiple tables with multiple independent classes
+ /* Use the JUI classes object for display. You could clone the oStdClasses object if
+ * you want to have multiple tables with multiple independent classes
*/
$.extend( oSettings.oClasses, DataTable.ext.oJUIClasses );
@@ -210,7 +210,7 @@ if ( oInit.aaData !== null )
if ( oInit.oLanguage.sUrl !== "" )
{
/* Get the language definitions from a file - because this Ajax call makes the language
- * get async to the remainder of this function we use bInitHandedOff to indicate that
+ * get async to the remainder of this function we use bInitHandedOff to indicate that
* _fnInitialise will be fired by the returned Ajax handler, rather than the constructor
*/
oSettings.oLanguage.sUrl = oInit.oLanguage.sUrl;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.data.js b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.data.js
index 7fce2383..14b87d9f 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.data.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.data.js
@@ -1,5 +1,5 @@
/**
- * Add a data array to the table, creating DOM node etc. This is the parallel to
+ * Add a data array to the table, creating DOM node etc. This is the parallel to
* _fnGatherData, but for adding rows from a Javascript source, rather than a
* DOM source.
* @param {object} oSettings dataTables settings object
@@ -177,7 +177,7 @@ function _fnGatherData( oSettings )
{
oCol.sType = sThisType;
}
- else if ( oCol.sType != sThisType &&
+ else if ( oCol.sType != sThisType &&
oCol.sType != "html" )
{
/* String is always the 'fallback' option */
@@ -396,7 +396,7 @@ function _fnGetObjectDataFn( mSource )
}
else if ( typeof mSource === 'string' && (mSource.indexOf('.') !== -1 || mSource.indexOf('[') !== -1) )
{
- /* If there is a . in the source string then the data source is in a
+ /* If there is a . in the source string then the data source is in a
* nested object so we loop over the data for each level to get the next
* level down. On each loop we test for undefined, and if found immediately
* return. This allows entire objects to be missing and sDefaultContent to
@@ -582,7 +582,7 @@ function _fnClearTable( oSettings )
/**
- * Take an array of integers (index array) and remove a target integer (value - not
+ * Take an array of integers (index array) and remove a target integer (value - not
* the key!)
* @param {array} a Index array to target
* @param {int} iTarget value to find
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.draw.js b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.draw.js
index 04ee2a5d..47cc0ce3 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.draw.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.draw.js
@@ -196,13 +196,13 @@ function _fnBuildHead( oSettings )
* Draw the header (or footer) element based on the column visibility states. The
* methodology here is to use the layout array from _fnDetectHeader, modified for
* the instantaneous column visibility, to construct the new layout. The grid is
- * traversed over cell at a time in a rows x columns grid fashion, although each
+ * traversed over cell at a time in a rows x columns grid fashion, although each
* cell insert can cover multiple elements in the grid - which is tracks using the
* aApplied array. Cell inserts in the grid will only occur where there isn't
* already a cell in that position.
* @param {object} oSettings dataTables settings object
* @param array {objects} aoSource Layout array from _fnDetectHeader
- * @param {boolean} [bIncludeHidden=false] If true then include the hidden columns in the calc,
+ * @param {boolean} [bIncludeHidden=false] If true then include the hidden columns in the calc,
* @memberof DataTable#oApi
*/
function _fnDrawHead( oSettings, aoSource, bIncludeHidden )
@@ -379,7 +379,7 @@ function _fnDraw( oSettings )
}
/* Row callback functions - might want to manipulate the row */
- _fnCallbackFire( oSettings, 'aoRowCallback', null,
+ _fnCallbackFire( oSettings, 'aoRowCallback', null,
[nRow, oSettings.aoData[ oSettings.aiDisplay[j] ]._aData, iRowCount, j] );
anRows.push( nRow );
@@ -430,15 +430,15 @@ function _fnDraw( oSettings )
}
/* Header and footer callbacks */
- _fnCallbackFire( oSettings, 'aoHeaderCallback', 'header', [ $(oSettings.nTHead).children('tr')[0],
+ _fnCallbackFire( oSettings, 'aoHeaderCallback', 'header', [ $(oSettings.nTHead).children('tr')[0],
_fnGetDataMaster( oSettings ), oSettings._iDisplayStart, oSettings.fnDisplayEnd(), oSettings.aiDisplay ] );
- _fnCallbackFire( oSettings, 'aoFooterCallback', 'footer', [ $(oSettings.nTFoot).children('tr')[0],
+ _fnCallbackFire( oSettings, 'aoFooterCallback', 'footer', [ $(oSettings.nTFoot).children('tr')[0],
_fnGetDataMaster( oSettings ), oSettings._iDisplayStart, oSettings.fnDisplayEnd(), oSettings.aiDisplay ] );
- /*
+ /*
* Need to remove any old row from the display - note we can't just empty the tbody using
- * $().html('') since this will unbind the jQuery event handlers (even although the node
+ * $().html('') since this will unbind the jQuery event handlers (even although the node
* still exists!) - equally we can't use innerHTML, since IE throws an exception.
*/
var
@@ -534,7 +534,7 @@ function _fnAddOptionsHtml ( oSettings )
var nHolding = $('')[0];
oSettings.nTable.parentNode.insertBefore( nHolding, oSettings.nTable );
- /*
+ /*
* All DataTables are wrapped in a div
*/
oSettings.nTableWrapper = $('')[0];
@@ -727,7 +727,7 @@ function _fnDetectHeader ( aLayout, nThead )
iColspan = (!iColspan || iColspan===0 || iColspan===1) ? 1 : iColspan;
iRowspan = (!iRowspan || iRowspan===0 || iRowspan===1) ? 1 : iRowspan;
- /* There might be colspan cells already in this row, so shift our target
+ /* There might be colspan cells already in this row, so shift our target
* accordingly
*/
iColShifted = fnShiftCol( aLayout, i, iColumn );
@@ -779,7 +779,7 @@ function _fnGetUniqueThs ( oSettings, nHeader, aLayout )
{
for ( var j=0, jLen=aLayout[i].length ; j
+ if ( $(this).scrollTop() + $(this).height() >
$(oSettings.nTable).height() - oSettings.oScroll.iLoadGap )
{
/* Only do the redraw if we have to - we might be at the end of the data */
@@ -270,7 +270,7 @@ function _fnScrollDraw ( o )
* the scrollbar - which is shouldn't. When there is a scrollbar we need to take this
* into account.
*/
- if ( ie67 && ($('tbody', nScrollBody).height() > nScrollBody.offsetHeight ||
+ if ( ie67 && ($('tbody', nScrollBody).height() > nScrollBody.offsetHeight ||
$(nScrollBody).css('overflow-y') == "scroll") )
{
o.nTable.style.width = _fnStringToCss( $(o.nTable).outerWidth() - o.oScroll.iBarWidth);
@@ -311,16 +311,16 @@ function _fnScrollDraw ( o )
* set the width based on the real headers
*/
- // Apply all styles in one pass. Invalidates layout only once because we don't read any
+ // Apply all styles in one pass. Invalidates layout only once because we don't read any
// DOM properties.
_fnApplyToChildren( zeroOut, anHeadSizers );
-
- // Read all widths in next pass. Forces layout only once because we do not change
+
+ // Read all widths in next pass. Forces layout only once because we do not change
// any DOM properties.
_fnApplyToChildren( function(nSizer) {
aApplied.push( _fnStringToCss( $(nSizer).width() ) );
}, anHeadSizers );
-
+
// Apply all widths in final pass. Invalidates layout only once because we do not
// read any DOM properties.
_fnApplyToChildren( function(nToSize, i) {
@@ -333,11 +333,11 @@ function _fnScrollDraw ( o )
if ( o.nTFoot !== null )
{
_fnApplyToChildren( zeroOut, anFootSizers );
-
+
_fnApplyToChildren( function(nSizer) {
aAppliedFooter.push( _fnStringToCss( $(nSizer).width() ) );
}, anFootSizers );
-
+
_fnApplyToChildren( function(nToSize, i) {
nToSize.style.width = aAppliedFooter[i];
}, anFootToSize );
@@ -371,12 +371,12 @@ function _fnScrollDraw ( o )
if ( $(o.nTable).outerWidth() < iSanityWidth )
{
/* The min width depends upon if we have a vertical scrollbar visible or not */
- var iCorrection = ((nScrollBody.scrollHeight > nScrollBody.offsetHeight ||
+ var iCorrection = ((nScrollBody.scrollHeight > nScrollBody.offsetHeight ||
$(nScrollBody).css('overflow-y') == "scroll")) ?
iSanityWidth+o.oScroll.iBarWidth : iSanityWidth;
/* IE6/7 are a law unto themselves... */
- if ( ie67 && (nScrollBody.scrollHeight >
+ if ( ie67 && (nScrollBody.scrollHeight >
nScrollBody.offsetHeight || $(nScrollBody).css('overflow-y') == "scroll") )
{
o.nTable.style.width = _fnStringToCss( iCorrection-o.oScroll.iBarWidth );
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.sizing.js b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.sizing.js
index 9632ca26..86e5f492 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.sizing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.sizing.js
@@ -55,7 +55,7 @@ function _fnCalculateColumnWidths ( oSettings )
if ( oSettings.aoColumns[i].sWidth !== null )
{
- iTmpWidth = _fnConvertToWidth( oSettings.aoColumns[i].sWidthOrig,
+ iTmpWidth = _fnConvertToWidth( oSettings.aoColumns[i].sWidthOrig,
nWrapper );
if ( iTmpWidth !== null )
{
@@ -67,8 +67,8 @@ function _fnCalculateColumnWidths ( oSettings )
}
}
- /* If the number of columns in the DOM equals the number that we have to process in
- * DataTables, then we can use the offsets that are created by the web-browser. No custom
+ /* If the number of columns in the DOM equals the number that we have to process in
+ * DataTables, then we can use the offsets that are created by the web-browser. No custom
* sizes can be set in order for this to happen, nor scrolling used
*/
if ( iColums == oHeaders.length && iUserInputs === 0 && iVisibleColumns == iColums &&
@@ -197,7 +197,7 @@ function _fnCalculateColumnWidths ( oSettings )
oNodes = _fnGetUniqueThs( oSettings, $('thead', nCalcTmp)[0] );
}
- /* Browsers need a bit of a hand when a width is assigned to any columns when
+ /* Browsers need a bit of a hand when a width is assigned to any columns when
* x-scrolling as they tend to collapse the table to the min-width, even if
* we sent the column widths. So we need to keep track of what the table width
* should be by summing the user given values, and the automatic values
@@ -369,7 +369,7 @@ function _fnStringToCss( s )
* @memberof DataTable#oApi
*/
function _fnScrollBarWidth ()
-{
+{
var inner = document.createElement('p');
var style = inner.style;
style.width = "100%";
@@ -398,6 +398,6 @@ function _fnScrollBarWidth ()
}
document.body.removeChild(outer);
- return (w1 - w2);
+ return (w1 - w2);
}
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.sort.js b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.sort.js
index c1102a4e..5d168a5e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.sort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.sort.js
@@ -17,7 +17,7 @@ function _fnSort ( oSettings, bApplyClasses )
oAria = oSettings.oLanguage.oAria;
/* No sorting required if server-side or no sorting array */
- if ( !oSettings.oFeatures.bServerSide &&
+ if ( !oSettings.oFeatures.bServerSide &&
(oSettings.aaSorting.length !== 0 || oSettings.aaSortingFixed !== null) )
{
aaSort = ( oSettings.aaSortingFixed !== null ) ?
@@ -34,7 +34,7 @@ function _fnSort ( oSettings, bApplyClasses )
sDataType = oSettings.aoColumns[ iColumn ].sSortDataType;
if ( DataTable.ext.afnSortData[sDataType] )
{
- var aData = DataTable.ext.afnSortData[sDataType].call(
+ var aData = DataTable.ext.afnSortData[sDataType].call(
oSettings.oInstance, oSettings, iColumn, iVisColumn
);
if ( aData.length === aoData.length )
@@ -97,7 +97,7 @@ function _fnSort ( oSettings, bApplyClasses )
* return oSort['numeric-asc']( aiOrig[a], aiOrig[b] );
* }
* Basically we have a test for each sorting column, if the data in that column is equal,
- * test the next column. If all columns match, then we use a numeric sort on the row
+ * test the next column. If all columns match, then we use a numeric sort on the row
* positions in the original data array to provide a stable sort.
*/
oSettings.aiDisplayMaster.sort( function ( a, b ) {
@@ -146,7 +146,7 @@ function _fnSort ( oSettings, bApplyClasses )
{
nTh.setAttribute('aria-sort', aaSort[0][1]=="asc" ? "ascending" : "descending" );
- var nextSort = (aoColumns[i].asSorting[ aaSort[0][2]+1 ]) ?
+ var nextSort = (aoColumns[i].asSorting[ aaSort[0][2]+1 ]) ?
aoColumns[i].asSorting[ aaSort[0][2]+1 ] : aoColumns[i].asSorting[0];
nTh.setAttribute('aria-label', sTitle+
(nextSort=="asc" ? oAria.sSortAscending : oAria.sSortDescending) );
@@ -202,14 +202,14 @@ function _fnSortAttachListener ( oSettings, nNode, iDataIndex, fnCallback )
/*
* This is a little bit odd I admit... I declare a temporary function inside the scope of
- * _fnBuildHead and the click handler in order that the code presented here can be used
- * twice - once for when bProcessing is enabled, and another time for when it is
+ * _fnBuildHead and the click handler in order that the code presented here can be used
+ * twice - once for when bProcessing is enabled, and another time for when it is
* disabled, as we need to perform slightly different actions.
- * Basically the issue here is that the Javascript engine in modern browsers don't
+ * Basically the issue here is that the Javascript engine in modern browsers don't
* appear to allow the rendering engine to update the display while it is still executing
- * it's thread (well - it does but only after long intervals). This means that the
+ * it's thread (well - it does but only after long intervals). This means that the
* 'processing' display doesn't appear for a table sort. To break the js thread up a bit
- * I force an execution break by using setTimeout - but this breaks the expected
+ * I force an execution break by using setTimeout - but this breaks the expected
* thread continuation for the end-developer's point of view (their code would execute
* too early), so we only do it when we absolutely have to.
*/
@@ -247,7 +247,7 @@ function _fnSortAttachListener ( oSettings, nNode, iDataIndex, fnCallback )
/* No sort yet - add it in */
if ( bFound === false )
{
- oSettings.aaSorting.push( [ iDataIndex,
+ oSettings.aaSorting.push( [ iDataIndex,
oSettings.aoColumns[iDataIndex].asSorting[0], 0 ] );
}
}
@@ -268,7 +268,7 @@ function _fnSortAttachListener ( oSettings, nNode, iDataIndex, fnCallback )
else
{
oSettings.aaSorting.splice( 0, oSettings.aaSorting.length );
- oSettings.aaSorting.push( [ iDataIndex,
+ oSettings.aaSorting.push( [ iDataIndex,
oSettings.aoColumns[iDataIndex].asSorting[0], 0 ] );
}
}
@@ -303,7 +303,7 @@ function _fnSortAttachListener ( oSettings, nNode, iDataIndex, fnCallback )
/**
- * Set the sorting classes on the header, Note: it is safe to call this function
+ * Set the sorting classes on the header, Note: it is safe to call this function
* when bSort and bSortClasses are false
* @param {object} oSettings dataTables settings object
* @memberof DataTable#oApi
@@ -356,7 +356,7 @@ function _fnSortingClasses( oSettings )
{
/* jQuery UI uses extra markup */
var jqSpan = $("span."+oClasses.sSortIcon, oSettings.aoColumns[i].nTh);
- jqSpan.removeClass(oClasses.sSortJUIAsc +" "+ oClasses.sSortJUIDesc +" "+
+ jqSpan.removeClass(oClasses.sSortJUIAsc +" "+ oClasses.sSortJUIDesc +" "+
oClasses.sSortJUI +" "+ oClasses.sSortJUIAscAllowed +" "+ oClasses.sSortJUIDescAllowed );
var sSpanClass;
@@ -385,11 +385,11 @@ function _fnSortingClasses( oSettings )
}
}
- /*
+ /*
* Apply the required classes to the table body
* Note that this is given as a feature switch since it can significantly slow down a sort
* on large data sets (adding and removing of classes is always slow at the best of times..)
- * Further to this, note that this code is admittedly fairly ugly. It could be made a lot
+ * Further to this, note that this code is admittedly fairly ugly. It could be made a lot
* simpler using jQuery selectors and add/removeClass, but that is significantly slower
* (on the order of 5 times slower) - hence the direct DOM manipulation here.
* Note that for deferred drawing we do use jQuery - the reason being that taking the first
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.state.js b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.state.js
index 300b7d47..f99f0437 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.state.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.state.js
@@ -108,7 +108,7 @@ function _fnCreateCookie ( sName, sValue, iSecs, sBaseName, fnCallback )
var date = new Date();
date.setTime( date.getTime()+(iSecs*1000) );
- /*
+ /*
* Shocking but true - it would appear IE has major issues with having the path not having
* a trailing slash on it. We need the cookie to be available based on the path, so we
* have to append the file name to the cookie name. Appalling. Thanks to vex for adding the
@@ -120,7 +120,7 @@ function _fnCreateCookie ( sName, sValue, iSecs, sBaseName, fnCallback )
if ( fnCallback !== null )
{
- oData = (typeof $.parseJSON === 'function') ?
+ oData = (typeof $.parseJSON === 'function') ?
$.parseJSON( sValue ) : eval( '('+sValue+')' );
sFullCookie = fnCallback( sNameFile, oData, date.toGMTString(),
aParts.join('/')+"/" );
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.support.js b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.support.js
index dd5ad4c9..a3405607 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/core/core.support.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/core/core.support.js
@@ -43,7 +43,7 @@ function _fnGetTrNodes ( oSettings )
/**
* Return an flat array with all TD nodes for the table, or row
* @param {object} oSettings dataTables settings object
- * @param {int} [iIndividualRow] aoData index to get the nodes for - optional
+ * @param {int} [iIndividualRow] aoData index to get the nodes for - optional
* if not given then the return array will contain all nodes for the table
* @returns {array} TD array
* @memberof DataTable#oApi
@@ -270,7 +270,7 @@ function _fnCallbackFire( oSettings, sStore, sTrigger, aArgs )
/**
* JSON stringify. If JSON.stringify it provided by the browser, json2.js or any other
- * library, then we use that as it is fast, safe and accurate. If the function isn't
+ * library, then we use that as it is fast, safe and accurate. If the function isn't
* available then we need to built it ourselves - the inspiration for this function comes
* from Craig Buckler ( http://www.sitepoint.com/javascript-json-serialization/ ). It is
* not perfect and absolutely should not be used as a replacement to json2.js - but it does
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.paging.js b/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.paging.js
index 4183646a..10f5e6e8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.paging.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.paging.js
@@ -1,6 +1,6 @@
/*
* Variable: oPagination
- * Purpose:
+ * Purpose:
* Scope: jQuery.fn.dataTableExt
*/
$.extend( DataTable.ext.oPagination, {
@@ -83,7 +83,7 @@ $.extend( DataTable.ext.oPagination, {
/* Previous page */
nNode.className = ( oSettings._iDisplayStart === 0 ) ?
oClasses.sPagePrevDisabled : oClasses.sPagePrevEnabled;
-
+
/* Next page */
nNode = nNode.nextSibling;
nNode.className = ( oSettings.fnDisplayEnd() == oSettings.fnRecordsDisplay() ) ?
@@ -241,12 +241,12 @@ $.extend( DataTable.ext.oPagination, {
/* Update the permanent button's classes */
anButtons = nNode.getElementsByTagName('a');
anStatic = [
- anButtons[0], anButtons[1],
+ anButtons[0], anButtons[1],
anButtons[anButtons.length-2], anButtons[anButtons.length-1]
];
$(anStatic).removeClass( oClasses.sPageButton+" "+oClasses.sPageButtonActive+" "+oClasses.sPageButtonStaticDisabled );
- $([anStatic[0], anStatic[1]]).addClass(
+ $([anStatic[0], anStatic[1]]).addClass(
(iCurrentPage==1) ?
oClasses.sPageButtonStaticDisabled :
oClasses.sPageButton
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.types.js b/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.types.js
index ffd4e143..1d67ccc3 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.types.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/ext/ext.types.js
@@ -25,17 +25,17 @@ $.extend( DataTable.ext.aTypes, [
var bDecimal = false;
/* Check for a valid first char (no period and allow negatives) */
- Char = sData.charAt(0);
- if (sValidFirstChars.indexOf(Char) == -1)
+ Char = sData.charAt(0);
+ if (sValidFirstChars.indexOf(Char) == -1)
{
return null;
}
/* Check all the other characters are valid */
- for ( var i=1 ; iDeprecated When using fnRender, you have two options for what
- * to do with the data, and this property serves as the switch. Firstly, you
- * can have the sorting and filtering use the rendered value (true - default),
+ * Deprecated When using fnRender, you have two options for what
+ * to do with the data, and this property serves as the switch. Firstly, you
+ * can have the sorting and filtering use the rendered value (true - default),
* or you can have the sorting and filtering us the original value (false).
*
* Please note that this option has now been deprecated and will be removed
@@ -94,12 +94,12 @@ DataTable.models.oColumn = {
* Function to get data from a cell in a column. You should never
* access data directly through _aData internally in DataTables - always use
* the method attached to this property. It allows mData to function as
- * required. This function is automatically assigned by the column
+ * required. This function is automatically assigned by the column
* initialisation method
* @type function
- * @param {array|object} oData The data array/object for the array
+ * @param {array|object} oData The data array/object for the array
* (i.e. aoData[]._aData)
- * @param {string} sSpecific The specific data type you want to get -
+ * @param {string} sSpecific The specific data type you want to get -
* 'display', 'type' 'filter' 'sort'
* @returns {*} The data for the cell from the given row's data
* @default null
@@ -107,7 +107,7 @@ DataTable.models.oColumn = {
"fnGetData": null,
/**
- * Deprecated Custom display function that will be called for the
+ * Deprecated Custom display function that will be called for the
* display of each cell in this column.
*
* Please note that this option has now been deprecated and will be removed
@@ -126,12 +126,12 @@ DataTable.models.oColumn = {
"fnRender": null,
/**
- * Function to set data for a cell in the column. You should never
+ * Function to set data for a cell in the column. You should never
* set the data directly to _aData internally in DataTables - always use
* this method. It allows mData to function as required. This function
* is automatically assigned by the column initialisation method
* @type function
- * @param {array|object} oData The data array/object for the array
+ * @param {array|object} oData The data array/object for the array
* (i.e. aoData[]._aData)
* @param {*} sValue Value to set
* @default null
@@ -139,7 +139,7 @@ DataTable.models.oColumn = {
"fnSetData": null,
/**
- * Property to read the value for the cells in the column from the data
+ * Property to read the value for the cells in the column from the data
* source array / object. If null, then the default content is used, if a
* function is given then the return from the function is used.
* @type function|int|string|null
@@ -166,8 +166,8 @@ DataTable.models.oColumn = {
"nTh": null,
/**
- * Unique footer TH/TD element for this column (if there is one). Not used
- * in DataTables as such, but can be used for plug-ins to reference the
+ * Unique footer TH/TD element for this column (if there is one). Not used
+ * in DataTables as such, but can be used for plug-ins to reference the
* footer for each column.
* @type node
* @default null
@@ -185,7 +185,7 @@ DataTable.models.oColumn = {
* When DataTables calculates the column widths to assign to each column,
* it finds the longest string in each column and then constructs a
* temporary table and reads the widths from that. The problem with this
- * is that "mmm" is much wider then "iiii", but the latter is a longer
+ * is that "mmm" is much wider then "iiii", but the latter is a longer
* string - thus the calculation can go wrong (doing it properly and putting
* it into an DOM object and measuring that is horribly(!) slow). Thus as
* a "work around" we provide this option. It will append its value to the
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.columns.js b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.columns.js
index 9387fe2c..8d56d0e7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.columns.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.columns.js
@@ -6,13 +6,13 @@
*/
DataTable.defaults.columns = {
/**
- * Allows a column's sorting to take multiple columns into account when
- * doing a sort. For example first name / last name columns make sense to
+ * Allows a column's sorting to take multiple columns into account when
+ * doing a sort. For example first name / last name columns make sense to
* do a multi-column sort over the two columns.
* @type array
* @default null Takes the value of the column index automatically
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
@@ -24,7 +24,7 @@ DataTable.defaults.columns = {
* ]
* } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
@@ -49,7 +49,7 @@ DataTable.defaults.columns = {
* @type array
* @default [ 'asc', 'desc' ]
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
@@ -61,7 +61,7 @@ DataTable.defaults.columns = {
* ]
* } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
@@ -84,21 +84,21 @@ DataTable.defaults.columns = {
* @type boolean
* @default true
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumnDefs": [
+ * "aoColumnDefs": [
* { "bSearchable": false, "aTargets": [ 0 ] }
* ] } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumns": [
+ * "aoColumns": [
* { "bSearchable": false },
* null,
* null,
@@ -115,21 +115,21 @@ DataTable.defaults.columns = {
* @type boolean
* @default true
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumnDefs": [
+ * "aoColumnDefs": [
* { "bSortable": false, "aTargets": [ 0 ] }
* ] } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumns": [
+ * "aoColumns": [
* { "bSortable": false },
* null,
* null,
@@ -142,11 +142,11 @@ DataTable.defaults.columns = {
/**
- * Deprecated When using fnRender() for a column, you may wish
- * to use the original data (before rendering) for sorting and filtering
- * (the default is to used the rendered data that the user can see). This
+ * Deprecated When using fnRender() for a column, you may wish
+ * to use the original data (before rendering) for sorting and filtering
+ * (the default is to used the rendered data that the user can see). This
* may be useful for dates etc.
- *
+ *
* Please note that this option has now been deprecated and will be removed
* in the next version of DataTables. Please use mRender / mData rather than
* fnRender.
@@ -163,21 +163,21 @@ DataTable.defaults.columns = {
* @type boolean
* @default true
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumnDefs": [
+ * "aoColumnDefs": [
* { "bVisible": false, "aTargets": [ 0 ] }
* ] } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumns": [
+ * "aoColumns": [
* { "bVisible": false },
* null,
* null,
@@ -201,7 +201,7 @@ DataTable.defaults.columns = {
* @param {int} iRow The row index for the aoData data store
* @param {int} iCol The column index for aoColumns
* @dtopt Columns
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -220,7 +220,7 @@ DataTable.defaults.columns = {
/**
- * Deprecated Custom display function that will be called for the
+ * Deprecated Custom display function that will be called for the
* display of each cell in this column.
*
* Please note that this option has now been deprecated and will be removed
@@ -248,22 +248,22 @@ DataTable.defaults.columns = {
* @type int
* @default -1 Use automatically calculated column index
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumnDefs": [
+ * "aoColumnDefs": [
* { "iDataSort": 1, "aTargets": [ 0 ] }
* ]
* } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumns": [
+ * "aoColumns": [
* { "iDataSort": 1 },
* null,
* null,
@@ -297,15 +297,15 @@ DataTable.defaults.columns = {
* data source.
*
null - the sDefaultContent option will be used for the cell (null
* by default, so you will need to specify the default content you want -
- * typically an empty string). This can be useful on generated columns such
+ * typically an empty string). This can be useful on generated columns such
* as edit / delete action columns.
- *
function - the function given will be executed whenever DataTables
- * needs to set or get the data for a cell in the column. The function
+ *
function - the function given will be executed whenever DataTables
+ * needs to set or get the data for a cell in the column. The function
* takes three parameters:
*
*
{array|object} The data source for the row
*
{string} The type call data requested - this will be 'set' when
- * setting data or 'filter', 'display', 'type', 'sort' or undefined when
+ * setting data or 'filter', 'display', 'type', 'sort' or undefined when
* gathering data. Note that when undefined is given for the type
* DataTables expects to get the raw data for the object back
*
{*} Data to set when the second parameter is 'set'.
@@ -322,7 +322,7 @@ DataTable.defaults.columns = {
* @type string|int|function|null
* @default null Use automatically calculated column index
* @dtopt Columns
- *
+ *
* @example
* // Read table data from objects
* $(document).ready( function() {
@@ -337,7 +337,7 @@ DataTable.defaults.columns = {
* ]
* } );
* } );
- *
+ *
* @example
* // Using mData as a function to provide different information for
* // sorting, filtering and display. In this case, currency (price)
@@ -375,7 +375,7 @@ DataTable.defaults.columns = {
* but not altering the underlying data for the table, use this property. mData
* can actually do everything this property can and more, but this parameter is
* easier to use since there is no 'set' option. Like mData is can be given
- * in a number of different ways to effect its behaviour, with the addition of
+ * in a number of different ways to effect its behaviour, with the addition of
* supporting array syntax for easy outputting of arrays (including arrays of
* objects):
*
@@ -388,12 +388,12 @@ DataTable.defaults.columns = {
* brackets, these characters are used to join the data source array together.
* For example: "accounts[, ].name" would result in a comma separated list with
* the 'name' value from the 'accounts' array of objects.
- *
function - the function given will be executed whenever DataTables
- * needs to set or get the data for a cell in the column. The function
+ *
function - the function given will be executed whenever DataTables
+ * needs to set or get the data for a cell in the column. The function
* takes three parameters:
*
*
{array|object} The data source for the row (based on mData)
- *
{string} The type call data requested - this will be 'filter', 'display',
+ *
{string} The type call data requested - this will be 'filter', 'display',
* 'type' or 'sort'.
*
{array|object} The full data source for the row (not based on mData)
*
@@ -403,7 +403,7 @@ DataTable.defaults.columns = {
* @type string|int|function|null
* @default null Use mData
* @dtopt Columns
- *
+ *
* @example
* // Create a comma separated list from an array of objects
* $(document).ready( function() {
@@ -419,7 +419,7 @@ DataTable.defaults.columns = {
* ]
* } );
* } );
- *
+ *
* @example
* // Use as a function to create a link from the data source
* $(document).ready( function() {
@@ -445,7 +445,7 @@ DataTable.defaults.columns = {
* @type string
* @default td
* @dtopt Columns
- *
+ *
* @example
* // Make the first column use TH cells
* $(document).ready( function() {
@@ -465,22 +465,22 @@ DataTable.defaults.columns = {
* @type string
* @default Empty string
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumnDefs": [
+ * "aoColumnDefs": [
* { "sClass": "my_class", "aTargets": [ 0 ] }
* ]
* } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumns": [
+ * "aoColumns": [
* { "sClass": "my_class" },
* null,
* null,
@@ -496,22 +496,22 @@ DataTable.defaults.columns = {
* When DataTables calculates the column widths to assign to each column,
* it finds the longest string in each column and then constructs a
* temporary table and reads the widths from that. The problem with this
- * is that "mmm" is much wider then "iiii", but the latter is a longer
+ * is that "mmm" is much wider then "iiii", but the latter is a longer
* string - thus the calculation can go wrong (doing it properly and putting
* it into an DOM object and measuring that is horribly(!) slow). Thus as
* a "work around" we provide this option. It will append its value to the
* text that is found to be the longest string for the column - i.e. padding.
- * Generally you shouldn't need this, and it is not documented on the
+ * Generally you shouldn't need this, and it is not documented on the
* general DataTables.net documentation
* @type string
* @default Empty string
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumns": [
+ * "aoColumns": [
* null,
* null,
* null,
@@ -532,12 +532,12 @@ DataTable.defaults.columns = {
* @type string
* @default null
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumnDefs": [
+ * "aoColumnDefs": [
* {
* "mData": null,
* "sDefaultContent": "Edit",
@@ -546,12 +546,12 @@ DataTable.defaults.columns = {
* ]
* } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumns": [
+ * "aoColumns": [
* null,
* null,
* null,
@@ -576,12 +576,12 @@ DataTable.defaults.columns = {
* @type string
* @default Empty string
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumnDefs": [
+ * "aoColumnDefs": [
* { "sName": "engine", "aTargets": [ 0 ] },
* { "sName": "browser", "aTargets": [ 1 ] },
* { "sName": "platform", "aTargets": [ 2 ] },
@@ -590,12 +590,12 @@ DataTable.defaults.columns = {
* ]
* } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumns": [
+ * "aoColumns": [
* { "sName": "engine" },
* { "sName": "browser" },
* { "sName": "platform" },
@@ -616,7 +616,7 @@ DataTable.defaults.columns = {
* @type string
* @default std
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
@@ -629,7 +629,7 @@ DataTable.defaults.columns = {
* ]
* } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
@@ -651,25 +651,25 @@ DataTable.defaults.columns = {
/**
* The title of this column.
* @type string
- * @default null Derived from the 'TH' value for this column in the
+ * @default null Derived from the 'TH' value for this column in the
* original HTML table.
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumnDefs": [
+ * "aoColumnDefs": [
* { "sTitle": "My column title", "aTargets": [ 0 ] }
* ]
* } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumns": [
+ * "aoColumns": [
* { "sTitle": "My column title" },
* null,
* null,
@@ -693,22 +693,22 @@ DataTable.defaults.columns = {
* @type string
* @default null Auto-detected from raw data
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumnDefs": [
+ * "aoColumnDefs": [
* { "sType": "html", "aTargets": [ 0 ] }
* ]
* } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumns": [
+ * "aoColumns": [
* { "sType": "html" },
* null,
* null,
@@ -729,22 +729,22 @@ DataTable.defaults.columns = {
* @type string
* @default null Automatic
* @dtopt Columns
- *
+ *
* @example
* // Using aoColumnDefs
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumnDefs": [
+ * "aoColumnDefs": [
* { "sWidth": "20%", "aTargets": [ 0 ] }
* ]
* } );
* } );
- *
+ *
* @example
* // Using aoColumns
* $(document).ready( function() {
* $('#example').dataTable( {
- * "aoColumns": [
+ * "aoColumns": [
* { "sWidth": "20%" },
* null,
* null,
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.js b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.js
index 779f19d8..16ee0d0c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.js
@@ -1,20 +1,20 @@
/**
- * Initialisation options that can be given to DataTables at initialisation
+ * Initialisation options that can be given to DataTables at initialisation
* time.
* @namespace
*/
DataTable.defaults = {
/**
- * An array of data to use for the table, passed in at initialisation which
+ * An array of data to use for the table, passed in at initialisation which
* will be used in preference to any data which is already in the DOM. This is
* particularly useful for constructing tables purely in Javascript, for
* example with a custom Ajax call.
* @type array
* @default null
* @dtopt Option
- *
+ *
* @example
* // Using a 2D array data source
* $(document).ready( function () {
@@ -32,7 +32,7 @@ DataTable.defaults = {
* ]
* } );
* } );
- *
+ *
* @example
* // Using an array of objects as a data source (mData)
* $(document).ready( function () {
@@ -67,15 +67,15 @@ DataTable.defaults = {
/**
- * If sorting is enabled, then DataTables will perform a first pass sort on
- * initialisation. You can define which column(s) the sort is performed upon,
- * and the sorting direction, with this variable. The aaSorting array should
- * contain an array for each column to be sorted initially containing the
+ * If sorting is enabled, then DataTables will perform a first pass sort on
+ * initialisation. You can define which column(s) the sort is performed upon,
+ * and the sorting direction, with this variable. The aaSorting array should
+ * contain an array for each column to be sorted initially containing the
* column's index and a direction string ('asc' or 'desc').
* @type array
* @default [[0,'asc']]
* @dtopt Option
- *
+ *
* @example
* // Sort by 3rd column first, and then 4th column
* $(document).ready( function() {
@@ -83,7 +83,7 @@ DataTable.defaults = {
* "aaSorting": [[2,'asc'], [3,'desc']]
* } );
* } );
- *
+ *
* // No initial sorting
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -95,16 +95,16 @@ DataTable.defaults = {
/**
- * This parameter is basically identical to the aaSorting parameter, but
- * cannot be overridden by user interaction with the table. What this means
- * is that you could have a column (visible or hidden) which the sorting will
- * always be forced on first - any sorting after that (from the user) will
- * then be performed as required. This can be useful for grouping rows
+ * This parameter is basically identical to the aaSorting parameter, but
+ * cannot be overridden by user interaction with the table. What this means
+ * is that you could have a column (visible or hidden) which the sorting will
+ * always be forced on first - any sorting after that (from the user) will
+ * then be performed as required. This can be useful for grouping rows
* together.
* @type array
* @default null
* @dtopt Option
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -117,22 +117,22 @@ DataTable.defaults = {
/**
* This parameter allows you to readily specify the entries in the length drop
- * down menu that DataTables shows when pagination is enabled. It can be
- * either a 1D array of options which will be used for both the displayed
- * option and the value, or a 2D array which will use the array in the first
- * position as the value, and the array in the second position as the
+ * down menu that DataTables shows when pagination is enabled. It can be
+ * either a 1D array of options which will be used for both the displayed
+ * option and the value, or a 2D array which will use the array in the first
+ * position as the value, and the array in the second position as the
* displayed options (useful for language strings such as 'All').
* @type array
* @default [ 10, 25, 50, 100 ]
* @dtopt Option
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
* "aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]]
* } );
* } );
- *
+ *
* @example
* // Setting the default display length as well as length menu
* // This is likely to be wanted if you remove the '10' option which
@@ -150,7 +150,7 @@ DataTable.defaults = {
/**
* The aoColumns option in the initialisation parameter allows you to define
* details about the way individual columns behave. For a full list of
- * column options that can be set, please see
+ * column options that can be set, please see
* {@link DataTable.defaults.columns}. Note that if you use aoColumns to
* define your columns, you must have an entry in the array for every single
* column that you have in your table (these can be null if you don't which
@@ -160,11 +160,11 @@ DataTable.defaults = {
"aoColumns": null,
/**
- * Very similar to aoColumns, aoColumnDefs allows you to target a specific
- * column, multiple columns, or all columns, using the aTargets property of
- * each object in the array. This allows great flexibility when creating
- * tables, as the aoColumnDefs arrays can be of any length, targeting the
- * columns you specifically want. aoColumnDefs may use any of the column
+ * Very similar to aoColumns, aoColumnDefs allows you to target a specific
+ * column, multiple columns, or all columns, using the aTargets property of
+ * each object in the array. This allows great flexibility when creating
+ * tables, as the aoColumnDefs arrays can be of any length, targeting the
+ * columns you specifically want. aoColumnDefs may use any of the column
* options available: {@link DataTable.defaults.columns}, but it _must_
* have aTargets defined in each object in the array. Values in the aTargets
* array may be:
@@ -181,14 +181,14 @@ DataTable.defaults = {
/**
* Basically the same as oSearch, this parameter defines the individual column
- * filtering state at initialisation time. The array must be of the same size
+ * filtering state at initialisation time. The array must be of the same size
* as the number of columns, and each element be an object with the parameters
* "sSearch" and "bEscapeRegex" (the latter is optional). 'null' is also
* accepted and the default will be used.
* @type array
* @default []
* @dtopt Option
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -205,14 +205,14 @@ DataTable.defaults = {
/**
- * An array of CSS classes that should be applied to displayed rows. This
- * array may be of any length, and DataTables will apply each class
+ * An array of CSS classes that should be applied to displayed rows. This
+ * array may be of any length, and DataTables will apply each class
* sequentially, looping when required.
* @type array
* @default null Will take the values determined by the oClasses.sStripe*
* options
* @dtopt Option
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -230,7 +230,7 @@ DataTable.defaults = {
* @type boolean
* @default true
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function () {
* $('#example').dataTable( {
@@ -250,7 +250,7 @@ DataTable.defaults = {
* @type boolean
* @default false
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function() {
* var oTable = $('#example').dataTable( {
@@ -263,21 +263,21 @@ DataTable.defaults = {
/**
- * Replace a DataTable which matches the given selector and replace it with
+ * Replace a DataTable which matches the given selector and replace it with
* one which has the properties of the new initialisation object passed. If no
* table matches the selector, then the new DataTable will be constructed as
* per normal.
* @type boolean
* @default false
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
* "sScrollY": "200px",
* "bPaginate": false
* } );
- *
+ *
* // Some time later....
* $('#example').dataTable( {
* "bFilter": false,
@@ -299,7 +299,7 @@ DataTable.defaults = {
* @type boolean
* @default true
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function () {
* $('#example').dataTable( {
@@ -311,13 +311,13 @@ DataTable.defaults = {
/**
- * Enable or disable the table information display. This shows information
+ * Enable or disable the table information display. This shows information
* about the data that is currently visible on the page, including information
* about filtered data if that action is being performed.
* @type boolean
* @default true
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function () {
* $('#example').dataTable( {
@@ -335,7 +335,7 @@ DataTable.defaults = {
* @type boolean
* @default false
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -352,7 +352,7 @@ DataTable.defaults = {
* @type boolean
* @default true
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function () {
* $('#example').dataTable( {
@@ -368,7 +368,7 @@ DataTable.defaults = {
* @type boolean
* @default true
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function () {
* $('#example').dataTable( {
@@ -387,7 +387,7 @@ DataTable.defaults = {
* @type boolean
* @default false
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function () {
* $('#example').dataTable( {
@@ -409,13 +409,13 @@ DataTable.defaults = {
* @type boolean
* @default false
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* initTable();
* tableActions();
* } );
- *
+ *
* function initTable ()
* {
* return $('#example').dataTable( {
@@ -424,11 +424,11 @@ DataTable.defaults = {
* "bRetrieve": true
* } );
* }
- *
+ *
* function tableActions ()
* {
* var oTable = initTable();
- * // perform API operations with oTable
+ * // perform API operations with oTable
* }
*/
"bRetrieve": false,
@@ -441,7 +441,7 @@ DataTable.defaults = {
* @type boolean
* @default true
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -463,7 +463,7 @@ DataTable.defaults = {
* @type boolean
* @default false
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -485,7 +485,7 @@ DataTable.defaults = {
* @type boolean
* @default false
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -506,7 +506,7 @@ DataTable.defaults = {
* @default false
* @dtopt Features
* @dtopt Server-side
- *
+ *
* @example
* $(document).ready( function () {
* $('#example').dataTable( {
@@ -524,7 +524,7 @@ DataTable.defaults = {
* @type boolean
* @default true
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function () {
* $('#example').dataTable( {
@@ -542,7 +542,7 @@ DataTable.defaults = {
* @type boolean
* @default false
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -562,7 +562,7 @@ DataTable.defaults = {
* @type boolean
* @default true
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function () {
* $('#example').dataTable( {
@@ -581,7 +581,7 @@ DataTable.defaults = {
* @type boolean
* @default false
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function () {
* $('#example').dataTable( {
@@ -606,7 +606,7 @@ DataTable.defaults = {
* @returns {string} Cookie formatted string (which should be encoded by
* using encodeURIComponent())
* @dtopt Callbacks
- *
+ *
* @example
* $(document).ready( function () {
* $('#example').dataTable( {
@@ -629,7 +629,7 @@ DataTable.defaults = {
* @param {array} aData Raw data array for this row
* @param {int} iDataIndex The index of this row in aoData
* @dtopt Callbacks
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -652,7 +652,7 @@ DataTable.defaults = {
* @type function
* @param {object} oSettings DataTables settings object
* @dtopt Callbacks
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -671,14 +671,14 @@ DataTable.defaults = {
* @type function
* @param {node} nFoot "TR" element for the footer
* @param {array} aData Full table data (as derived from the original HTML)
- * @param {int} iStart Index for the current display starting point in the
+ * @param {int} iStart Index for the current display starting point in the
* display array
- * @param {int} iEnd Index for the current display ending point in the
+ * @param {int} iEnd Index for the current display ending point in the
* display array
* @param {array int} aiDisplay Index array to translate the visual position
* to the full data array
* @dtopt Callbacks
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -702,7 +702,7 @@ DataTable.defaults = {
* @param {int} iIn number to be formatted
* @returns {string} formatted string for DataTables to show the number
* @dtopt Callbacks
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -710,11 +710,11 @@ DataTable.defaults = {
* if ( iIn < 1000 ) {
* return iIn;
* } else {
- * var
- * s=(iIn+""),
- * a=s.split(""), out="",
+ * var
+ * s=(iIn+""),
+ * a=s.split(""), out="",
* iLen=s.length;
- *
+ *
* for ( var i=0 ; i<iLen ; i++ ) {
* if ( i%3 === 0 && i !== 0 ) {
* out = "'"+out;
@@ -762,7 +762,7 @@ DataTable.defaults = {
* @param {array int} aiDisplay Index array to translate the visual position
* to the full data array
* @dtopt Callbacks
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -792,7 +792,7 @@ DataTable.defaults = {
* own rules
* @returns {string} The string to be displayed in the information element.
* @dtopt Callbacks
- *
+ *
* @example
* $('#example').dataTable( {
* "fnInfoCallback": function( oSettings, iStart, iEnd, iMax, iTotal, sPre ) {
@@ -813,7 +813,7 @@ DataTable.defaults = {
* @param {object} json The JSON object request from the server - only
* present if client-side Ajax sourced data is used
* @dtopt Callbacks
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -835,7 +835,7 @@ DataTable.defaults = {
* @returns {boolean} False will cancel the draw, anything else (including no
* return) will allow it to complete.
* @dtopt Callbacks
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -861,7 +861,7 @@ DataTable.defaults = {
* @param {int} iDisplayIndexFull The index of the data in the full list of
* rows (after filtering)
* @dtopt Callbacks
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -893,7 +893,7 @@ DataTable.defaults = {
* @param {object} oSettings DataTables settings object
* @dtopt Callbacks
* @dtopt Server-side
- *
+ *
* @example
* // POST data to server
* $(document).ready( function() {
@@ -903,10 +903,10 @@ DataTable.defaults = {
* "sAjaxSource": "xhr.php",
* "fnServerData": function ( sSource, aoData, fnCallback, oSettings ) {
* oSettings.jqXHR = $.ajax( {
- * "dataType": 'json',
- * "type": "POST",
- * "url": sSource,
- * "data": aoData,
+ * "dataType": 'json',
+ * "type": "POST",
+ * "url": sSource,
+ * "data": aoData,
* "success": fnCallback
* } );
* }
@@ -954,7 +954,7 @@ DataTable.defaults = {
* as this is passed by reference.
* @dtopt Callbacks
* @dtopt Server-side
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -979,14 +979,14 @@ DataTable.defaults = {
* @param {object} oSettings DataTables settings object
* @return {object} The DataTables state object to be loaded
* @dtopt Callbacks
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
* "bStateSave": true,
* "fnStateLoad": function (oSettings) {
* var o;
- *
+ *
* // Send an Ajax request to the server to get the data. Note that
* // this is a synchronous request.
* $.ajax( {
@@ -997,7 +997,7 @@ DataTable.defaults = {
* o = json;
* }
* } );
- *
+ *
* return o;
* }
* } );
@@ -1008,7 +1008,7 @@ DataTable.defaults = {
var oData;
try {
- oData = (typeof $.parseJSON === 'function') ?
+ oData = (typeof $.parseJSON === 'function') ?
$.parseJSON(sData) : eval( '('+sData+')' );
} catch (e) {
oData = null;
@@ -1021,14 +1021,14 @@ DataTable.defaults = {
/**
* Callback which allows modification of the saved state prior to loading that state.
* This callback is called when the table is loading state from the stored data, but
- * prior to the settings object being modified by the saved state. Note that for
- * plug-in authors, you should use the 'stateLoadParams' event to load parameters for
+ * prior to the settings object being modified by the saved state. Note that for
+ * plug-in authors, you should use the 'stateLoadParams' event to load parameters for
* a plug-in.
* @type function
* @param {object} oSettings DataTables settings object
* @param {object} oData The state object that is to be loaded
* @dtopt Callbacks
- *
+ *
* @example
* // Remove a saved filter, so filtering is never loaded
* $(document).ready( function() {
@@ -1039,7 +1039,7 @@ DataTable.defaults = {
* }
* } );
* } );
- *
+ *
* @example
* // Disallow state loading by returning false
* $(document).ready( function() {
@@ -1061,7 +1061,7 @@ DataTable.defaults = {
* @param {object} oSettings DataTables settings object
* @param {object} oData The state object that was loaded
* @dtopt Callbacks
- *
+ *
* @example
* // Show an alert with the filtering value that was saved
* $(document).ready( function() {
@@ -1085,7 +1085,7 @@ DataTable.defaults = {
* @param {object} oSettings DataTables settings object
* @param {object} oData The state object to be saved
* @dtopt Callbacks
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1104,27 +1104,27 @@ DataTable.defaults = {
* } );
*/
"fnStateSave": function ( oSettings, oData ) {
- this.oApi._fnCreateCookie(
- oSettings.sCookiePrefix+oSettings.sInstance,
- this.oApi._fnJsonString(oData),
- oSettings.iCookieDuration,
- oSettings.sCookiePrefix,
+ this.oApi._fnCreateCookie(
+ oSettings.sCookiePrefix+oSettings.sInstance,
+ this.oApi._fnJsonString(oData),
+ oSettings.iCookieDuration,
+ oSettings.sCookiePrefix,
oSettings.fnCookieCallback
);
},
/**
- * Callback which allows modification of the state to be saved. Called when the table
+ * Callback which allows modification of the state to be saved. Called when the table
* has changed state a new state save is required. This method allows modification of
- * the state saving object prior to actually doing the save, including addition or
- * other state properties or modification. Note that for plug-in authors, you should
+ * the state saving object prior to actually doing the save, including addition or
+ * other state properties or modification. Note that for plug-in authors, you should
* use the 'stateSaveParams' event to save parameters for a plug-in.
* @type function
* @param {object} oSettings DataTables settings object
* @param {object} oData The state object to be saved
* @dtopt Callbacks
- *
+ *
* @example
* // Remove a saved filter, so filtering is never saved
* $(document).ready( function() {
@@ -1145,7 +1145,7 @@ DataTable.defaults = {
* @type int
* @default 7200 (2 hours)
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1171,7 +1171,7 @@ DataTable.defaults = {
* @type int | array
* @default null
* @dtopt Options
- *
+ *
* @example
* // 57 records available in the table, no filtering applied
* $(document).ready( function() {
@@ -1181,7 +1181,7 @@ DataTable.defaults = {
* "iDeferLoading": 57
* } );
* } );
- *
+ *
* @example
* // 57 records after filtering, 100 without filtering (an initial filter applied)
* $(document).ready( function() {
@@ -1205,7 +1205,7 @@ DataTable.defaults = {
* @type int
* @default 10
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1224,7 +1224,7 @@ DataTable.defaults = {
* @type int
* @default 0
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1243,7 +1243,7 @@ DataTable.defaults = {
* @type int
* @default 100
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1267,7 +1267,7 @@ DataTable.defaults = {
* @type int
* @default 0
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1299,7 +1299,7 @@ DataTable.defaults = {
* @type string
* @default : activate to sort column ascending
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1320,7 +1320,7 @@ DataTable.defaults = {
* @type string
* @default : activate to sort column ascending
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1347,7 +1347,7 @@ DataTable.defaults = {
* @type string
* @default First
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1368,7 +1368,7 @@ DataTable.defaults = {
* @type string
* @default Last
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1384,12 +1384,12 @@ DataTable.defaults = {
/**
- * Text to use for the 'next' pagination button (to take the user to the
+ * Text to use for the 'next' pagination button (to take the user to the
* next page).
* @type string
* @default Next
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1405,12 +1405,12 @@ DataTable.defaults = {
/**
- * Text to use for the 'previous' pagination button (to take the user to
+ * Text to use for the 'previous' pagination button (to take the user to
* the previous page).
* @type string
* @default Previous
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1433,7 +1433,7 @@ DataTable.defaults = {
* @type string
* @default No data available in table
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1447,14 +1447,14 @@ DataTable.defaults = {
/**
- * This string gives information to the end user about the information that
- * is current on display on the page. The _START_, _END_ and _TOTAL_
- * variables are all dynamically replaced as the table display updates, and
+ * This string gives information to the end user about the information that
+ * is current on display on the page. The _START_, _END_ and _TOTAL_
+ * variables are all dynamically replaced as the table display updates, and
* can be freely moved or removed as the language requirements change.
* @type string
* @default Showing _START_ to _END_ of _TOTAL_ entries
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1468,12 +1468,12 @@ DataTable.defaults = {
/**
- * Display information string for when the table is empty. Typically the
+ * Display information string for when the table is empty. Typically the
* format of this string should match sInfo.
* @type string
* @default Showing 0 to 0 of 0 entries
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1487,13 +1487,13 @@ DataTable.defaults = {
/**
- * When a user filters the information in a table, this string is appended
- * to the information (sInfo) to give an idea of how strong the filtering
+ * When a user filters the information in a table, this string is appended
+ * to the information (sInfo) to give an idea of how strong the filtering
* is. The variable _MAX_ is dynamically updated.
* @type string
* @default (filtered from _MAX_ total entries)
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1514,7 +1514,7 @@ DataTable.defaults = {
* @type string
* @default Empty string
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1535,7 +1535,7 @@ DataTable.defaults = {
* @type string
* @default ,
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1556,7 +1556,7 @@ DataTable.defaults = {
* @type string
* @default Show _MENU_ entries
* @dtopt Language
- *
+ *
* @example
* // Language change only
* $(document).ready( function() {
@@ -1566,7 +1566,7 @@ DataTable.defaults = {
* }
* } );
* } );
- *
+ *
* @example
* // Language and options change
* $(document).ready( function() {
@@ -1596,7 +1596,7 @@ DataTable.defaults = {
* @type string
* @default Loading...
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1615,7 +1615,7 @@ DataTable.defaults = {
* @type string
* @default Processing...
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1637,7 +1637,7 @@ DataTable.defaults = {
* @type string
* @default Search:
* @dtopt Language
- *
+ *
* @example
* // Input text box will be appended at the end automatically
* $(document).ready( function() {
@@ -1647,7 +1647,7 @@ DataTable.defaults = {
* }
* } );
* } );
- *
+ *
* @example
* // Specify where the filter should appear
* $(document).ready( function() {
@@ -1671,7 +1671,7 @@ DataTable.defaults = {
* @type string
* @default Empty string - i.e. disabled
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1691,7 +1691,7 @@ DataTable.defaults = {
* @type string
* @default No matching records found
* @dtopt Language
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1716,7 +1716,7 @@ DataTable.defaults = {
* @namespace
* @extends DataTable.models.oSearch
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1736,7 +1736,7 @@ DataTable.defaults = {
* @default aaData
* @dtopt Options
* @dtopt Server-side
- *
+ *
* @example
* // Get data from { "data": [...] }
* $(document).ready( function() {
@@ -1745,7 +1745,7 @@ DataTable.defaults = {
* "sAjaxDataProp": "data"
* } );
* } );
- *
+ *
* @example
* // Get data from { "data": { "inner": [...] } }
* $(document).ready( function() {
@@ -1767,7 +1767,7 @@ DataTable.defaults = {
* @default null
* @dtopt Options
* @dtopt Server-side
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1784,7 +1784,7 @@ DataTable.defaults = {
* @type string
* @default SpryMedia_DataTables_
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1833,10 +1833,10 @@ DataTable.defaults = {
*
*
* @type string
- * @default lfrtip (when bJQueryUI is false)or
+ * @default lfrtip (when bJQueryUI is false)or
* <"H"lfr>t<"F"ip> (when bJQueryUI is true)
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1854,7 +1854,7 @@ DataTable.defaults = {
* @type string
* @default two_button
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1874,7 +1874,7 @@ DataTable.defaults = {
* @type string
* @default blank string - i.e. disabled
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1896,7 +1896,7 @@ DataTable.defaults = {
* @type string
* @default blank string - i.e. disabled
* @dtopt Options
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1918,7 +1918,7 @@ DataTable.defaults = {
* @type string
* @default blank string - i.e. disabled
* @dtopt Features
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
@@ -1937,7 +1937,7 @@ DataTable.defaults = {
* @default GET
* @dtopt Options
* @dtopt Server-side
- *
+ *
* @example
* $(document).ready( function() {
* $('#example').dataTable( {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.ext.js b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.ext.js
index 45566a62..7a5fba0a 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.ext.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.ext.js
@@ -5,7 +5,7 @@
* for plug-ins that can be used to extend the default DataTables behaviour - indeed many
* of the build in methods use this method to provide their own capabilities (sorting methods
* for example).
- *
+ *
* Note that this namespace is aliased to jQuery.fn.dataTableExt so it can be readily accessed
* and modified by plug-ins.
* @namespace
@@ -40,7 +40,7 @@ DataTable.models.ext = {
*
* @example
* // The following example shows custom filtering being applied to the fourth column (i.e.
- * // the aData[3] index) based on two input values from the end-user, matching the data in
+ * // the aData[3] index) based on two input values from the end-user, matching the data in
* // a certain range.
* $.fn.dataTableExt.afnFiltering.push(
* function( oSettings, aData, iDataIndex ) {
@@ -74,7 +74,7 @@ DataTable.models.ext = {
* static string that DataTables knows of. The way these plug-ins work is that you create
* an array of the values you wish to be sorted for the column in question and then return
* that array. Which pre-sorting function is run here depends on the sSortDataType parameter
- * that is used for the column (if any). This is the corollary of ofnSearch for sort
+ * that is used for the column (if any). This is the corollary of ofnSearch for sort
* data.
*
*
@@ -91,10 +91,10 @@ DataTable.models.ext = {
*
*
*
- *
+ *
* Note that as of v1.9, it is typically preferable to use mData to prepare data for
* the different uses that DataTables can put the data to. Specifically mData when
- * used as a function will give you a 'type' (sorting, filtering etc) that you can use to
+ * used as a function will give you a 'type' (sorting, filtering etc) that you can use to
* prepare the data as required for the different types. As such, this method is deprecated.
* @type array
* @default []
@@ -133,8 +133,8 @@ DataTable.models.ext = {
* Function return:
*
*
{node|null} The element which contains your feature. Note that the return
- * may also be void if your plug-in does not require to inject any DOM elements
- * into DataTables control (sDom) - for example this might be useful when
+ * may also be void if your plug-in does not require to inject any DOM elements
+ * into DataTables control (sDom) - for example this might be useful when
* developing a plug-in which allows table control via keyboard entry.
*
*
@@ -145,7 +145,7 @@ DataTable.models.ext = {
*
* @type array
* @default []
- *
+ *
* @example
* // How TableTools initialises itself.
* $.fn.dataTableExt.aoFeatures.push( {
@@ -163,7 +163,7 @@ DataTable.models.ext = {
* Type detection plug-in functions - DataTables utilises types to define how sorting and
* filtering behave, and types can be either be defined by the developer (sType for the
* column) or they can be automatically detected by the methods in this array. The functions
- * defined in the array are quite simple, taking a single parameter (the data to analyse)
+ * defined in the array are quite simple, taking a single parameter (the data to analyse)
* and returning the type if it is a known type, or null otherwise.
*
*
@@ -182,22 +182,22 @@ DataTable.models.ext = {
*
* @type array
* @default []
- *
+ *
* @example
* // Currency type detection plug-in:
* jQuery.fn.dataTableExt.aTypes.push(
* function ( sData ) {
* var sValidChars = "0123456789.-";
* var Char;
- *
+ *
* // Check the numeric part
* for ( i=1 ; iafnSortData for filtering data.
*
@@ -257,10 +257,10 @@ DataTable.models.ext = {
*
*
*
- *
+ *
* Note that as of v1.9, it is typically preferable to use mData to prepare data for
* the different uses that DataTables can put the data to. Specifically mData when
- * used as a function will give you a 'type' (sorting, filtering etc) that you can use to
+ * used as a function will give you a 'type' (sorting, filtering etc) that you can use to
* prepare the data as required for the different types. As such, this method is deprecated.
* @type object
* @default {}
@@ -299,8 +299,8 @@ DataTable.models.ext = {
/**
- * Pagination plug-in methods - The style and controls of the pagination can significantly
- * impact on how the end user interacts with the data in your table, and DataTables allows
+ * Pagination plug-in methods - The style and controls of the pagination can significantly
+ * impact on how the end user interacts with the data in your table, and DataTables allows
* the addition of pagination controls by extending this object, which can then be enabled
* through the sPaginationType initialisation parameter. Each pagination type that
* is added is an object (the property name of which is what sPaginationType refers
@@ -308,12 +308,12 @@ DataTable.models.ext = {
* control's state.
*
*
- * fnInit - Initialisation of the paging controls. Called only during initialisation
- * of the table. It is expected that this function will add the required DOM elements
- * to the page for the paging controls to work. The element pointer
- * 'oSettings.aanFeatures.p' array is provided by DataTables to contain the paging
- * controls (note that this is a 2D array to allow for multiple instances of each
- * DataTables DOM element). It is suggested that you add the controls to this element
+ * fnInit - Initialisation of the paging controls. Called only during initialisation
+ * of the table. It is expected that this function will add the required DOM elements
+ * to the page for the paging controls to work. The element pointer
+ * 'oSettings.aanFeatures.p' array is provided by DataTables to contain the paging
+ * controls (note that this is a 2D array to allow for multiple instances of each
+ * DataTables DOM element). It is suggested that you add the controls to this element
* as children
*
*
@@ -335,7 +335,7 @@ DataTable.models.ext = {
*
*
* fnInit - This function is called whenever the paging status of the table changes and is
- * typically used to update classes and/or text of the paging controls to reflex the new
+ * typically used to update classes and/or text of the paging controls to reflex the new
* status.
*
@@ -309,7 +309,7 @@ DataTable.models.oSettings = {
"asDataSearch": [],
/**
- * Store the applied global search information in case we want to force a
+ * Store the applied global search information in case we want to force a
* research or compare the old search to a new one.
* Note that this parameter will be set by the initialisation routine. To
* set a default use {@link DataTable.defaults}.
@@ -319,7 +319,7 @@ DataTable.models.oSettings = {
"oPreviousSearch": {},
/**
- * Store the applied search for each column - see
+ * Store the applied search for each column - see
* {@link DataTable.models.oSearch} for the format that is used for the
* filtering information for each column.
* @type array
@@ -369,7 +369,7 @@ DataTable.models.oSettings = {
"asDestroyStripes": [],
/**
- * If restoring a table - we should restore its width
+ * If restoring a table - we should restore its width
* @type int
* @default 0
*/
@@ -411,7 +411,7 @@ DataTable.models.oSettings = {
"aoRowCreatedCallback": [],
/**
- * Callback functions for just before the table is redrawn. A return of
+ * Callback functions for just before the table is redrawn. A return of
* false will be used to cancel the draw.
* @type array
* @default []
@@ -493,7 +493,7 @@ DataTable.models.oSettings = {
"nTableWrapper": null,
/**
- * Indicate if when using server-side processing the loading of data
+ * Indicate if when using server-side processing the loading of data
* should be deferred until the second draw.
* Note that this parameter will be set by the initialisation routine. To
* set a default use {@link DataTable.defaults}.
@@ -531,7 +531,7 @@ DataTable.models.oSettings = {
* Which type of pagination should be used.
* Note that this parameter will be set by the initialisation routine. To
* set a default use {@link DataTable.defaults}.
- * @type string
+ * @type string
* @default two_button
*/
"sPaginationType": "two_button",
@@ -564,12 +564,12 @@ DataTable.models.oSettings = {
"fnCookieCallback": null,
/**
- * Array of callback functions for state saving. Each array element is an
+ * Array of callback functions for state saving. Each array element is an
* object with the following parameters:
*
*
function:fn - function to call. Takes two parameters, oSettings
* and the JSON string to save that has been thus far created. Returns
- * a JSON string to be inserted into a json object
+ * a JSON string to be inserted into a json object
* (i.e. '"param": [ 0, 1, 2]')
*
string:sName - name of callback
*
@@ -579,10 +579,10 @@ DataTable.models.oSettings = {
"aoStateSave": [],
/**
- * Array of callback functions for state loading. Each array element is an
+ * Array of callback functions for state loading. Each array element is an
* object with the following parameters:
*
- *
function:fn - function to call. Takes two parameters, oSettings
+ *
function:fn - function to call. Takes two parameters, oSettings
* and the object stored. May return false to cancel state loading
*
string:sName - name of callback
*
@@ -609,7 +609,7 @@ DataTable.models.oSettings = {
/**
* Property from a given object from which to read the table data from. This
- * can be an empty string (when not server-side processing), in which case
+ * can be an empty string (when not server-side processing), in which case
* it is assumed an an array is given directly.
* Note that this parameter will be set by the initialisation routine. To
* set a default use {@link DataTable.defaults}.
@@ -625,8 +625,8 @@ DataTable.models.oSettings = {
"bAjaxDataGet": true,
/**
- * The last jQuery XHR object that was used for server-side data gathering.
- * This can be used for working with the XHR information in one of the
+ * The last jQuery XHR object that was used for server-side data gathering.
+ * This can be used for working with the XHR information in one of the
* callbacks
* @type object
* @default null
@@ -642,7 +642,7 @@ DataTable.models.oSettings = {
"fnServerData": null,
/**
- * Functions which are called prior to sending an Ajax request so extra
+ * Functions which are called prior to sending an Ajax request so extra
* parameters can easily be sent to the server
* @type array
* @default []
@@ -650,7 +650,7 @@ DataTable.models.oSettings = {
"aoServerParams": [],
/**
- * Send the XHR HTTP method - GET or POST (could be PUT or DELETE if
+ * Send the XHR HTTP method - GET or POST (could be PUT or DELETE if
* required).
* Note that this parameter will be set by the initialisation routine. To
* set a default use {@link DataTable.defaults}.
@@ -758,7 +758,7 @@ DataTable.models.oSettings = {
"oClasses": {},
/**
- * Flag attached to the settings object so you can check in the draw
+ * Flag attached to the settings object so you can check in the draw
* callback if filtering has been done in the draw. Deprecated in favour of
* events.
* @type boolean
@@ -768,7 +768,7 @@ DataTable.models.oSettings = {
"bFiltered": false,
/**
- * Flag attached to the settings object so you can check in the draw
+ * Flag attached to the settings object so you can check in the draw
* callback if sorting has been done in the draw. Deprecated in favour of
* events.
* @type boolean
@@ -778,8 +778,8 @@ DataTable.models.oSettings = {
"bSorted": false,
/**
- * Indicate that if multiple rows are in the header and there is more than
- * one unique cell per column, if the top one (true) or bottom one (false)
+ * Indicate that if multiple rows are in the header and there is more than
+ * one unique cell per column, if the top one (true) or bottom one (false)
* should be used for sorting / title by DataTables.
* Note that this parameter will be set by the initialisation routine. To
* set a default use {@link DataTable.defaults}.
@@ -840,7 +840,7 @@ DataTable.models.oSettings = {
if ( this.oFeatures.bPaginate === false || this._iDisplayLength == -1 ) {
return this._iDisplayStart+this.aiDisplay.length;
} else {
- return Math.min( this._iDisplayStart+this._iDisplayLength,
+ return Math.min( this._iDisplayStart+this._iDisplayLength,
this._iRecordsDisplay );
}
} else {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/controller.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/controller.js
index 590b756a..c0673cb9 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/controller.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/controller.js
@@ -9,7 +9,7 @@ var gtoTest;
function fnTestStart ( sTestInfo )
{
gaoTest[ giActiveModule ].iTests++;
- document.getElementById('test_info').innerHTML +=
+ document.getElementById('test_info').innerHTML +=
(giActiveModule+1)+'.'+(giModuleTests+1)+'. '+sTestInfo+'... ';
document.getElementById('test_number').innerHTML = giTotalTestCount+1;
giModuleTests++;
@@ -42,7 +42,7 @@ function fnUnitStart( iTest )
if ( !gbStop )
{
giModuleTests = 0;
- window.parent.test_arena.location.href =
+ window.parent.test_arena.location.href =
(iTest==0?"":"../")+'templates/'+gaoTest[iTest].sTemplate+'.php?scripts='+gaoTest[iTest].sTest;
giTest = iTest;
}
@@ -73,7 +73,7 @@ function fnUnitComplete()
}
function fnEnd( bSuccess )
-{
+{
var iEndTime = new Date().getTime();
var sTime = ' This test run took '+parseInt((iEndTime-giStartTime)/1000, 10)+
' second(s) to complete.';
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests/1_dom/_zero_config.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests/1_dom/_zero_config.js
index b3a941f8..f98449a8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests/1_dom/_zero_config.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests/1_dom/_zero_config.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: dom_data
oTest.fnStart( "Sanity checks for DataTables with DOM data" );
-oTest.fnTest(
+oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -23,135 +23,135 @@ $(document).ready( function () {
$('#example').dataTable();
/* Basic checks */
- oTest.fnTest(
+ oTest.fnTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -233,14 +233,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -250,7 +250,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -261,7 +261,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -270,21 +270,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -293,14 +293,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -310,7 +310,7 @@ $(document).ready( function () {
*/
oTest.fnTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable();
@@ -321,21 +321,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -348,7 +348,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -379,21 +379,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -403,7 +403,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -413,7 +413,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -422,7 +422,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/-complex_header.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/-complex_header.js
index fb173a78..b8f10abd 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/-complex_header.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/-complex_header.js
@@ -5,43 +5,43 @@ oTest.fnStart( "Complex header" );
$(document).ready( function () {
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on colspan has no effect",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr td:eq(1)').html() == "Firefox 1.0"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on non-unique TH and first TH has no effect",
function () { $('#example thead th:eq(2)').click(); },
function () { return $('#example tbody tr td:eq(1)').html() == "Firefox 1.0"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on non-unique TH and second TH will sort",
function () { $('#example thead th:eq(6)').click(); },
function () { return $('#example tbody tr td:eq(4)').html() == "A"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on non-unique TH and second TH will sort - reserve",
function () { $('#example thead th:eq(6)').click(); },
function () { return $('#example tbody tr td:eq(4)').html() == "X"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on unique TH will sort",
function () { $('#example thead th:eq(5)').click(); },
function () { return $('#example tbody tr td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on unique TH will sort - reserve",
function () { $('#example thead th:eq(5)').click(); },
function () { return $('#example tbody tr td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on unique rowspan TH will sort",
function () { $('#example thead th:eq(0)').click(); },
function () { return $('#example tbody tr td:eq(0)').html() == "Gecko"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/-iDraw.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/-iDraw.js
index efbf7415..da64689e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/-iDraw.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/-iDraw.js
@@ -6,31 +6,31 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"After first draw, iDraw is 1",
null,
function () { return oSettings.iDraw == 1; }
);
- oTest.fnTest(
+ oTest.fnTest(
"After second draw, iDraw is 2",
function () { oTable.fnDraw() },
function () { return oSettings.iDraw == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"After sort",
function () { oTable.fnSort([[1,'asc']]) },
function () { return oSettings.iDraw == 3; }
);
- oTest.fnTest(
+ oTest.fnTest(
"After filter",
function () { oTable.fnFilter('gecko') },
function () { return oSettings.iDraw == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"After another filter",
function () { oTable.fnFilter('gec') },
function () { return oSettings.iDraw == 5; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2512.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2512.js
index e0c91798..cdc9efbf 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2512.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2512.js
@@ -6,7 +6,7 @@ $(document).ready( function () {
$('#example').dataTable();
/* Basic checks */
- oTest.fnTest(
+ oTest.fnTest(
"Check filtering",
function () { $('#example').dataTable().fnFilter('testsearchstring'); },
function () { return $('#example tbody tr').length == 1; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2530-2.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2530-2.js
index cba8cf81..a772c2cb 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2530-2.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2530-2.js
@@ -5,7 +5,7 @@ $(document).ready( function () {
$('#example')[0].style.width = "80%";
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Check user width is left",
null,
function () { return $('#example').width() == 640; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2530.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2530.js
index 29e642d7..d619d79c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2530.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2530.js
@@ -18,7 +18,7 @@ $(document).ready( function () {
} );
/* Basic checks */
- oTest.fnTest(
+ oTest.fnTest(
"Check calculated widths",
null,
function () { return $('#example tbody tr td:eq(0)').width() < 100; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2569.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2569.js
index 59eae2ef..4c19ca53 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2569.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2569.js
@@ -3,26 +3,26 @@ oTest.fnStart( "Destroy with hidden columns" );
$(document).ready( function () {
$('#example').dataTable( {
- "aoColumnDefs": [
+ "aoColumnDefs": [
{ "bSearchable": false, "bVisible": false, "aTargets": [ 2 ] },
{ "bVisible": false, "aTargets": [ 3 ] }
]
} );
$('#example').dataTable().fnDestroy();
- oTest.fnTest(
+ oTest.fnTest(
"Check that the number of columns in table is correct",
null,
function () { return $('#example tbody tr:eq(0) td').length == 5; }
);
- oTest.fnTest(
+ oTest.fnTest(
"And with scrolling",
function () {
$('#example').dataTable( {
"sScrollY": 200,
- "aoColumnDefs": [
+ "aoColumnDefs": [
{ "bSearchable": false, "bVisible": false, "aTargets": [ 2 ] },
{ "bVisible": false, "aTargets": [ 3 ] }
]
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2600.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2600.js
index 7acda55b..75ad7338 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2600.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2600.js
@@ -4,37 +4,37 @@ oTest.fnStart( "2600 - Display rewind when changing length" );
$(document).ready( function () {
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Info correct on init",
null,
function () { return $('#example_info').html() == "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Page 2",
function () { $('#example_next').click(); },
function () { return $('#example_info').html() == "Showing 11 to 20 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Page 3",
function () { $('#example_next').click(); },
function () { return $('#example_info').html() == "Showing 21 to 30 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Page 4",
function () { $('#example_next').click(); },
function () { return $('#example_info').html() == "Showing 31 to 40 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Page 5",
function () { $('#example_next').click(); },
function () { return $('#example_info').html() == "Showing 41 to 50 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Rewind",
function () { $('#example_length select').val('100'); $('#example_length select').change(); },
function () { return $('#example_info').html() == "Showing 1 to 57 of 57 entries"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2608.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2608.js
index e306c4fc..fd90d101 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2608.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2608.js
@@ -6,7 +6,7 @@ $(document).ready( function () {
"bStateSave": true
} );
- oTest.fnTest(
+ oTest.fnTest(
"Set the filter",
function () {
$('#example_filter input').val( '\\s*CVM\\s*$' );
@@ -15,7 +15,7 @@ $(document).ready( function () {
function () { return $('#example_filter input').val() == '\\s*CVM\\s*$'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Destroy the table and remake it - checking the filter was saved",
function () {
$('#example').dataTable( {
@@ -26,7 +26,7 @@ $(document).ready( function () {
function () { return $('#example_filter input').val() == '\\s*CVM\\s*$'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Do it again without state saving and make sure filter is empty",
function () {
$('#example').dataTable( {
@@ -36,7 +36,7 @@ $(document).ready( function () {
function () { return $('#example_filter input').val() == ''; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Clean up",
function () {
$('#example').dataTable( {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2635.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2635.js
index 7226ea4b..7cfc38eb 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2635.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2635.js
@@ -6,7 +6,7 @@ $(document).ready( function () {
"bStateSave": true
} );
- oTest.fnTest(
+ oTest.fnTest(
"Set the hidden column",
function () {
$('#example').dataTable().fnSetColumnVis( 2, false );
@@ -14,7 +14,7 @@ $(document).ready( function () {
function () { return $('#example thead th').length == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Destroy the table and remake it - checking one column was removed",
function () {
$('#example').dataTable( {
@@ -25,7 +25,7 @@ $(document).ready( function () {
function () { return $('#example thead th').length == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Do it again without state saving and make sure we are back to 5 columns",
function () {
$('#example').dataTable( {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2746-stable-sort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2746-stable-sort.js
index fbd3cf7d..671c0148 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2746-stable-sort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2746-stable-sort.js
@@ -4,7 +4,7 @@ oTest.fnStart( "2746 - Stable sorting" );
$(document).ready( function () {
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort",
null,
function () {
@@ -18,7 +18,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Reserve initial sort",
function () {
$('#example thead th:eq(0)').click();
@@ -34,7 +34,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Reserve to go back to initial sort sort",
function () {
$('#example thead th:eq(0)').click();
@@ -50,7 +50,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Reserve initial sort again",
function () {
$('#example thead th:eq(0)').click();
@@ -66,7 +66,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"And once more back to the initial sort",
function () {
$('#example thead th:eq(0)').click();
@@ -82,7 +82,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sort on second column",
function () {
$('#example thead th:eq(1)').click();
@@ -98,7 +98,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Reserve sort on second column",
function () {
$('#example thead th:eq(1)').click();
@@ -114,7 +114,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"And back to asc sorting on second column",
function () {
$('#example thead th:eq(1)').click();
@@ -130,7 +130,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sort on third column, having now sorted on second",
function () {
$('#example thead th:eq(2)').click();
@@ -146,7 +146,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Reserve sort on third column",
function () {
$('#example thead th:eq(2)').click();
@@ -162,7 +162,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Return sorting on third column to asc",
function () {
$('#example thead th:eq(2)').click();
@@ -178,7 +178,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sort on first column having sorted on second then third columns",
function () {
$('#example thead th:eq(0)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2799.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2799.js
index fe3a2c6c..97efa682 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2799.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2799.js
@@ -4,7 +4,7 @@ oTest.fnStart( "Initialise two tables" );
$(document).ready( function () {
$('table.display').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Check that initialisation was okay",
null,
function () { return true; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
index 435213f2..93fbdac8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
$('#example').dataTable().fnDestroy();
- oTest.fnTest(
+ oTest.fnTest(
"Width after destroy",
null,
function () { return $('#example').width() == "800"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2914-state-save-sort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2914-state-save-sort.js
index 0c616b6d..40083e86 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2914-state-save-sort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/2914-state-save-sort.js
@@ -8,13 +8,13 @@ $(document).ready( function () {
"aaSorting": []
} );
- oTest.fnTest(
+ oTest.fnTest(
"No sort",
null,
function () { return $('#example tbody td:eq(3)').html() == "4"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Next page",
function () {
$('#example').dataTable().fnPageChange( 'next' );
@@ -22,7 +22,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Destroy the table and remake it - checking we are still on the next page",
function () {
$('#example').dataTable( {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays.js
index 4ab695b2..70f2251f 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays.js
@@ -30,7 +30,7 @@ $(document).ready( function () {
"etc2",
[
[ "test2@daum.net", "2009-09-26" ],
- [ "test2@naver.com", "2009-05-21,hide" ],
+ [ "test2@naver.com", "2009-05-21,hide" ],
[ "lsb@naver.com", "2010-03-05" ],
[ "lsb3@naver.com", ",hide" ],
[ "sooboklee9@daum.net", "2010-03-05" ]
@@ -57,7 +57,7 @@ $(document).ready( function () {
});
- oTest.fnTest(
+ oTest.fnTest(
"Initialisation",
null,
function () {
@@ -65,7 +65,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Update row",
function () {
$('#example').dataTable().fnUpdate( [
@@ -75,7 +75,7 @@ $(document).ready( function () {
"etc2",
[
[ "test2@daum.net", "2009-09-26" ],
- [ "test2@naver.com", "2009-05-21,hide" ],
+ [ "test2@naver.com", "2009-05-21,hide" ],
[ "lsb@naver.com", "2010-03-05" ],
[ "lsb3@naver.com", ",hide" ],
[ "sooboklee9@daum.net", "2010-03-05" ]
@@ -89,7 +89,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Original row preserved",
null,
function () {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/5508-xscroll-zero-content.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/5508-xscroll-zero-content.js
index f71ae8f4..5ac7e097 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/5508-xscroll-zero-content.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/5508-xscroll-zero-content.js
@@ -7,13 +7,13 @@ $(document).ready( function () {
"bPaginate": false
} );
- oTest.fnTest(
+ oTest.fnTest(
"Width of container 800px on init with scroll",
null,
function () { return $('div.dataTables_scrollBody').width() == 800; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Unaltered when filter applied",
function () { $('#example').dataTable().fnFilter('123'); },
function () { return $('div.dataTables_scrollBody').width() == 800; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/6776-scrolling-table-grows.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/6776-scrolling-table-grows.js
index cfc70d5f..9d42536f 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/6776-scrolling-table-grows.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/6776-scrolling-table-grows.js
@@ -12,49 +12,49 @@ $(document).ready( function () {
var iWidth = $('div.dataTables_wrapper').width();
- oTest.fnTest(
+ oTest.fnTest(
"First sort has no effect on width",
function () { $('th:eq(1)').click(); },
function () { return $('div.dataTables_wrapper').width() == iWidth; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Second sort has no effect on width",
function () { $('th:eq(1)').click(); },
function () { return $('div.dataTables_wrapper').width() == iWidth; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Third sort has no effect on width",
function () { $('th:eq(2)').click(); },
function () { return $('div.dataTables_wrapper').width() == iWidth; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filter has no effect on width",
function () { oTable.fnFilter('i'); },
function () { return $('div.dataTables_wrapper').width() == iWidth; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filter 2 has no effect on width",
function () { oTable.fnFilter('in'); },
function () { return $('div.dataTables_wrapper').width() == iWidth; }
);
- oTest.fnTest(
+ oTest.fnTest(
"No result filter has header and body at same width",
function () { oTable.fnFilter('xxx'); },
function () { return $('#example').width() == $('div.dataTables_scrollHeadInner').width(); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filter with no results has no effect on width",
function () { oTable.fnFilter('xxx'); },
function () { return $('div.dataTables_wrapper').width() == iWidth; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filter with no results has table equal to wrapper width",
function () { oTable.fnFilter('xxx'); },
function () { return $('div.dataTables_wrapper').width() == $('#example').width(); }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/_zero_config.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/_zero_config.js
index b3a941f8..f98449a8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/_zero_config.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/_zero_config.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: dom_data
oTest.fnStart( "Sanity checks for DataTables with DOM data" );
-oTest.fnTest(
+oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -23,135 +23,135 @@ $(document).ready( function () {
$('#example').dataTable();
/* Basic checks */
- oTest.fnTest(
+ oTest.fnTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -233,14 +233,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -250,7 +250,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -261,7 +261,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -270,21 +270,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -293,14 +293,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -310,7 +310,7 @@ $(document).ready( function () {
*/
oTest.fnTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable();
@@ -321,21 +321,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -348,7 +348,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -379,21 +379,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -403,7 +403,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -413,7 +413,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -422,7 +422,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aaSorting.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aaSorting.js
index 848b85e4..291f1462 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aaSorting.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aaSorting.js
@@ -6,7 +6,7 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Default sorting is single column",
null,
function () {
@@ -14,7 +14,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Default sorting is first column asc",
null,
function () {
@@ -23,14 +23,14 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting is applied",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Custom sorting on single string column asc",
function () {
oSession.fnRestore();
@@ -42,7 +42,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Custom sorting on single string column desc",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Custom sorting on single int column asc",
function () {
oSession.fnRestore();
@@ -66,7 +66,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Custom sorting on single int column desc",
function () {
oSession.fnRestore();
@@ -78,7 +78,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string asc / string asc",
function () {
oSession.fnRestore();
@@ -89,7 +89,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string asc / string desc",
function () {
oSession.fnRestore();
@@ -100,7 +100,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string desc / string asc",
function () {
oSession.fnRestore();
@@ -111,7 +111,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "iPod Touch / iPhone"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string desc / string desc",
function () {
oSession.fnRestore();
@@ -123,7 +123,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string asc / int asc",
function () {
oSession.fnRestore();
@@ -134,7 +134,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string asc / int desc",
function () {
oSession.fnRestore();
@@ -145,7 +145,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1.9"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string desc / int asc",
function () {
oSession.fnRestore();
@@ -156,7 +156,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "125.5"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string desc / int desc",
function () {
oSession.fnRestore();
@@ -167,7 +167,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (3 column) - string asc / int asc / string asc",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aaSortingFixed.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aaSortingFixed.js
index bc470e21..07ce724e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aaSortingFixed.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aaSortingFixed.js
@@ -6,7 +6,7 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"No fixed sorting by default",
null,
function () {
@@ -15,7 +15,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -27,7 +27,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
@@ -35,7 +35,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -47,7 +47,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bSearchable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bSearchable.js
index 27c211a7..cf2dcf36 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bSearchable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bSearchable.js
@@ -6,13 +6,13 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Columns are searchable by default",
function () { oTable.fnFilter("Camino"); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html().match(/Camino/); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Disabling sorting on a column removes it from the global filter",
function () {
oSession.fnRestore();
@@ -31,13 +31,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Disabled on one column has no effect on other columns",
function () { oTable.fnFilter("Webkit"); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Disable filtering on multiple columns",
function () {
oSession.fnRestore();
@@ -56,7 +56,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filter on second disabled column",
function () { oTable.fnFilter("Camino"); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bSortable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bSortable.js
index bbb41cd6..5435dad5 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bSortable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bSortable.js
@@ -6,13 +6,13 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"All columns are sortable by default",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Can disable sorting from one column",
function () {
oSession.fnRestore();
@@ -30,13 +30,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Disabled column has no sorting class",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
@@ -45,7 +45,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == "X"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Disable sorting on multiple columns - no sorting classes",
function () {
oSession.fnRestore();
@@ -60,14 +60,14 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example thead th:eq(1)').hasClass("sorting") ||
$('#example thead th:eq(3)').hasClass("sorting")
return bReturn == false;
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on disabled column 1 has no effect",
function () {
$('#example thead th:eq(1)').click();
@@ -75,7 +75,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -83,7 +83,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Second sort on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -91,7 +91,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Even with multiple disabled sorting columns other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bUseRendered.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bUseRendered.js
index 161c4121..98860c5c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bUseRendered.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bUseRendered.js
@@ -26,13 +26,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Default for bUseRendered is true - rendered data is used for sorting",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'aaa'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"When bUseRendered is false, original data is used for sorting",
function () {
mTmp = 0;
@@ -40,7 +40,7 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"aoColumns": [
null,
- {
+ {
"bUseRendered": false,
"fnRender": function (a) {
if ( mTmp == 0 ) {
@@ -62,7 +62,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"bUseRendered set to false on one columns and true (default) on two others",
function () {
mTmp = 0;
@@ -82,7 +82,7 @@ $(document).ready( function () {
}
}
},
- {
+ {
"bUseRendered": false,
"fnRender": function (a) {
if ( mTmp2 == 0 ) {
@@ -111,13 +111,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'aaa1'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column rendering - 2nd column sorting",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column rendering - 3rd column sorting",
function () {
$('#example thead th:eq(2)').click();
@@ -126,13 +126,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(2)').html() == 'zzz3'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column rendering - 4th column sorting",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == '-'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column rendering - 5th column sorting",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bVisible.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bVisible.js
index 84f1ee60..b158c0b0 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bVisible.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bVisible.js
@@ -6,13 +6,13 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"All columns are visible by default",
null,
function () { return $('#example tbody tr:eq(0) td').length == 5; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide one column and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -29,24 +29,24 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide one column and it removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide one column and it removes tfoot th column from DOM",
null,
function () { return $('#example tfoot tr:eq(0) th').length == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"The correct thead column has been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Platform(s)" &&
jqNodes[2].innerHTML == "Engine version" &&
@@ -55,14 +55,14 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"The correct tbody column has been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "Gnome" &&
jqNodes[2].innerHTML == "1.8" &&
@@ -72,7 +72,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide multiple columns and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -89,38 +89,38 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multiple hide - removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multiple hide - removes tfoot th column from DOM",
null,
function () { return $('#example tfoot tr:eq(0) th').length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multiple hide - the correct thead columns have been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Engine version"
return bReturn;
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Multiple hide - the correct tbody columns have been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "1"
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bVisible2.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bVisible2.js
index 5dbe214f..015412cc 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bVisible2.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.bVisible2.js
@@ -6,13 +6,13 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"All columns are visible by default",
null,
function () { return $('#example tbody tr:eq(0) td').length == 5; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Hide the first column",
function () {
oSession.fnRestore();
@@ -60,7 +60,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Hide the second column",
function () {
oSession.fnRestore();
@@ -132,7 +132,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Hide the first two columns",
function () {
oSession.fnRestore();
@@ -192,7 +192,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Hide the third column",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.fnRender.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.fnRender.js
index 8060ddb8..11ad1ba8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.fnRender.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.fnRender.js
@@ -18,13 +18,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Single column - fnRender is called once for each row",
null,
function () { return mTmp == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Confirm that fnRender passes two arguments with four parameters",
function () {
mTmp = true;
@@ -50,7 +50,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRender iDataColumn is row number",
function () {
var iCount = 0;
@@ -76,7 +76,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRender iDataColumn is the column",
function () {
mTmp = true;
@@ -100,7 +100,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRender aData is data array of correct size",
function () {
mTmp = true;
@@ -124,7 +124,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -143,7 +143,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'unittest'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -162,7 +162,7 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(0) td:eq(2)').html() == 'unittest1' &&
$('#example tbody tr:eq(0) td:eq(3)').html() == 'unittest2';
return bReturn; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.iDataSort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.iDataSort.js
index e9366ff4..c41b25f8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.iDataSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.iDataSort.js
@@ -16,32 +16,32 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on first column is uneffected",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on second column is the order of the fifth",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Reserve sorting on second column uses fifth column as well",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on 5th column retains it's own sorting",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Use 2nd col for sorting 5th col and via-versa - no effect on first col sorting",
function () {
mTmp = 0;
@@ -59,25 +59,25 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"2nd col sorting uses fifth col",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"2nd col sorting uses fifth col - reversed",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"5th col sorting uses 2nd col",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"5th col sorting uses 2nd col - reversed",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'Seamonkey 1.1'; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sClass.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sClass.js
index 09149bb0..7dbad2e5 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sClass.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sClass.js
@@ -6,13 +6,13 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"By default the test class hasn't been applied to the column (sanity!)",
null,
function () { return $('#example tbody tr:eq(0) td:eq(2)').hasClass('unittest') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - first row",
function () {
oSession.fnRestore();
@@ -29,50 +29,50 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - third row",
null,
function () { return $('#example tbody tr:eq(3) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - last row",
null,
function () { return $('#example tbody tr:eq(9) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - has not applied to other columns - 1st",
null,
function () { return $('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - has not applied to other columns - 5th",
null,
function () { return $('#example tbody tr:eq(3) td:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - seventh row - second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody tr:eq(6) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - has not applied to header",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - has not applied to footer",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Class defined for multiple columns - first row",
function () {
oSession.fnRestore();
@@ -87,20 +87,20 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest2') &&
$('#example tbody tr:eq(8) td:eq(3)').hasClass('unittest1');
return bReturn;
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Class defined for multiple columns - has not applied to other columns - 5th 1",
null,
function () { return $('#example tbody tr:eq(0) td:eq(4)').hasClass('unittest1') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Class defined for multiple columns - has not applied to other columns - 5th 2",
null,
function () { return $('#example tbody tr:eq(6) td:eq(4)').hasClass('unittest2') == false; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sName.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sName.js
index 14a4c189..309fe7f5 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sName.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sName.js
@@ -16,7 +16,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Names are stored in the columns object",
null,
function () { return oSettings.aoColumns[3].sName =="unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sTitle.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sTitle.js
index 5ebac2f4..58adf13f 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sTitle.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sTitle.js
@@ -6,12 +6,12 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Column names are read from the DOM by default",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Browser" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -21,7 +21,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Can set a single column title - and others are read from DOM",
function () {
oSession.fnRestore();
@@ -37,7 +37,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -47,7 +47,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Can set multiple column titles",
function () {
oSession.fnRestore();
@@ -63,7 +63,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test 1" &&
jqNodes[2].innerHTML == "Platform(s)" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sWidth.js
index e2777f67..ea146271 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoColumns.sWidth.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: dom_data
oTest.fnStart( "aoColumns.sWidth" );
-/* NOTE - we need to disable the auto width for the majority of these test in order to preform
+/* NOTE - we need to disable the auto width for the majority of these test in order to preform
* these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests
* with auto width enabled however to ensure it scales columns as required
*/
@@ -20,13 +20,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"With auto width disabled the width for one column is appled",
null,
function () { return $('#example thead th:eq(1)')[0].style.width == "40%"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"With auto width disabled the width for one column is appled",
function () {
oSession.fnRestore();
@@ -50,7 +50,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"With auto width, it will make the smallest column the largest with percentage width given",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoSearchCols.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoSearchCols.js
index 9a1a3ece..28300f5e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoSearchCols.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/aoSearchCols.js
@@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Default should be to have a empty colums array",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.aoPreSearchCols[0].sSearch == 0 && !oSettings.aoPreSearchCols[0].bRegex &&
oSettings.aoPreSearchCols[1].sSearch == 0 && !oSettings.aoPreSearchCols[1].bRegex &&
oSettings.aoPreSearchCols[2].sSearch == 0 && !oSettings.aoPreSearchCols[2].bRegex &&
@@ -23,7 +23,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Search on a single column - no regex statement given",
function () {
oSession.fnRestore();
@@ -40,7 +40,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search on two columns - no regex statement given",
function () {
oSession.fnRestore();
@@ -57,7 +57,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "1.5"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search on single column - escape regex false",
function () {
oSession.fnRestore();
@@ -74,7 +74,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "Showing 1 to 3 of 3 entries (filtered from 57 total entries)"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search on two columns - escape regex false on first, true on second",
function () {
oSession.fnRestore();
@@ -91,7 +91,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Konqureror 3.3"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search on two columns (no records) - escape regex false on first, true on second",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/asStripClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/asStripClasses.js
index 906fc788..77fde853 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/asStripClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/asStripClasses.js
@@ -5,7 +5,7 @@ $(document).ready( function () {
/* Check the default */
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Default row striping is applied",
null,
function () {
@@ -16,7 +16,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Row striping does not effect current classes",
null,
function () {
@@ -27,7 +27,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Row striping on the second page",
function () { $('#example_next').click(); },
function () {
@@ -39,7 +39,7 @@ $(document).ready( function () {
);
/* No striping */
- oTest.fnTest(
+ oTest.fnTest(
"No row striping",
function () {
oSession.fnRestore();
@@ -56,7 +56,7 @@ $(document).ready( function () {
);
/* Custom striping */
- oTest.fnTest(
+ oTest.fnTest(
"Custom striping [2]",
function () {
oSession.fnRestore();
@@ -74,7 +74,7 @@ $(document).ready( function () {
/* long array of striping */
- oTest.fnTest(
+ oTest.fnTest(
"Custom striping [4]",
function () {
oSession.fnRestore();
@@ -90,7 +90,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Custom striping is restarted on second page [2]",
function () { $('#example_next').click(); },
function () {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bAutoWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bAutoWidth.js
index e88930bd..50c7ea57 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bAutoWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bAutoWidth.js
@@ -3,7 +3,7 @@ oTest.fnStart( "bAutoWidth" );
/* It's actually a little tricky to test this. We can't test absolute numbers because
* different browsers and different platforms will render the width of the columns slightly
- * differently. However, we certainly can test the principle of what should happen (column
+ * differently. However, we certainly can test the principle of what should happen (column
* width doesn't change over pages)
*/
@@ -12,13 +12,13 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Auto width is enabled by default",
null,
function () { return oSettings.oFeatures.bAutoWidth; }
);
- oTest.fnTest(
+ oTest.fnTest(
"First column has a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style').match(/width/i); }
@@ -28,7 +28,7 @@ $(document).ready( function () {
This would seem like a better test - but there appear to be difficulties with tables
which are bigger (calculated) than there is actually room for. I suspect this is actually
a bug in datatables
- oTest.fnTest(
+ oTest.fnTest(
"Check column widths on first page match second page",
null,
function () {
@@ -52,7 +52,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check column widths on second page match thid page",
null,
function () {
@@ -77,7 +77,7 @@ $(document).ready( function () {
*/
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Auto width can be disabled",
function () {
oSession.fnRestore();
@@ -89,14 +89,14 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bAutoWidth == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"First column does not have a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style') == null; }
);
/*
- oTest.fnTest(
+ oTest.fnTest(
"Check column widths on first page do not match second page",
null,
function () {
@@ -121,7 +121,7 @@ $(document).ready( function () {
*/
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Auto width enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bFilter.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bFilter.js
index f4ec3158..87e37228 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bFilter.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bFilter.js
@@ -5,14 +5,14 @@ $(document).ready( function () {
/* Check the default */
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists by default",
null,
function () { return document.getElementById('example_filter') != null; }
);
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Fltering can be disabled",
function () {
oSession.fnRestore();
@@ -24,7 +24,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Filtering enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bInfiniteScroll.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bInfiniteScroll.js
index ce73892b..701e23ab 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bInfiniteScroll.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bInfiniteScroll.js
@@ -8,118 +8,118 @@ $(document).ready( function () {
"sScrollY": "200px"
} );
- oTest.fnTest(
+ oTest.fnTest(
"10 rows by default",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info",
null,
function () { return $('#example_info').html() == "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes",
null,
function () { return $('#example tbody>tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Scroll on 20px adds 10 rows",
function () { $('div.dataTables_scrollBody').scrollTop(20); },
function () { return $('#example tbody tr').length == 20; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info after 20px scroll",
null,
function () { return $('#example_info').html() == "Showing 1 to 20 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes after 20px scroll",
null,
function () { return $('#example tbody>tr').length == 20; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Scroll on 10px more results in the same number of rows",
function () { $('div.dataTables_scrollBody').scrollTop(30); },
function () { return $('#example tbody tr').length == 20; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info after 10 more px scroll",
null,
function () { return $('#example_info').html() == "Showing 1 to 20 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Scroll to 240px adds another 10 rows",
function () { $('div.dataTables_scrollBody').scrollTop(240); },
function () { return $('#example tbody tr').length == 30; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info after 240px scroll",
null,
function () { return $('#example_info').html() == "Showing 1 to 30 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes after 240px scroll",
null,
function () { return $('#example tbody>tr').length == 30; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering will drop back to 10 rows",
- function () {
+ function () {
$('div.dataTables_scrollBody').scrollTop(0);
oTable.fnFilter('gec')
},
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info after filtering",
null,
function () { return $('#example_info').html() == "Showing 1 to 10 of 20 entries (filtered from 57 total entries)"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes after filtering",
null,
function () { return $('#example tbody>tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Scroll after filtering adds 10",
function () { $('div.dataTables_scrollBody').scrollTop(20); },
function () { return $('#example tbody tr').length == 20; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes after filtering",
null,
function () { return $('#example tbody>tr').length == 20; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting will drop back to 10 rows",
function () { oTable.fnSort([[1,'asc']]) },
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Scroll after sorting adds 10",
function () { $('div.dataTables_scrollBody').scrollTop(20); },
function () { return $('#example tbody tr').length == 20; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes after scrolling",
null,
function () { return $('#example tbody>tr').length == 20; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bInfo.js
index 54d470f0..3c621301 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bInfo.js
@@ -5,14 +5,14 @@ $(document).ready( function () {
/* Check the default */
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Info div exists by default",
null,
function () { return document.getElementById('example_info') != null; }
);
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Info can be disabled",
function () {
oSession.fnRestore();
@@ -24,7 +24,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Info enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bJQueryUI.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bJQueryUI.js
index 6c685468..d3537b15 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bJQueryUI.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bJQueryUI.js
@@ -6,7 +6,7 @@ $(document).ready( function () {
"bJQueryUI": true
} );
- oTest.fnTest(
+ oTest.fnTest(
"Header elements are fully wrapped by DIVs",
null,
function () {
@@ -20,7 +20,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"One div for each header element",
null,
function () {
@@ -28,7 +28,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"One span for each header element, nested as child of div",
null,
function () {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bLengthChange.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bLengthChange.js
index 1c8ef40b..3087e302 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bLengthChange.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bLengthChange.js
@@ -5,7 +5,7 @@ $(document).ready( function () {
/* Check the default */
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Length div exists by default",
null,
function () { return document.getElementById('example_length') != null; }
@@ -30,12 +30,12 @@ $(document).ready( function () {
oTest.fnTest(
"Info takes length into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Change length can be disabled",
function () {
oSession.fnRestore();
@@ -49,12 +49,12 @@ $(document).ready( function () {
oTest.fnTest(
"Information takes length disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Length change enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bPaginate.js
index 560114e3..cddcb4b4 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bPaginate.js
@@ -5,7 +5,7 @@ $(document).ready( function () {
/* Check the default */
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Pagiantion div exists by default",
null,
function () { return document.getElementById('example_paginate') != null; }
@@ -14,12 +14,12 @@ $(document).ready( function () {
oTest.fnTest(
"Information div takes paging into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -33,12 +33,12 @@ $(document).ready( function () {
oTest.fnTest(
"Information div takes paging disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 57 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Pagiantion enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bProcessing.js
index e342a40c..cd74aee7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bProcessing.js
@@ -12,25 +12,25 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Processing is off by default",
null,
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div cannot be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div cannot be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing') == null; }
@@ -38,7 +38,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Processing can be enabled",
function () {
oSession.fnRestore();
@@ -50,32 +50,32 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == true; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is hidden by default",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div can be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "visible"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div can be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Processing disabled override",
function () {
oSession.fnRestore();
@@ -87,7 +87,7 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bServerSide.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bServerSide.js
index c6aacec6..f9bdb340 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bServerSide.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bServerSide.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Server side is off by default",
null,
function () { return oSettings.oFeatures.bServerSide == false; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSort.js
index ecaf168e..c24ff31d 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSort.js
@@ -5,13 +5,13 @@ $(document).ready( function () {
/* Check the default */
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Sorting is on by default",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting Asc by default class applied",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc"); }
@@ -23,13 +23,13 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting class removed from first column",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc") != true; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting asc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc"); }
@@ -41,20 +41,20 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting acs class removed from second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") != true; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting desc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_desc"); }
);
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -84,7 +84,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSortCellsTop.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSortCellsTop.js
index fc550d5d..a0794209 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSortCellsTop.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSortCellsTop.js
@@ -6,38 +6,38 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Sorting class is on the bottom cells by default",
null,
function () { return $('#example thead tr:eq(1) th:eq(0)').hasClass('sorting_asc'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting is performed on bottom cells",
function () { return $('#example thead tr:eq(1) th:eq(0)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting class is updated on the bottom cells",
null,
function () { return $('#example thead tr:eq(1) th:eq(0)').hasClass('sorting_desc'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Clicking on top cells has no effect",
function () { return $('#example thead tr:eq(0) th:eq(0)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Clicking on another top cell has no effect",
function () { return $('#example thead tr:eq(0) th:eq(3)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting class is on the top cell when bSortCellsTop is true",
function () {
oSession.fnRestore();
@@ -48,25 +48,25 @@ $(document).ready( function () {
function () { return $('#example thead tr:eq(0) th:eq(0)').hasClass('sorting_asc'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting is performed on top cells now",
function () { return $('#example thead tr:eq(0) th:eq(0)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting class is updated on the top cells",
null,
function () { return $('#example thead tr:eq(0) th:eq(0)').hasClass('sorting_desc'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Clicking on bottom cells has no effect",
function () { return $('#example thead tr:eq(1) th:eq(0)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Clicking on another bottom cell has no effect",
function () { return $('#example thead tr:eq(1) th:eq(3)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSortClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSortClasses.js
index 97f0c1fc..47234afb 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSortClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/bSortClasses.js
@@ -5,27 +5,27 @@ $(document).ready( function () {
/* Check the default */
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes are applied by default",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes are applied to all required cells",
null,
function () { return $('#example tbody tr:eq(7) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes are not applied to non-sorting columns",
null,
function () { return $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_1') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - add column 1",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -33,9 +33,9 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - add column 2",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -44,9 +44,9 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - add column 3",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(3)')[0], { 'shift': true } );
},
function () {
@@ -57,9 +57,9 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Remove sorting classes on single column sort",
- function () {
+ function () {
$('#example thead th:eq(4)').click();
},
function () {
@@ -70,7 +70,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting class 1 was added",
null,
function () { return $('#example tbody tr:eq(1) td:eq(4)').hasClass('sorting_1'); }
@@ -78,7 +78,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes can be disabled",
function () {
oSession.fnRestore();
@@ -89,9 +89,9 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes disabled - add column 1 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -99,9 +99,9 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes disabled - add column 2 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -112,7 +112,7 @@ $(document).ready( function () {
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCookieCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCookieCallback.js
index 31d03936..813b14b0 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCookieCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCookieCallback.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
* stringify function to serialise the data array
*/
- oTest.fnTest(
+ oTest.fnTest(
"null by default",
function () {
$('#example').dataTable();
@@ -16,7 +16,7 @@ $(document).ready( function () {
function () { return $('#example').dataTable().fnSettings().fnCookieCallback == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Number of arguments",
function () {
$('#example').dataTable( {
@@ -31,7 +31,7 @@ $(document).ready( function () {
function () { return mPass == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Name",
function () {
$('#example').dataTable( {
@@ -46,7 +46,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data",
function () {
$('#example').dataTable( {
@@ -61,7 +61,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Expires",
function () {
$('#example').dataTable( {
@@ -76,7 +76,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Path",
function () {
$('#example').dataTable( {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCreatedCell.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCreatedCell.js
index 1de49671..ee13ad60 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCreatedCell.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCreatedCell.js
@@ -13,13 +13,13 @@ $(document).ready( function () {
} ]
} );
- oTest.fnTest(
+ oTest.fnTest(
"Cell created is called once for each cell on init",
null,
function () { return tmp===285; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Created isn't called back on other draws",
function () { $('#example th:eq(1)').click(); },
function () { return tmp===285; }
@@ -27,7 +27,7 @@ $(document).ready( function () {
oTest.fnTest(
"Four arguments for the function",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -47,7 +47,7 @@ $(document).ready( function () {
oTest.fnTest(
"First argument is a TD element",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -67,7 +67,7 @@ $(document).ready( function () {
oTest.fnTest(
"Second argument is the HTML value",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -87,7 +87,7 @@ $(document).ready( function () {
oTest.fnTest(
"Third argument is the data array",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -107,7 +107,7 @@ $(document).ready( function () {
oTest.fnTest(
"Fourth argument is the data source for the row",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -127,7 +127,7 @@ $(document).ready( function () {
oTest.fnTest(
"Fifth argument is the the col index",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCreatedRow.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCreatedRow.js
index e408f709..c6eb07e4 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCreatedRow.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnCreatedRow.js
@@ -10,13 +10,13 @@ $(document).ready( function () {
}
} );
- oTest.fnTest(
+ oTest.fnTest(
"Row created is called once for each row on init",
null,
function () { return tmp===57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Created isn't called back on other draws",
function () { $('#example th:eq(1)').click(); },
function () { return tmp===57; }
@@ -24,7 +24,7 @@ $(document).ready( function () {
oTest.fnTest(
"Three arguments for the function",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -41,7 +41,7 @@ $(document).ready( function () {
oTest.fnTest(
"First argument is a TR element",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -58,7 +58,7 @@ $(document).ready( function () {
oTest.fnTest(
"Second argument is an array with 5 elements",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -75,7 +75,7 @@ $(document).ready( function () {
oTest.fnTest(
"Third argument is the data source for the row",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -92,7 +92,7 @@ $(document).ready( function () {
oTest.fnTest(
"TR element is tied to the correct data",
- function () {
+ function () {
oSession.fnRestore();
tmp = false;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnDeleteRow.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnDeleteRow.js
index 29a0b3fd..5d8f6ec6 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnDeleteRow.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnDeleteRow.js
@@ -6,19 +6,19 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Check that the default data is sane",
null,
function () { return oSettings.asDataSearch.join(' ').match(/4.0/g).length == 3; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Remove the first data row, and check that hte search data has been updated",
function () { oTable.fnDeleteRow( 0 ); },
function () { return oSettings.asDataSearch.join(' ').match(/4.0/g).length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Check that the info element has been updated",
null,
function () { return $('#example_info').html() == "Showing 1 to 10 of 56 entries"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnDrawCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnDrawCallback.js
index ffa5f814..c497c946 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnDrawCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnDrawCallback.js
@@ -9,14 +9,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Default should be null",
null,
function () { return oSettings.fnDrawCallback == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"One argument passed",
function () {
oSession.fnRestore();
@@ -32,7 +32,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -47,7 +47,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called once on first draw",
function () {
oSession.fnRestore();
@@ -62,7 +62,7 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called once on each draw there after as well",
function () {
$('#example_next').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnFilter.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnFilter.js
index 1e18b22d..7e3050ce 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnFilter.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnFilter.js
@@ -6,7 +6,7 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
oTable.fnFilter(1);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering with a non-string input is valid",
null,
function () { return $('#example_info').html() == "Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnFooterCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnFooterCallback.js
index a02f8de2..10375015 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnFooterCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnFooterCallback.js
@@ -7,14 +7,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Default should be null",
null,
function () { return oSettings.fnFooterCallback == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Five arguments passed",
function () {
oSession.fnRestore();
@@ -30,7 +30,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called once per draw",
function () {
oSession.fnRestore();
@@ -45,14 +45,14 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called on paging (i.e. another draw)",
function () { $('#example_next').click(); },
function () { return mPass == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -66,7 +66,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array has length matching original data",
function () {
oSession.fnRestore();
@@ -84,7 +84,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array's column lengths match original data",
function () {
oSession.fnRestore();
@@ -106,7 +106,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iStart correct on first page",
function () {
oSession.fnRestore();
@@ -125,7 +125,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iStart correct on second page",
function () {
oSession.fnRestore();
@@ -145,7 +145,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iEnd correct on first page",
function () {
oSession.fnRestore();
@@ -164,7 +164,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iEnd correct on second page",
function () {
oSession.fnRestore();
@@ -184,7 +184,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"aiDisplay length is full data when not filtered",
function () {
oSession.fnRestore();
@@ -202,7 +202,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"aiDisplay length is 9 when filtering on 'Mozilla'",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnHeaderCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnHeaderCallback.js
index 0acc4877..91a025c7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnHeaderCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnHeaderCallback.js
@@ -7,14 +7,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Default should be null",
null,
function () { return oSettings.fnHeaderCallback == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Five arguments passed",
function () {
oSession.fnRestore();
@@ -30,7 +30,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called once per draw",
function () {
oSession.fnRestore();
@@ -45,14 +45,14 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called on paging (i.e. another draw)",
function () { $('#example_next').click(); },
function () { return mPass == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -66,7 +66,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array has length matching original data",
function () {
oSession.fnRestore();
@@ -84,7 +84,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array's column lengths match original data",
function () {
oSession.fnRestore();
@@ -106,7 +106,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iStart correct on first page",
function () {
oSession.fnRestore();
@@ -125,7 +125,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iStart correct on second page",
function () {
oSession.fnRestore();
@@ -145,7 +145,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iEnd correct on first page",
function () {
oSession.fnRestore();
@@ -164,7 +164,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iEnd correct on second page",
function () {
oSession.fnRestore();
@@ -184,7 +184,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"aiDisplay length is full data when not filtered",
function () {
oSession.fnRestore();
@@ -202,7 +202,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"aiDisplay length is 9 when filtering on 'Mozilla'",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnInfoCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnInfoCallback.js
index b4501d5f..91a74a82 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnInfoCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnInfoCallback.js
@@ -7,13 +7,13 @@ $(document).ready( function () {
$('#example').dataTable();
/* Basic checks */
- oTest.fnTest(
+ oTest.fnTest(
"null by default",
null,
function () { return $('#example').dataTable().fnSettings().oLanguage.fnInfoCallback == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Agrument length",
function () {
$('#example').dataTable( {
@@ -27,7 +27,7 @@ $(document).ready( function () {
function () { return mPass == 6; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Settings first",
function () {
$('#example').dataTable( {
@@ -41,7 +41,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Start arg",
function () {
$('#example').dataTable( {
@@ -54,7 +54,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"End arg",
function () {
$('#example').dataTable( {
@@ -67,7 +67,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "10"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Max arg",
function () {
$('#example').dataTable( {
@@ -80,7 +80,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "57"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Max arg - filter",
function () {
$('#example').dataTable().fnFilter("1.0");
@@ -88,7 +88,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "57"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Total arg",
function () {
$('#example').dataTable( {
@@ -101,7 +101,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "57"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Total arg - filter",
function () {
$('#example').dataTable().fnFilter("1.0");
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnInitComplete.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnInitComplete.js
index 1659d124..3b238290 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnInitComplete.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnInitComplete.js
@@ -9,14 +9,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Default should be null",
null,
function () { return oSettings.fnInitComplete == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Two arguments passed",
function () {
oSession.fnRestore();
@@ -32,7 +32,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -47,7 +47,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"fnInitComplete called once on first draw",
function () {
oSession.fnRestore();
@@ -62,7 +62,7 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnInitComplete never called there after",
function () {
$('#example_next').click();
@@ -73,7 +73,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows in the table on complete",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnRowCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnRowCallback.js
index df4e72f7..2f248811 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnRowCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnRowCallback.js
@@ -9,14 +9,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Default should be null",
null,
function () { return oSettings.fnRowCallback == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Four arguments passed",
function () {
oSession.fnRestore();
@@ -33,7 +33,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called once for each drawn row",
function () {
oSession.fnRestore();
@@ -49,7 +49,7 @@ $(document).ready( function () {
function () { return mPass == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -63,7 +63,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1)').hasClass('unit_test'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
@@ -80,7 +80,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnSetColumnVis.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnSetColumnVis.js
index 41d85e7c..d2733a69 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnSetColumnVis.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnSetColumnVis.js
@@ -6,13 +6,13 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"All columns are visible by default",
null,
function () { return $('#example tbody tr:eq(0) td').length == 5; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide one column and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -22,24 +22,24 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide one column and it removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide one column and it removes tfoot th column from DOM",
null,
function () { return $('#example tfoot tr:eq(0) th').length == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"The correct thead column has been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Platform(s)" &&
jqNodes[2].innerHTML == "Engine version" &&
@@ -48,14 +48,14 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"The correct tbody column has been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "Gnome" &&
jqNodes[2].innerHTML == "1.8" &&
@@ -65,7 +65,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide multiple columns and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -77,38 +77,38 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multiple hide - removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multiple hide - removes tfoot th column from DOM",
null,
function () { return $('#example tfoot tr:eq(0) th').length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multiple hide - the correct thead columns have been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Engine version"
return bReturn;
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Multiple hide - the correct tbody columns have been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "1"
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnSetColumnVis2.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnSetColumnVis2.js
index 722fe11b..fe795378 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnSetColumnVis2.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/fnSetColumnVis2.js
@@ -6,13 +6,13 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"All columns are visible by default",
null,
function () { return $('#example tbody tr:eq(0) td').length == 5; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Hide the first column",
function () {
$('#example').dataTable().fnSetColumnVis( 0, false );
@@ -51,7 +51,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Hide the second column",
function () {
$('#example').dataTable().fnSetColumnVis( 0, true );
@@ -115,7 +115,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Hide the first two columns",
function () {
$('#example').dataTable().fnSetColumnVis( 0, false );
@@ -167,7 +167,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Hide the third column",
function () {
$('#example').dataTable().fnSetColumnVis( 0, true );
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/html-autodetect-sort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/html-autodetect-sort.js
index c0f4ec50..57964135 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/html-autodetect-sort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/html-autodetect-sort.js
@@ -4,7 +4,7 @@ oTest.fnStart( "HTML auto detect" );
$(document).ready( function () {
var oTable = $('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort",
null,
function () {
@@ -16,7 +16,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"HTML sort",
function () { $('#example thead th:eq(1)').click() },
function () {
@@ -28,7 +28,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"HTML reverse sort",
function () { $('#example thead th:eq(1)').click() },
function () {
@@ -40,7 +40,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Numeric sort",
function () { $('#example thead th:eq(0)').click() },
function () {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/iDisplayLength.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/iDisplayLength.js
index 8d4b5ae6..d3985659 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/iDisplayLength.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/iDisplayLength.js
@@ -5,20 +5,20 @@ $(document).ready( function () {
/* Check the default */
$('#example').dataTable();
- oTest.fnTest(
+ oTest.fnTest(
"Default length is ten",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Select menu shows 10",
null,
function () { return $('#example_length select').val() == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Set initial length to 25",
function () {
oSession.fnRestore();
@@ -29,14 +29,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Set initial length to 100",
function () {
oSession.fnRestore();
@@ -47,14 +47,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 100; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Set initial length to 23 (unknown select menu length)",
function () {
oSession.fnRestore();
@@ -65,7 +65,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 23; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Select menu shows 10 (since 23 is unknow)",
null,
function () { return $('#example_length select').val() == 10; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.oPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.oPaginate.js
index e840348a..4b0f235f 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.oPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.oPaginate.js
@@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( { "sPaginationType": "full_numbers" } );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate defaults",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "First" &&
oSettings.oLanguage.oPaginate.sPrevious == "Previous" &&
oSettings.oLanguage.oPaginate.sNext == "Next" &&
@@ -21,11 +21,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate defaults are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "First" &&
$('#example_paginate .previous').html() == "Previous" &&
$('#example_paginate .next').html() == "Next" &&
@@ -35,7 +35,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate can be defined",
function () {
oSession.fnRestore();
@@ -53,7 +53,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "unit1" &&
oSettings.oLanguage.oPaginate.sPrevious == "test2" &&
oSettings.oLanguage.oPaginate.sNext == "unit3" &&
@@ -62,11 +62,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate definitions are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "unit1" &&
$('#example_paginate .previous').html() == "test2" &&
$('#example_paginate .next').html() == "unit3" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfo.js
index 25b23f44..234917c4 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfo.js
@@ -6,20 +6,20 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Info language is 'Showing _START_ to _END_ of _TOTAL_ entries' by default",
null,
function () { return oSettings.oLanguage.sInfo == "Showing _START_ to _END_ of _TOTAL_ entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - without any macros",
function () {
oSession.fnRestore();
@@ -33,13 +33,13 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfo == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - with macro _START_ only",
function () {
oSession.fnRestore();
@@ -52,7 +52,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - with macro _END_ only",
function () {
oSession.fnRestore();
@@ -65,7 +65,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 10 test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - with macro _TOTAL_ only",
function () {
oSession.fnRestore();
@@ -78,7 +78,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 57 test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - with macros _START_ and _END_",
function () {
oSession.fnRestore();
@@ -91,7 +91,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 10 test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - with macros _START_, _END_ and _TOTAL_",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfoEmpty.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfoEmpty.js
index 188984fc..adc5cc1f 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfoEmpty.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfoEmpty.js
@@ -6,17 +6,17 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language is 'Showing 0 to 0 of 0 entries' by default",
function () { oTable.fnFilter("nothinghere"); },
function () { return oSettings.oLanguage.sInfoEmpty == "Showing 0 to 0 of 0 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"Showing 0 to 0 of 0 entries";
return bReturn;
@@ -24,7 +24,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language can be defined",
function () {
oSession.fnRestore();
@@ -39,11 +39,11 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoEmpty == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit test";
return bReturn;
@@ -51,7 +51,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Macro's replaced",
function () {
oSession.fnRestore();
@@ -63,7 +63,7 @@ $(document).ready( function () {
oTable.fnFilter("nothinghere");
},
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit 1 0 0 test";
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfoPostFix.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfoPostFix.js
index f948c729..920bc80d 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfoPostFix.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sInfoPostFix.js
@@ -6,20 +6,20 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Info post fix language is '' (blank) by default",
null,
function () { return oSettings.oLanguage.sInfoPostFix == ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Width no post fix, the basic info shows",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info post fix language can be defined",
function () {
oSession.fnRestore();
@@ -33,14 +33,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoPostFix == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Macros have no effect in the post fix",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Post fix is applied after fintering info",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sLengthMenu.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sLengthMenu.js
index 89f131e3..ac513c45 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sLengthMenu.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sLengthMenu.js
@@ -6,7 +6,7 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Menu language is 'Show _MENU_ entries' by default",
null,
function () { return oSettings.oLanguage.sLengthMenu == "Show _MENU_ entries"; }
@@ -37,7 +37,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Menu length language can be defined - no _MENU_ macro",
function () {
oSession.fnRestore();
@@ -51,7 +51,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sLengthMenu == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Menu length language definition is in the DOM",
null,
function () {
@@ -60,7 +60,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Menu length language can be defined - with _MENU_ macro",
function () {
oSession.fnRestore();
@@ -81,7 +81,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Only the _MENU_ macro",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sProcessing.js
index 55518adc..007b5135 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sProcessing.js
@@ -8,20 +8,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Processing language is 'Processing...' by default",
null,
function () { return oSettings.oLanguage.sProcessing == "Processing..."; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language default is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "Processing..."; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language can be defined",
function () {
oSession.fnRestore();
@@ -36,7 +36,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sProcessing == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language definition is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sSearch.js
index 60db49e5..7cb4ba21 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sSearch.js
@@ -6,7 +6,7 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Search language is 'Search:' by default",
null,
function () { return oSettings.oLanguage.sSearch == "Search:"; }
@@ -18,7 +18,7 @@ $(document).ready( function () {
function () { return $('label', oSettings.aanFeatures.f[0]).length == 1 }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search language default is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text()
@@ -26,7 +26,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Search language can be defined",
function () {
oSession.fnRestore();
@@ -40,14 +40,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sSearch == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text().indexOf('unit test') !== -1; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Blank search has a no (separator) inserted",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sUrl.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sUrl.js
index 61d2a932..5f0d0cf5 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sUrl.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sUrl.js
@@ -10,14 +10,14 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"sUrl is blank by default",
null,
function () { return oSettings.oLanguage.sUrl == ""; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Loading of German file loads language information",
function () {
oSession.fnRestore();
@@ -29,7 +29,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.sProcessing == "Bitte warten..." &&
oSettings.oLanguage.sLengthMenu == "_MENU_ Einträge anzeigen" &&
oSettings.oLanguage.sZeroRecords == "Keine Einträge vorhanden." &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sZeroRecords.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sZeroRecords.js
index 72aec437..3134957c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sZeroRecords.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sZeroRecords.js
@@ -6,7 +6,7 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Zero records language is 'No matching records found' by default",
null,
function () { return oSettings.oLanguage.sZeroRecords == "No matching records found"; }
@@ -20,7 +20,7 @@ $(document).ready( function () {
- oTest.fnTest(
+ oTest.fnTest(
"Zero records language can be defined",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oSearch.js
index 8d23ee3d..7a96cbf4 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oSearch.js
@@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Default values should be blank",
null,
function () {
- var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
+ var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
!oSettings.oPreviousSearch.bRegex;
return bReturn;
}
@@ -19,7 +19,7 @@ $(document).ready( function () {
/* This test might be considered iffy since the full object isn't given, but it's reasonable to
* expect DataTables to cope with this. It should just assumine regex false
*/
- oTest.fnTest(
+ oTest.fnTest(
"Search term only in object",
function () {
oSession.fnRestore();
@@ -32,7 +32,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Gecko"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"New search will kill old one",
function () {
oTable.fnFilter("Opera");
@@ -40,7 +40,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search plain text term and escape regex true",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Nintendo DS browser"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search plain text term and escape regex false",
function () {
oSession.fnRestore();
@@ -68,7 +68,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search regex text term and escape regex true",
function () {
oSession.fnRestore();
@@ -82,7 +82,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search regex text term and escape regex false",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sAjaxSource.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sAjaxSource.js
index ac61f9bd..dc86ad87 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sAjaxSource.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sAjaxSource.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Server side is off by default",
null,
function () { return oSettings.sAjaxSource == null; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sDom.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sDom.js
index 165071c6..8401ec0a 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sDom.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sDom.js
@@ -8,13 +8,13 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Default DOM varaible",
null,
function () { return oSettings.sDom == "lfrtip"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Default DOM in document",
null,
function () {
@@ -26,7 +26,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -37,7 +37,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check example 1 in code propagates",
function () {
oSession.fnRestore();
@@ -49,7 +49,7 @@ $(document).ready( function () {
function () { return oSettings.sDom == '<"wrapper"flipt>'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Check example 1 in DOM",
null,
function () {
@@ -74,7 +74,7 @@ $(document).ready( function () {
var nTable = document.getElementById('example');
var nCustomWrapper = $('div.wrapper')[0];
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrapper &&
nNodes[2] == nFilter &&
@@ -86,7 +86,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check example 2 in DOM",
function () {
oSession.fnRestore();
@@ -122,7 +122,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrappers[0] &&
nNodes[2] == nLength &&
@@ -135,7 +135,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check no length element",
function () {
oSession.fnRestore();
@@ -152,7 +152,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
null == nLength &&
nNodes[1] == nFilter &&
@@ -163,7 +163,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check no filter element",
function () {
oSession.fnRestore();
@@ -180,7 +180,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
null == nFilter &&
@@ -193,7 +193,7 @@ $(document).ready( function () {
/* Note we don't test for no table as this is not supported (and it would be fairly daft! */
- oTest.fnTest(
+ oTest.fnTest(
"Check no info element",
function () {
oSession.fnRestore();
@@ -210,7 +210,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -221,7 +221,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check no paging element",
function () {
oSession.fnRestore();
@@ -238,7 +238,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -249,7 +249,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Element with an id",
function () {
$('#example').dataTable( {
@@ -262,7 +262,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Element with an id and a class",
function () {
$('#example').dataTable( {
@@ -275,7 +275,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Element with just a class",
function () {
$('#example').dataTable( {
@@ -288,7 +288,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Two elements with an id",
function () {
$('#example').dataTable( {
@@ -301,7 +301,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Two elements with an id and one with a class",
function () {
$('#example').dataTable( {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sPaginationType.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sPaginationType.js
index 8d975f55..3fea13b7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sPaginationType.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sPaginationType.js
@@ -6,43 +6,43 @@ $(document).ready( function () {
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Check two button paging is the default",
null,
function () { return oSettings.sPaginationType == "two_button"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Check class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_two_button'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Two A elements are in the wrapper",
null,
function () { return $('#example_paginate a').length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"We have the previous button",
null,
function () { return document.getElementById('example_previous'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"We have the next button",
null,
function () { return document.getElementById('example_next'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Previous button is disabled",
null,
function () { return $('#example_previous').hasClass('paginate_disabled_previous'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Next button is enabled",
null,
function () { return $('#example_next').hasClass('paginate_enabled_next'); }
@@ -52,7 +52,7 @@ $(document).ready( function () {
/* Two buttons paging */
- oTest.fnTest(
+ oTest.fnTest(
"Can enabled full numbers paging",
function () {
oSession.fnRestore();
@@ -64,7 +64,7 @@ $(document).ready( function () {
function () { return oSettings.sPaginationType == "full_numbers"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Check full numbers class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_full_numbers'); }
@@ -72,7 +72,7 @@ $(document).ready( function () {
var nFirst, nPrevious, nNext, nLast;
- oTest.fnTest(
+ oTest.fnTest(
"Jump to last page",
function () {
nFirst = $('div.dataTables_paginate a.first');
@@ -86,7 +86,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Go to two pages previous",
function () {
nPrevious.click();
@@ -97,7 +97,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Next (second last) page",
function () {
nNext.click();
@@ -107,7 +107,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Jump to first page",
function () {
nFirst.click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sScrollXY.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sScrollXY.js
index d9a61195..58991d23 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sScrollXY.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/sScrollXY.js
@@ -13,37 +13,37 @@ $(document).ready( function () {
"bPaginate": false
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Header follows x-scrolling",
function () { $('div.dataTables_scrollBody').scrollLeft(20); },
function () { return $('div.dataTables_scrollHead').scrollLeft() == 20; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Footer follows x-scrolling",
null,
function () { return $('div.dataTables_scrollFoot').scrollLeft() == 20; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"y-scrolling has no effect on header",
function () { $('div.dataTables_scrollBody').scrollTop(20); },
function () { return $('div.dataTables_scrollHead').scrollLeft() == 20; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering results in sets y-scroll back to 0",
function () { oTable.fnFilter('1') },
function () { return $('div.dataTables_scrollBody').scrollTop() == 0; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering has no effect on x-scroll",
null,
function () { return $('div.dataTables_scrollBody').scrollLeft() == 20; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Full x-scroll has header track all the way with it",
function () {
$('div.dataTables_scrollBody').scrollLeft(
@@ -53,7 +53,7 @@ $(document).ready( function () {
function () { return $('div.dataTables_scrollBody').scrollLeft() == $('div.dataTables_scrollHead').scrollLeft(); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Footer also tracked all the way",
null,
function () { return $('div.dataTables_scrollBody').scrollLeft() == $('div.dataTables_scrollFoot').scrollLeft(); }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/th_in_body.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/th_in_body.js
index bbf5ee3a..53c241ba 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/th_in_body.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/th_in_body.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: dom_data_th
oTest.fnStart( "Sanity checks for DataTables with DOM data and a TH in the body" );
-oTest.fnTest(
+oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -23,135 +23,135 @@ $(document).ready( function () {
$('#example').dataTable();
/* Basic checks */
- oTest.fnTest(
+ oTest.fnTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -233,14 +233,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -250,7 +250,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -261,7 +261,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -270,21 +270,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -293,14 +293,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -310,7 +310,7 @@ $(document).ready( function () {
*/
oTest.fnTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable();
@@ -321,21 +321,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -348,7 +348,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -379,21 +379,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -403,7 +403,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -413,7 +413,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -422,7 +422,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/6872-default-content-missing-props.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/6872-default-content-missing-props.js
index 5ae4126b..e9c384d6 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/6872-default-content-missing-props.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/6872-default-content-missing-props.js
@@ -31,13 +31,13 @@ $(document).ready( function () {
]
} );
- oTest.fnTest(
+ oTest.fnTest(
"Basic initialisation of objects works",
null,
function () { return $('#example tbody td:eq(0)').html() === "a"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Error when property missing (no default content)",
function () {
oSession.fnRestore();
@@ -68,7 +68,7 @@ $(document).ready( function () {
function () { return test; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Default content used for missing prop and no error",
function () {
oSession.fnRestore();
@@ -100,7 +100,7 @@ $(document).ready( function () {
* Deep properties with a single object
*/
- oTest.fnTest(
+ oTest.fnTest(
"Basic test with deep properties",
function () {
oSession.fnRestore();
@@ -129,7 +129,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(0)').html() === "a"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Error when property missing on deep get (no default content)",
function () {
oSession.fnRestore();
@@ -162,7 +162,7 @@ $(document).ready( function () {
function () { return test; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Default content used for missing prop on deep get and no error",
function () {
oSession.fnRestore();
@@ -196,7 +196,7 @@ $(document).ready( function () {
* Deep properties with individual objects
*/
- oTest.fnTest(
+ oTest.fnTest(
"Basic test with deep individual properties",
function () {
oSession.fnRestore();
@@ -223,7 +223,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(0)').html() === "a"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Error when property missing on deep individual get (no default content)",
function () {
oSession.fnRestore();
@@ -254,7 +254,7 @@ $(document).ready( function () {
function () { return test; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Default content used for missing prop on deep individual get and no error",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/8549--string-sorting-nonstrings.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/8549--string-sorting-nonstrings.js
index 57ffebc0..b3b0320e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/8549--string-sorting-nonstrings.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/8549--string-sorting-nonstrings.js
@@ -24,19 +24,19 @@ $(document).ready( function () {
]
} );
- oTest.fnTest(
+ oTest.fnTest(
"Sorting works - first cell is empty",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() === ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Second cell is 1a",
null,
function () { return $('#example tbody tr:eq(1) td:eq(0)').html() === "1a"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Third cell is 5",
null,
function () { return $('#example tbody tr:eq(2) td:eq(0)').html() === "5"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/_zero_config.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/_zero_config.js
index 51abbad2..58a8d6ae 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/_zero_config.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/_zero_config.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: js_data
oTest.fnStart( "Sanity checks for DataTables with data from JS" );
-oTest.fnTest(
+oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -26,135 +26,135 @@ $(document).ready( function () {
$('#example').dataTable( oInit );
/* Basic checks */
- oTest.fnTest(
+ oTest.fnTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -236,14 +236,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -253,7 +253,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -264,7 +264,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -273,21 +273,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -296,14 +296,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -313,7 +313,7 @@ $(document).ready( function () {
*/
oTest.fnTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable( oInit );
@@ -324,21 +324,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -351,7 +351,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -382,21 +382,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -406,7 +406,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -416,7 +416,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -425,7 +425,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aaSorting.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aaSorting.js
index 3b16828e..12b528b7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aaSorting.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aaSorting.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Default sorting is single column",
null,
function () {
@@ -16,7 +16,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Default sorting is first column asc",
null,
function () {
@@ -25,14 +25,14 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting is applied",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Custom sorting on single string column asc",
function () {
oSession.fnRestore();
@@ -45,7 +45,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Custom sorting on single string column desc",
function () {
oSession.fnRestore();
@@ -58,7 +58,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Custom sorting on single int column asc",
function () {
oSession.fnRestore();
@@ -71,7 +71,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Custom sorting on single int column desc",
function () {
oSession.fnRestore();
@@ -84,7 +84,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string asc / string asc",
function () {
oSession.fnRestore();
@@ -96,7 +96,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string asc / string desc",
function () {
oSession.fnRestore();
@@ -108,7 +108,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string desc / string asc",
function () {
oSession.fnRestore();
@@ -120,7 +120,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "iPod Touch / iPhone"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string desc / string desc",
function () {
oSession.fnRestore();
@@ -133,7 +133,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string asc / int asc",
function () {
oSession.fnRestore();
@@ -145,7 +145,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string asc / int desc",
function () {
oSession.fnRestore();
@@ -157,7 +157,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1.9"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string desc / int asc",
function () {
oSession.fnRestore();
@@ -169,7 +169,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "125.5"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (2 column) - string desc / int desc",
function () {
oSession.fnRestore();
@@ -181,7 +181,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column sorting (3 column) - string asc / int asc / string asc",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aaSortingFixed.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aaSortingFixed.js
index a28e6101..be5b2f07 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aaSortingFixed.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aaSortingFixed.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"No fixed sorting by default",
null,
function () {
@@ -17,7 +17,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -30,7 +30,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
@@ -38,7 +38,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -51,7 +51,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bSearchable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bSearchable.js
index 4ce91588..64ab0e42 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bSearchable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bSearchable.js
@@ -8,13 +8,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Columns are searchable by default",
function () { oTable.fnFilter("Camino"); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html().match(/Camino/); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Disabling sorting on a column removes it from the global filter",
function () {
oSession.fnRestore();
@@ -34,13 +34,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Disabled on one column has no effect on other columns",
function () { oTable.fnFilter("Webkit"); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Disable filtering on multiple columns",
function () {
oSession.fnRestore();
@@ -60,7 +60,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filter on second disabled column",
function () { oTable.fnFilter("Camino"); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bSortable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bSortable.js
index 4e4548d1..47a88281 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bSortable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bSortable.js
@@ -8,13 +8,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"All columns are sortable by default",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Can disable sorting from one column",
function () {
oSession.fnRestore();
@@ -33,13 +33,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Disabled column has no sorting class",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
@@ -48,7 +48,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == "X"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Disable sorting on multiple columns - no sorting classes",
function () {
oSession.fnRestore();
@@ -64,14 +64,14 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example thead th:eq(1)').hasClass("sorting") ||
$('#example thead th:eq(3)').hasClass("sorting")
return bReturn == false;
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on disabled column 1 has no effect",
function () {
$('#example thead th:eq(1)').click();
@@ -79,7 +79,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -87,7 +87,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Second sort on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -95,7 +95,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Even with multiple disabled sorting columns other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bUseRendered.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bUseRendered.js
index 2e3a9489..068d7656 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bUseRendered.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bUseRendered.js
@@ -27,13 +27,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Default for bUseRendered is true - rendered data is used for sorting",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'aaa'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"When bUseRendered is false, original data is used for sorting",
function () {
mTmp = 0;
@@ -42,7 +42,7 @@ $(document).ready( function () {
"aaData": gaaData,
"aoColumns": [
null,
- {
+ {
"bUseRendered": false,
"fnRender": function (a) {
if ( mTmp == 0 ) {
@@ -64,7 +64,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"bUseRendered set to false on one columns and true (default) on two others",
function () {
mTmp = 0;
@@ -85,7 +85,7 @@ $(document).ready( function () {
}
}
},
- {
+ {
"bUseRendered": false,
"fnRender": function (a) {
if ( mTmp2 == 0 ) {
@@ -114,13 +114,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'aaa1'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column rendering - 2nd column sorting",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column rendering - 3rd column sorting",
function () {
$('#example thead th:eq(2)').click();
@@ -129,13 +129,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(2)').html() == 'zzz3'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column rendering - 4th column sorting",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == '-'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multi-column rendering - 5th column sorting",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bVisible.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bVisible.js
index e38948ce..b7c6c745 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bVisible.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.bVisible.js
@@ -8,13 +8,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"All columns are visible by default",
null,
function () { return $('#example tbody tr:eq(0) td').length == 5; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide one column and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -32,26 +32,26 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide one column and it removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide one column and it removes tfoot th column from DOM",
null,
function () { return $('#example tfoot tr:eq(0) th').length == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"The correct tbody column has been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "Gnome" &&
jqNodes[2].innerHTML == "1.8" &&
@@ -61,7 +61,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Can hide multiple columns and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -79,26 +79,26 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multiple hide - removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multiple hide - removes tfoot th column from DOM",
null,
function () { return $('#example tfoot tr:eq(0) th').length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Multiple hide - the correct tbody columns have been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "1"
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.fnRender.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.fnRender.js
index cb89aeb9..6d868424 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.fnRender.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.fnRender.js
@@ -19,13 +19,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Single column - fnRender is called once for each row",
null,
function () { return mTmp == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Confirm that fnRender passes two arguments with four parameters",
function () {
mTmp = true;
@@ -52,7 +52,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRender iDataColumn is the column",
function () {
mTmp = true;
@@ -77,7 +77,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRender aData is data array of correct size",
function () {
mTmp = true;
@@ -102,7 +102,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -122,7 +122,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'unittest'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -142,7 +142,7 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(0) td:eq(2)').html() == 'unittest1' &&
$('#example tbody tr:eq(0) td:eq(3)').html() == 'unittest2';
return bReturn; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.iDataSort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.iDataSort.js
index 6c0c7057..972cceb3 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.iDataSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.iDataSort.js
@@ -17,32 +17,32 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on first column is uneffected",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on second column is the order of the fifth",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Reserve sorting on second column uses fifth column as well",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting on 5th column retains it's own sorting",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Use 2nd col for sorting 5th col and via-versa - no effect on first col sorting",
function () {
mTmp = 0;
@@ -61,25 +61,25 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"2nd col sorting uses fifth col",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"2nd col sorting uses fifth col - reversed",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"5th col sorting uses 2nd col",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"5th col sorting uses 2nd col - reversed",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'Seamonkey 1.1'; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sClass.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sClass.js
index b99cf181..de3f4d9e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sClass.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sClass.js
@@ -8,13 +8,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"By default the test class hasn't been applied to the column (sanity!)",
null,
function () { return $('#example tbody tr:eq(0) td:eq(2)').hasClass('unittest') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - first row",
function () {
oSession.fnRestore();
@@ -32,50 +32,50 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - third row",
null,
function () { return $('#example tbody tr:eq(3) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - last row",
null,
function () { return $('#example tbody tr:eq(9) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - has not applied to other columns - 1st",
null,
function () { return $('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - has not applied to other columns - 5th",
null,
function () { return $('#example tbody tr:eq(3) td:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - seventh row - second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody tr:eq(6) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - has not applied to header",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Add a class to a single column - has not applied to footer",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Class defined for multiple columns - first row",
function () {
oSession.fnRestore();
@@ -91,20 +91,20 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest2') &&
$('#example tbody tr:eq(8) td:eq(3)').hasClass('unittest1');
return bReturn;
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Class defined for multiple columns - has not applied to other columns - 5th 1",
null,
function () { return $('#example tbody tr:eq(0) td:eq(4)').hasClass('unittest1') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Class defined for multiple columns - has not applied to other columns - 5th 2",
null,
function () { return $('#example tbody tr:eq(6) td:eq(4)').hasClass('unittest2') == false; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sName.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sName.js
index b11f58cb..bd033ef7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sName.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sName.js
@@ -17,7 +17,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Names are stored in the columns object",
null,
function () { return oSettings.aoColumns[3].sName =="unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sTitle.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sTitle.js
index da13f1c2..99dbc1dd 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sTitle.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sTitle.js
@@ -8,12 +8,12 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"If not given, then the columns titles are empty",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Browser" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -23,7 +23,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Can set a single column title - and others are read from DOM",
function () {
oSession.fnRestore();
@@ -40,7 +40,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -50,7 +50,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Can set multiple column titles",
function () {
oSession.fnRestore();
@@ -67,7 +67,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test 1" &&
jqNodes[2].innerHTML == "Platform(s)" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sWidth.js
index 960c0561..086a0e18 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoColumns.sWidth.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: js_data
oTest.fnStart( "aoColumns.sWidth" );
-/* NOTE - we need to disable the auto width for the majority of these test in order to preform
+/* NOTE - we need to disable the auto width for the majority of these test in order to preform
* these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests
* with auto width enabled however to ensure it scales columns as required
*/
@@ -21,13 +21,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"With auto width disabled the width for one column is appled",
null,
function () { return $('#example thead th:eq(1)')[0].style.width == "40%"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"With auto width disabled the width for one column is appled",
function () {
oSession.fnRestore();
@@ -52,7 +52,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"With auto width, it will make the smallest column the largest with percentage width given",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoSearchCols.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoSearchCols.js
index ac70b387..822b40fe 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoSearchCols.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/aoSearchCols.js
@@ -10,11 +10,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Default should be to have a empty colums array",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.aoPreSearchCols[0].sSearch == 0 && !oSettings.aoPreSearchCols[0].bRegex &&
oSettings.aoPreSearchCols[1].sSearch == 0 && !oSettings.aoPreSearchCols[1].bRegex &&
oSettings.aoPreSearchCols[2].sSearch == 0 && !oSettings.aoPreSearchCols[2].bRegex &&
@@ -25,7 +25,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Search on a single column - no regex statement given",
function () {
oSession.fnRestore();
@@ -43,7 +43,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search on two columns - no regex statement given",
function () {
oSession.fnRestore();
@@ -61,7 +61,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "1.5"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search on single column - escape regex false",
function () {
oSession.fnRestore();
@@ -79,7 +79,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "Showing 1 to 3 of 3 entries (filtered from 57 total entries)"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search on two columns - escape regex false on first, true on second",
function () {
oSession.fnRestore();
@@ -97,7 +97,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Konqureror 3.3"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search on two columns (no records) - escape regex false on first, true on second",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/asStripClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/asStripClasses.js
index fa3af827..71d8d254 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/asStripClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/asStripClasses.js
@@ -7,7 +7,7 @@ $(document).ready( function () {
"aaData": gaaData
} );
- oTest.fnTest(
+ oTest.fnTest(
"Default row striping is applied",
null,
function () {
@@ -18,7 +18,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Row striping on the second page",
function () { $('#example_next').click(); },
function () {
@@ -30,7 +30,7 @@ $(document).ready( function () {
);
/* No striping */
- oTest.fnTest(
+ oTest.fnTest(
"No row striping",
function () {
oSession.fnRestore();
@@ -48,7 +48,7 @@ $(document).ready( function () {
);
/* Custom striping */
- oTest.fnTest(
+ oTest.fnTest(
"Custom striping [2]",
function () {
oSession.fnRestore();
@@ -67,7 +67,7 @@ $(document).ready( function () {
/* long array of striping */
- oTest.fnTest(
+ oTest.fnTest(
"Custom striping [4]",
function () {
oSession.fnRestore();
@@ -84,7 +84,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Custom striping is restarted on second page [2]",
function () { $('#example_next').click(); },
function () {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bAutoWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bAutoWidth.js
index 094fe15b..205deccc 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bAutoWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bAutoWidth.js
@@ -3,7 +3,7 @@ oTest.fnStart( "bAutoWidth" );
/* It's actually a little tricky to test this. We can't test absolute numbers because
* different browsers and different platforms will render the width of the columns slightly
- * differently. However, we certainly can test the principle of what should happen (column
+ * differently. However, we certainly can test the principle of what should happen (column
* width doesn't change over pages)
*/
@@ -14,13 +14,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Auto width is enabled by default",
null,
function () { return oSettings.oFeatures.bAutoWidth; }
);
- oTest.fnTest(
+ oTest.fnTest(
"First column has a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style').match(/width/i); }
@@ -30,7 +30,7 @@ $(document).ready( function () {
This would seem like a better test - but there appear to be difficulties with tables
which are bigger (calculated) than there is actually room for. I suspect this is actually
a bug in datatables
- oTest.fnTest(
+ oTest.fnTest(
"Check column widths on first page match second page",
null,
function () {
@@ -54,7 +54,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check column widths on second page match thid page",
null,
function () {
@@ -79,7 +79,7 @@ $(document).ready( function () {
*/
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Auto width can be disabled",
function () {
oSession.fnRestore();
@@ -92,14 +92,14 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bAutoWidth == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"First column does not have a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style') == null; }
);
/*
- oTest.fnTest(
+ oTest.fnTest(
"Check column widths on first page do not match second page",
null,
function () {
@@ -124,7 +124,7 @@ $(document).ready( function () {
*/
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Auto width enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bFilter.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bFilter.js
index d838e4ad..a272114a 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bFilter.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bFilter.js
@@ -7,14 +7,14 @@ $(document).ready( function () {
"aaData": gaaData
} );
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists by default",
null,
function () { return document.getElementById('example_filter') != null; }
);
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Fltering can be disabled",
function () {
oSession.fnRestore();
@@ -27,7 +27,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Filtering enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bInfo.js
index 60a42734..662c92a9 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bInfo.js
@@ -7,14 +7,14 @@ $(document).ready( function () {
"aaData": gaaData
} );
- oTest.fnTest(
+ oTest.fnTest(
"Info div exists by default",
null,
function () { return document.getElementById('example_info') != null; }
);
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Info can be disabled",
function () {
oSession.fnRestore();
@@ -27,7 +27,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Info enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bLengthChange.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bLengthChange.js
index d67b4d2d..4e1a8987 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bLengthChange.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bLengthChange.js
@@ -7,7 +7,7 @@ $(document).ready( function () {
"aaData": gaaData
} );
- oTest.fnTest(
+ oTest.fnTest(
"Length div exists by default",
null,
function () { return document.getElementById('example_length') != null; }
@@ -32,12 +32,12 @@ $(document).ready( function () {
oTest.fnTest(
"Info takes length into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Change length can be disabled",
function () {
oSession.fnRestore();
@@ -52,12 +52,12 @@ $(document).ready( function () {
oTest.fnTest(
"Information takes length disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Length change enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bPaginate.js
index d386bbf0..25f0616f 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bPaginate.js
@@ -7,7 +7,7 @@ $(document).ready( function () {
"aaData": gaaData
} );
- oTest.fnTest(
+ oTest.fnTest(
"Pagiantion div exists by default",
null,
function () { return document.getElementById('example_paginate') != null; }
@@ -16,12 +16,12 @@ $(document).ready( function () {
oTest.fnTest(
"Information div takes paging into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -36,12 +36,12 @@ $(document).ready( function () {
oTest.fnTest(
"Information div takes paging disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 57 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Pagiantion enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bProcessing.js
index 1408656f..388e70f1 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bProcessing.js
@@ -14,25 +14,25 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Processing is off by default",
null,
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div cannot be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div cannot be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing') == null; }
@@ -40,7 +40,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Processing can be enabled",
function () {
oSession.fnRestore();
@@ -53,32 +53,32 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == true; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is hidden by default",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div can be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "visible"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div can be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Processing disabled override",
function () {
oSession.fnRestore();
@@ -91,7 +91,7 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bServerSide.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bServerSide.js
index 65c75b1a..15ac8cac 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bServerSide.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bServerSide.js
@@ -10,7 +10,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Server side is off by default",
null,
function () { return oSettings.oFeatures.bServerSide == false; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bSort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bSort.js
index 9107937b..c2b99891 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bSort.js
@@ -7,13 +7,13 @@ $(document).ready( function () {
"aaData": gaaData
} );
- oTest.fnTest(
+ oTest.fnTest(
"Sorting is on by default",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting Asc by default class applied",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc"); }
@@ -25,13 +25,13 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting class removed from first column",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc") != true; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting asc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc"); }
@@ -43,20 +43,20 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting acs class removed from second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") != true; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting desc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_desc"); }
);
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -81,7 +81,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bSortClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bSortClasses.js
index 5726561f..3b200904 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bSortClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/bSortClasses.js
@@ -7,27 +7,27 @@ $(document).ready( function () {
"aaData": gaaData
} );
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes are applied by default",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes are applied to all required cells",
null,
function () { return $('#example tbody tr:eq(7) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes are not applied to non-sorting columns",
null,
function () { return $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_1') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - add column 1",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -35,9 +35,9 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - add column 2",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -46,9 +46,9 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - add column 3",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(3)')[0], { 'shift': true } );
},
function () {
@@ -59,9 +59,9 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Remove sorting classes on single column sort",
- function () {
+ function () {
$('#example thead th:eq(4)').click();
},
function () {
@@ -72,7 +72,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting class 1 was added",
null,
function () { return $('#example tbody tr:eq(1) td:eq(4)').hasClass('sorting_1'); }
@@ -80,7 +80,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes can be disabled",
function () {
oSession.fnRestore();
@@ -92,9 +92,9 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes disabled - add column 1 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -102,9 +102,9 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes disabled - add column 2 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -115,7 +115,7 @@ $(document).ready( function () {
/* Enable makes no difference */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting classes enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnCreatedCell.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnCreatedCell.js
index 59fe717d..333f23d5 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnCreatedCell.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnCreatedCell.js
@@ -14,13 +14,13 @@ $(document).ready( function () {
} ]
} );
- oTest.fnTest(
+ oTest.fnTest(
"Cell created is called once for each cell on init",
null,
function () { return tmp===285; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Created isn't called back on other draws",
function () { $('#example th:eq(1)').click(); },
function () { return tmp===285; }
@@ -28,7 +28,7 @@ $(document).ready( function () {
oTest.fnTest(
"Four arguments for the function",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -49,7 +49,7 @@ $(document).ready( function () {
oTest.fnTest(
"First argument is a TD element",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -70,7 +70,7 @@ $(document).ready( function () {
oTest.fnTest(
"Second argument is the HTML value",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -91,7 +91,7 @@ $(document).ready( function () {
oTest.fnTest(
"Third argument is the data array",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -112,7 +112,7 @@ $(document).ready( function () {
oTest.fnTest(
"Fourth argument is the data source for the row",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -133,7 +133,7 @@ $(document).ready( function () {
oTest.fnTest(
"Fifth argument is the the col index",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnCreatedRow.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnCreatedRow.js
index 72b2ddde..069b3b4e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnCreatedRow.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnCreatedRow.js
@@ -11,13 +11,13 @@ $(document).ready( function () {
}
} );
- oTest.fnTest(
+ oTest.fnTest(
"Row created is called once for each row on init",
null,
function () { return tmp===57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Created isn't called back on other draws",
function () { $('#example th:eq(1)').click(); },
function () { return tmp===57; }
@@ -25,7 +25,7 @@ $(document).ready( function () {
oTest.fnTest(
"Three arguments for the function",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -43,7 +43,7 @@ $(document).ready( function () {
oTest.fnTest(
"First argument is a TR element",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -61,7 +61,7 @@ $(document).ready( function () {
oTest.fnTest(
"Second argument is an array with 5 elements",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -79,7 +79,7 @@ $(document).ready( function () {
oTest.fnTest(
"Third argument is the data source for the row",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
@@ -97,7 +97,7 @@ $(document).ready( function () {
oTest.fnTest(
"TR element is tied to the correct data",
- function () {
+ function () {
oSession.fnRestore();
tmp = false;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnDrawCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnDrawCallback.js
index 28d5871d..fee9da8c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnDrawCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnDrawCallback.js
@@ -11,14 +11,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Default should be null",
null,
function () { return oSettings.fnDrawCallback == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"One argument passed",
function () {
oSession.fnRestore();
@@ -35,7 +35,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -51,7 +51,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called once on first draw",
function () {
oSession.fnRestore();
@@ -67,7 +67,7 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called once on each draw there after as well",
function () {
$('#example_next').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnFooterCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnFooterCallback.js
index f16b921c..7e37f565 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnFooterCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnFooterCallback.js
@@ -9,14 +9,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Default should be null",
null,
function () { return oSettings.fnFooterCallback == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Five arguments passed",
function () {
oSession.fnRestore();
@@ -33,7 +33,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called once per draw",
function () {
oSession.fnRestore();
@@ -49,14 +49,14 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called on paging (i.e. another draw)",
function () { $('#example_next').click(); },
function () { return mPass == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -71,7 +71,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array has length matching original data",
function () {
oSession.fnRestore();
@@ -90,7 +90,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array's column lengths match original data",
function () {
oSession.fnRestore();
@@ -113,7 +113,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iStart correct on first page",
function () {
oSession.fnRestore();
@@ -133,7 +133,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iStart correct on second page",
function () {
oSession.fnRestore();
@@ -154,7 +154,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iEnd correct on first page",
function () {
oSession.fnRestore();
@@ -174,7 +174,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iEnd correct on second page",
function () {
oSession.fnRestore();
@@ -195,7 +195,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"aiDisplay length is full data when not filtered",
function () {
oSession.fnRestore();
@@ -214,7 +214,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"aiDisplay length is 9 when filtering on 'Mozilla'",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnHeaderCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnHeaderCallback.js
index 124500f5..7de6a6ed 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnHeaderCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnHeaderCallback.js
@@ -9,14 +9,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Default should be null",
null,
function () { return oSettings.fnHeaderCallback == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Five arguments passed",
function () {
oSession.fnRestore();
@@ -33,7 +33,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called once per draw",
function () {
oSession.fnRestore();
@@ -49,14 +49,14 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called on paging (i.e. another draw)",
function () { $('#example_next').click(); },
function () { return mPass == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -71,7 +71,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array has length matching original data",
function () {
oSession.fnRestore();
@@ -90,7 +90,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array's column lengths match original data",
function () {
oSession.fnRestore();
@@ -113,7 +113,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iStart correct on first page",
function () {
oSession.fnRestore();
@@ -133,7 +133,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iStart correct on second page",
function () {
oSession.fnRestore();
@@ -154,7 +154,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iEnd correct on first page",
function () {
oSession.fnRestore();
@@ -174,7 +174,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"iEnd correct on second page",
function () {
oSession.fnRestore();
@@ -195,7 +195,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"aiDisplay length is full data when not filtered",
function () {
oSession.fnRestore();
@@ -214,7 +214,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"aiDisplay length is 9 when filtering on 'Mozilla'",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnInitComplete.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnInitComplete.js
index 08580e5b..c5b33551 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnInitComplete.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnInitComplete.js
@@ -11,14 +11,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Default should be null",
null,
function () { return oSettings.fnInitComplete == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Two arguments passed",
function () {
oSession.fnRestore();
@@ -35,7 +35,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -51,7 +51,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"fnInitComplete called once on first draw",
function () {
oSession.fnRestore();
@@ -67,7 +67,7 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnInitComplete never called there after",
function () {
$('#example_next').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnRowCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnRowCallback.js
index db8f442d..2364cfd7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnRowCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/fnRowCallback.js
@@ -11,14 +11,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Default should be null",
null,
function () { return oSettings.fnRowCallback == null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Four arguments passed",
function () {
oSession.fnRestore();
@@ -36,7 +36,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback called once for each drawn row",
function () {
oSession.fnRestore();
@@ -53,7 +53,7 @@ $(document).ready( function () {
function () { return mPass == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -68,7 +68,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1)').hasClass('unit_test'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
@@ -86,7 +86,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/iDisplayLength.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/iDisplayLength.js
index fcefbfa9..0afb9bf8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/iDisplayLength.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/iDisplayLength.js
@@ -7,20 +7,20 @@ $(document).ready( function () {
"aaData": gaaData
} );
- oTest.fnTest(
+ oTest.fnTest(
"Default length is ten",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Select menu shows 10",
null,
function () { return $('#example_length select').val() == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Set initial length to 25",
function () {
oSession.fnRestore();
@@ -32,14 +32,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Set initial length to 100",
function () {
oSession.fnRestore();
@@ -51,14 +51,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 100; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Set initial length to 23 (unknown select menu length)",
function () {
oSession.fnRestore();
@@ -70,7 +70,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 23; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Select menu shows 10 (since 23 is unknow)",
null,
function () { return $('#example_length select').val() == 10; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/js_data_mixed_types.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/js_data_mixed_types.js
index cb1543ed..cc71e638 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/js_data_mixed_types.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/js_data_mixed_types.js
@@ -7,13 +7,13 @@ $(document).ready( function () {
};
$('#example').dataTable( oInit );
- oTest.fnTest(
+ oTest.fnTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "" &&
@@ -21,92 +21,92 @@ $(document).ready( function () {
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "true"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody tr:eq(1) td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody tr:eq(1) td:eq(0)').html() == "Gecko" &&
$('#example tbody tr:eq(1) td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == ""; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Firefox 2.0"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == ""; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -188,14 +188,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -205,7 +205,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -216,7 +216,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -225,21 +225,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -248,14 +248,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -265,7 +265,7 @@ $(document).ready( function () {
*/
oTest.fnTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable( oInit );
@@ -276,21 +276,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -303,7 +303,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -334,21 +334,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 5 of 5 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -358,7 +358,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -368,7 +368,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -377,7 +377,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.oPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.oPaginate.js
index 0e872c0b..7b6232d7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.oPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.oPaginate.js
@@ -11,11 +11,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate defaults",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "First" &&
oSettings.oLanguage.oPaginate.sPrevious == "Previous" &&
oSettings.oLanguage.oPaginate.sNext == "Next" &&
@@ -24,11 +24,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate defaults are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "First" &&
$('#example_paginate .previous').html() == "Previous" &&
$('#example_paginate .next').html() == "Next" &&
@@ -38,7 +38,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate can be defined",
function () {
oSession.fnRestore();
@@ -57,7 +57,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "unit1" &&
oSettings.oLanguage.oPaginate.sPrevious == "test2" &&
oSettings.oLanguage.oPaginate.sNext == "unit3" &&
@@ -66,11 +66,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate definitions are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "unit1" &&
$('#example_paginate .previous').html() == "test2" &&
$('#example_paginate .next').html() == "unit3" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfo.js
index 0ce3ef47..89ece4ff 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfo.js
@@ -8,20 +8,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Info language is 'Showing _START_ to _END_ of _TOTAL_ entries' by default",
null,
function () { return oSettings.oLanguage.sInfo == "Showing _START_ to _END_ of _TOTAL_ entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - without any macros",
function () {
oSession.fnRestore();
@@ -36,13 +36,13 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfo == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - with macro _START_ only",
function () {
oSession.fnRestore();
@@ -56,7 +56,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - with macro _END_ only",
function () {
oSession.fnRestore();
@@ -70,7 +70,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 10 test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - with macro _TOTAL_ only",
function () {
oSession.fnRestore();
@@ -84,7 +84,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 57 test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - with macros _START_ and _END_",
function () {
oSession.fnRestore();
@@ -98,7 +98,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 10 test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language can be defined - with macros _START_, _END_ and _TOTAL_",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfoEmpty.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfoEmpty.js
index 3bfc60b8..bcba4f35 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfoEmpty.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfoEmpty.js
@@ -8,17 +8,17 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language is 'Showing 0 to 0 of 0 entries' by default",
function () { oTable.fnFilter("nothinghere"); },
function () { return oSettings.oLanguage.sInfoEmpty == "Showing 0 to 0 of 0 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"Showing 0 to 0 of 0 entries";
return bReturn;
@@ -26,7 +26,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language can be defined",
function () {
oSession.fnRestore();
@@ -42,11 +42,11 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoEmpty == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit test";
return bReturn;
@@ -54,7 +54,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Macro's replaced",
function () {
oSession.fnRestore();
@@ -67,7 +67,7 @@ $(document).ready( function () {
oTable.fnFilter("nothinghere");
},
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit 1 0 0 test";
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfoPostFix.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfoPostFix.js
index d5a6dcb9..66894ed7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfoPostFix.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sInfoPostFix.js
@@ -8,20 +8,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Info post fix language is '' (blank) by default",
null,
function () { return oSettings.oLanguage.sInfoPostFix == ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Width no post fix, the basic info shows",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info post fix language can be defined",
function () {
oSession.fnRestore();
@@ -36,14 +36,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoPostFix == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Macros have no effect in the post fix",
function () {
oSession.fnRestore();
@@ -58,7 +58,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Post fix is applied after fintering info",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sLengthMenu.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sLengthMenu.js
index f831d35c..ff4344fa 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sLengthMenu.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sLengthMenu.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Menu language is 'Show _MENU_ entries' by default",
null,
function () { return oSettings.oLanguage.sLengthMenu == "Show _MENU_ entries"; }
@@ -39,7 +39,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Menu length language can be defined - no _MENU_ macro",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sLengthMenu == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Menu length language definition is in the DOM",
null,
function () {
@@ -63,7 +63,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Menu length language can be defined - with _MENU_ macro",
function () {
oSession.fnRestore();
@@ -85,7 +85,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Only the _MENU_ macro",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sProcessing.js
index f2e09beb..93e11f74 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sProcessing.js
@@ -9,20 +9,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Processing language is 'Processing...' by default",
null,
function () { return oSettings.oLanguage.sProcessing == "Processing..."; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language default is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "Processing..."; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language can be defined",
function () {
oSession.fnRestore();
@@ -38,7 +38,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sProcessing == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language definition is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sSearch.js
index 1f8d24f8..89007a10 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sSearch.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Search language is 'Search:' by default",
null,
function () { return oSettings.oLanguage.sSearch == "Search:"; }
@@ -20,7 +20,7 @@ $(document).ready( function () {
function () { return $('label', oSettings.aanFeatures.f[0]).length == 1 }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search language default is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text()
@@ -28,7 +28,7 @@ $(document).ready( function () {
);
- oTest.fnTest(
+ oTest.fnTest(
"Search language can be defined",
function () {
oSession.fnRestore();
@@ -43,14 +43,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sSearch == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text().indexOf('unit test') !== -1; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Blank search has a no (separator) inserted",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sUrl.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sUrl.js
index e28379d6..bed33081 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sUrl.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sUrl.js
@@ -12,14 +12,14 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"sUrl is blank by default",
null,
function () { return oSettings.oLanguage.sUrl == ""; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Loading of German file loads language information",
function () {
oSession.fnRestore();
@@ -32,7 +32,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.sProcessing == "Bitte warten..." &&
oSettings.oLanguage.sLengthMenu == "_MENU_ Einträge anzeigen" &&
oSettings.oLanguage.sZeroRecords == "Keine Einträge vorhanden." &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sZeroRecords.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sZeroRecords.js
index a52651a9..d64c42f5 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sZeroRecords.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oLanguage.sZeroRecords.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Zero records language is 'No matching records found' by default",
null,
function () { return oSettings.oLanguage.sZeroRecords == "No matching records found"; }
@@ -22,7 +22,7 @@ $(document).ready( function () {
- oTest.fnTest(
+ oTest.fnTest(
"Zero records language can be defined",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oSearch.js
index fa935d68..0592dde0 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/oSearch.js
@@ -8,11 +8,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Default values should be blank",
null,
function () {
- var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
+ var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
!oSettings.oPreviousSearch.bRegex;
return bReturn;
}
@@ -21,7 +21,7 @@ $(document).ready( function () {
/* This test might be considered iffy since the full object isn't given, but it's reasonable to
* expect DataTables to cope with this. It should just assumine regex false
*/
- oTest.fnTest(
+ oTest.fnTest(
"Search term only in object",
function () {
oSession.fnRestore();
@@ -35,7 +35,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Gecko"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"New search will kill old one",
function () {
oTable.fnFilter("Opera");
@@ -43,7 +43,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search plain text term and escape regex true",
function () {
oSession.fnRestore();
@@ -58,7 +58,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Nintendo DS browser"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search plain text term and escape regex false",
function () {
oSession.fnRestore();
@@ -73,7 +73,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search regex text term and escape regex true",
function () {
oSession.fnRestore();
@@ -88,7 +88,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search regex text term and escape regex false",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sAjaxSource.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sAjaxSource.js
index 201ae730..9ae4e0d7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sAjaxSource.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sAjaxSource.js
@@ -10,7 +10,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Server side is off by default",
null,
function () { return oSettings.sAjaxSource == null; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sDom.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sDom.js
index 8293972a..19e2e98f 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sDom.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sDom.js
@@ -10,13 +10,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Default DOM varaible",
null,
function () { return oSettings.sDom == "lfrtip"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Default DOM in document",
null,
function () {
@@ -28,7 +28,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -39,7 +39,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check example 1 in code propagates",
function () {
oSession.fnRestore();
@@ -52,7 +52,7 @@ $(document).ready( function () {
function () { return oSettings.sDom == '<"wrapper"flipt>'; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Check example 1 in DOM",
null,
function () {
@@ -77,7 +77,7 @@ $(document).ready( function () {
var nTable = document.getElementById('example');
var nCustomWrapper = $('div.wrapper')[0];
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrapper &&
nNodes[2] == nFilter &&
@@ -89,7 +89,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check example 2 in DOM",
function () {
oSession.fnRestore();
@@ -126,7 +126,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrappers[0] &&
nNodes[2] == nLength &&
@@ -139,7 +139,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check no length element",
function () {
oSession.fnRestore();
@@ -157,7 +157,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
null == nLength &&
nNodes[1] == nFilter &&
@@ -168,7 +168,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check no filter element",
function () {
oSession.fnRestore();
@@ -186,7 +186,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
null == nFilter &&
@@ -199,7 +199,7 @@ $(document).ready( function () {
/* Note we don't test for no table as this is not supported (and it would be fairly daft! */
- oTest.fnTest(
+ oTest.fnTest(
"Check no info element",
function () {
oSession.fnRestore();
@@ -217,7 +217,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -228,7 +228,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Check no paging element",
function () {
oSession.fnRestore();
@@ -246,7 +246,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sPaginationType.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sPaginationType.js
index 7fa7407f..b57b2017 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sPaginationType.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/2_js/sPaginationType.js
@@ -8,43 +8,43 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"Check two button paging is the default",
null,
function () { return oSettings.sPaginationType == "two_button"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Check class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_two_button'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Two A elements are in the wrapper",
null,
function () { return $('#example_paginate a').length == 2; }
);
- oTest.fnTest(
+ oTest.fnTest(
"We have the previous button",
null,
function () { return document.getElementById('example_previous'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"We have the next button",
null,
function () { return document.getElementById('example_next'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Previous button is disabled",
null,
function () { return $('#example_previous').hasClass('paginate_disabled_previous'); }
);
- oTest.fnTest(
+ oTest.fnTest(
"Next button is enabled",
null,
function () { return $('#example_next').hasClass('paginate_enabled_next'); }
@@ -54,7 +54,7 @@ $(document).ready( function () {
/* Two buttons paging */
- oTest.fnTest(
+ oTest.fnTest(
"Can enabled full numbers paging",
function () {
oSession.fnRestore();
@@ -67,7 +67,7 @@ $(document).ready( function () {
function () { return oSettings.sPaginationType == "full_numbers"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Check full numbers class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_full_numbers'); }
@@ -75,7 +75,7 @@ $(document).ready( function () {
var nFirst, nPrevious, nNext, nLast;
- oTest.fnTest(
+ oTest.fnTest(
"Jump to last page",
function () {
nFirst = $('div.dataTables_paginate a.first');
@@ -89,7 +89,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Go to two pages previous",
function () {
nPrevious.click();
@@ -100,7 +100,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Next (second last) page",
function () {
nNext.click();
@@ -110,7 +110,7 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"Jump to first page",
function () {
nFirst.click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/_zero_config.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/_zero_config.js
index 4e08b491..81e24384 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/_zero_config.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/_zero_config.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "Sanity checks for DataTables with data from JS" );
-oTest.fnTest(
+oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -26,135 +26,135 @@ $(document).ready( function () {
$('#example').dataTable( oInit );
/* Basic checks */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -236,14 +236,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -253,7 +253,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -264,7 +264,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -273,21 +273,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -296,14 +296,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -313,7 +313,7 @@ $(document).ready( function () {
*/
oTest.fnWaitTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable( oInit );
@@ -324,21 +324,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -351,7 +351,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -382,21 +382,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -406,7 +406,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -416,7 +416,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -425,7 +425,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aaSorting.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aaSorting.js
index a2997125..d46a558b 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aaSorting.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aaSorting.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default sorting is single column",
null,
function () {
@@ -16,7 +16,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default sorting is first column asc",
null,
function () {
@@ -25,14 +25,14 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting is applied",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single string column asc",
function () {
oSession.fnRestore();
@@ -45,7 +45,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single string column desc",
function () {
oSession.fnRestore();
@@ -58,7 +58,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single int column asc",
function () {
oSession.fnRestore();
@@ -71,7 +71,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single int column desc",
function () {
oSession.fnRestore();
@@ -84,7 +84,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / string asc",
function () {
oSession.fnRestore();
@@ -96,7 +96,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / string desc",
function () {
oSession.fnRestore();
@@ -108,7 +108,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / string asc",
function () {
oSession.fnRestore();
@@ -120,7 +120,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "iPod Touch / iPhone"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / string desc",
function () {
oSession.fnRestore();
@@ -133,7 +133,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / int asc",
function () {
oSession.fnRestore();
@@ -145,7 +145,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / int desc",
function () {
oSession.fnRestore();
@@ -157,7 +157,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1.9"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / int asc",
function () {
oSession.fnRestore();
@@ -169,7 +169,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "125.5"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / int desc",
function () {
oSession.fnRestore();
@@ -181,7 +181,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (3 column) - string asc / int asc / string asc",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aaSortingFixed.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aaSortingFixed.js
index 083ada9b..6d8c793c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aaSortingFixed.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aaSortingFixed.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"No fixed sorting by default",
null,
function () {
@@ -17,7 +17,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -33,7 +33,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
@@ -41,7 +41,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bSearchable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bSearchable.js
index 4f834697..6b227665 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bSearchable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bSearchable.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Columns are searchable by default",
function () { oTable.fnFilter("Camino"); },
function () {
@@ -19,7 +19,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disabling sorting on a column removes it from the global filter",
function () {
oSession.fnRestore();
@@ -39,13 +39,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disabled on one column has no effect on other columns",
function () { oTable.fnFilter("Webkit"); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disable filtering on multiple columns",
function () {
oSession.fnRestore();
@@ -65,7 +65,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filter on second disabled column",
function () { oTable.fnFilter("Camino"); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bSortable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bSortable.js
index a6a8a2fb..3e059452 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bSortable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bSortable.js
@@ -8,13 +8,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"All columns are sortable by default",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can disable sorting from one column",
function () {
oSession.fnRestore();
@@ -33,13 +33,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disabled column has no sorting class",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
@@ -48,7 +48,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == "X"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disable sorting on multiple columns - no sorting classes",
function () {
oSession.fnRestore();
@@ -64,14 +64,14 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example thead th:eq(1)').hasClass("sorting") ||
$('#example thead th:eq(3)').hasClass("sorting")
return bReturn == false;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on disabled column 1 has no effect",
function () {
$('#example thead th:eq(1)').click();
@@ -79,7 +79,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -87,7 +87,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Second sort on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -95,7 +95,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Even with multiple disabled sorting columns other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bUseRendered.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bUseRendered.js
index b98c6cc2..3663b7af 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bUseRendered.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bUseRendered.js
@@ -27,13 +27,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default for bUseRendered is true - rendered data is used for sorting",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'aaa'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"When bUseRendered is false, original data is used for sorting",
function () {
mTmp = 0;
@@ -42,7 +42,7 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"aoColumns": [
null,
- {
+ {
"bUseRendered": false,
"fnRender": function (a) {
if ( mTmp == 0 ) {
@@ -64,7 +64,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"bUseRendered set to false on one columns and true (default) on two others",
function () {
mTmp = 0;
@@ -85,7 +85,7 @@ $(document).ready( function () {
}
}
},
- {
+ {
"bUseRendered": false,
"fnRender": function (a) {
if ( mTmp2 == 0 ) {
@@ -114,13 +114,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'aaa1'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 2nd column sorting",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 3rd column sorting",
function () {
$('#example thead th:eq(2)').click();
@@ -129,13 +129,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(2)').html() == 'zzz3'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 4th column sorting",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == '-'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 5th column sorting",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bVisible.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bVisible.js
index 9e9e7bbe..093afd22 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bVisible.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.bVisible.js
@@ -8,13 +8,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"All columns are visible by default",
null,
function () { return $('#example tbody tr:eq(0) td').length == 5; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide one column and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -32,18 +32,18 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 4; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide one column and it removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 4; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"The correct thead column has been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Platform(s)" &&
jqNodes[2].innerHTML == "Engine version" &&
@@ -52,14 +52,14 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"The correct tbody column has been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "Gnome" &&
jqNodes[2].innerHTML == "1.8" &&
@@ -69,7 +69,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide multiple columns and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -87,32 +87,32 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - the correct thead columns have been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Engine version"
return bReturn;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - the correct tbody columns have been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "1"
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.fnRender.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.fnRender.js
index ca6f6011..f4c0fbac 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.fnRender.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.fnRender.js
@@ -19,13 +19,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Single column - fnRender is called twice for each row",
null,
function () { return mTmp == 57; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Confirm that fnRender passes two arguments with four parameters",
function () {
mTmp = true;
@@ -52,7 +52,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRender iDataColumn is the column",
function () {
mTmp = true;
@@ -77,7 +77,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRender aData is data array of correct size",
function () {
mTmp = true;
@@ -102,7 +102,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -122,7 +122,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'unittest'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -142,7 +142,7 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(0) td:eq(2)').html() == 'unittest1' &&
$('#example tbody tr:eq(0) td:eq(3)').html() == 'unittest2';
return bReturn; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.iDataSort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.iDataSort.js
index ab41697f..cf507fd2 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.iDataSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.iDataSort.js
@@ -17,32 +17,32 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on first column is uneffected",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on second column is the order of the fifth",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Reserve sorting on second column uses fifth column as well",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on 5th column retains it's own sorting",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Use 2nd col for sorting 5th col and via-versa - no effect on first col sorting",
function () {
mTmp = 0;
@@ -61,25 +61,25 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"2nd col sorting uses fifth col",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"2nd col sorting uses fifth col - reversed",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"5th col sorting uses 2nd col",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"5th col sorting uses 2nd col - reversed",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'Seamonkey 1.1'; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sClass.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sClass.js
index 864ee962..17d9f4da 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sClass.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sClass.js
@@ -8,13 +8,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"By default the test class hasn't been applied to the column (sanity!)",
null,
function () { return $('#example tbody tr:eq(0) td:eq(2)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - first row",
function () {
oSession.fnRestore();
@@ -32,50 +32,50 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - third row",
null,
function () { return $('#example tbody tr:eq(3) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - last row",
null,
function () { return $('#example tbody tr:eq(9) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to other columns - 1st",
null,
function () { return $('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to other columns - 5th",
null,
function () { return $('#example tbody tr:eq(3) td:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - seventh row - second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody tr:eq(6) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to header",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to footer",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - first row",
function () {
oSession.fnRestore();
@@ -91,20 +91,20 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest2') &&
$('#example tbody tr:eq(8) td:eq(3)').hasClass('unittest1');
return bReturn;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - has not applied to other columns - 5th 1",
null,
function () { return $('#example tbody tr:eq(0) td:eq(4)').hasClass('unittest1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - has not applied to other columns - 5th 2",
null,
function () { return $('#example tbody tr:eq(6) td:eq(4)').hasClass('unittest2') == false; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sName.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sName.js
index 99efddb9..f5bcbbe3 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sName.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sName.js
@@ -17,7 +17,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Names are stored in the columns object",
null,
function () { return oSettings.aoColumns[3].sName =="unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sTitle.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sTitle.js
index 5f1f837f..0a552350 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sTitle.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sTitle.js
@@ -8,12 +8,12 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"If not given, then the columns titles are empty",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Browser" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -23,7 +23,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can set a single column title - and others are read from DOM",
function () {
oSession.fnRestore();
@@ -40,7 +40,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -50,7 +50,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can set multiple column titles",
function () {
oSession.fnRestore();
@@ -67,7 +67,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test 1" &&
jqNodes[2].innerHTML == "Platform(s)" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sWidth.js
index cbcb4abd..46c84217 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoColumns.sWidth.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "aoColumns.sWidth" );
-/* NOTE - we need to disable the auto width for the majority of these test in order to preform
+/* NOTE - we need to disable the auto width for the majority of these test in order to preform
* these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests
* with auto width enabled however to ensure it scales columns as required
*/
@@ -21,13 +21,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width disabled the width for one column is appled",
null,
function () { return $('#example thead th:eq(1)')[0].style.width == "40%"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width disabled the width for one column is appled",
function () {
oSession.fnRestore();
@@ -52,7 +52,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width, it will make the smallest column the largest with percentage width given",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoSearchCols.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoSearchCols.js
index d0a9a6be..6f96b7b0 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoSearchCols.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/aoSearchCols.js
@@ -10,11 +10,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be to have a empty colums array",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.aoPreSearchCols[0].sSearch == 0 && !oSettings.aoPreSearchCols[0].bRegex &&
oSettings.aoPreSearchCols[1].sSearch == 0 && !oSettings.aoPreSearchCols[1].bRegex &&
oSettings.aoPreSearchCols[2].sSearch == 0 && !oSettings.aoPreSearchCols[2].bRegex &&
@@ -25,7 +25,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on a single column - no regex statement given",
function () {
oSession.fnRestore();
@@ -43,7 +43,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on two columns - no regex statement given",
function () {
oSession.fnRestore();
@@ -61,7 +61,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "1.5"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on single column - escape regex false",
function () {
oSession.fnRestore();
@@ -79,7 +79,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "Showing 1 to 3 of 3 entries (filtered from 57 total entries)"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on two columns - escape regex false on first, true on second",
function () {
oSession.fnRestore();
@@ -97,7 +97,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Konqureror 3.3"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on two columns (no records) - escape regex false on first, true on second",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/asStripClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/asStripClasses.js
index b195c405..1595a075 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/asStripClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/asStripClasses.js
@@ -7,7 +7,7 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default row striping is applied",
null,
function () {
@@ -18,7 +18,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Row striping on the second page",
function () { $('#example_next').click(); },
function () {
@@ -30,7 +30,7 @@ $(document).ready( function () {
);
/* No striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"No row striping",
function () {
oSession.fnRestore();
@@ -53,7 +53,7 @@ $(document).ready( function () {
);
/* Custom striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping [2]",
function () {
oSession.fnRestore();
@@ -72,7 +72,7 @@ $(document).ready( function () {
/* long array of striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping [4]",
function () {
oSession.fnRestore();
@@ -89,7 +89,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping is restarted on second page [2]",
function () { $('#example_next').click(); },
function () {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bAutoWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bAutoWidth.js
index ee49f7c1..499fcf48 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bAutoWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bAutoWidth.js
@@ -3,7 +3,7 @@ oTest.fnStart( "bAutoWidth" );
/* It's actually a little tricky to test this. We can't test absolute numbers because
* different browsers and different platforms will render the width of the columns slightly
- * differently. However, we certainly can test the principle of what should happen (column
+ * differently. However, we certainly can test the principle of what should happen (column
* width doesn't change over pages)
*/
@@ -14,13 +14,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width is enabled by default",
null,
function () { return oSettings.oFeatures.bAutoWidth; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"First column has a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style').match(/width/i); }
@@ -30,7 +30,7 @@ $(document).ready( function () {
This would seem like a better test - but there appear to be difficulties with tables
which are bigger (calculated) than there is actually room for. I suspect this is actually
a bug in datatables
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on first page match second page",
null,
function () {
@@ -54,7 +54,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on second page match thid page",
null,
function () {
@@ -79,7 +79,7 @@ $(document).ready( function () {
*/
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width can be disabled",
function () {
oSession.fnRestore();
@@ -92,14 +92,14 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bAutoWidth == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"First column does not have a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style') == null; }
);
/*
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on first page do not match second page",
null,
function () {
@@ -124,7 +124,7 @@ $(document).ready( function () {
*/
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bFilter.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bFilter.js
index 8c322293..dd85c5e7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bFilter.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bFilter.js
@@ -7,14 +7,14 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering div exists by default",
null,
function () { return document.getElementById('example_filter') != null; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fltering can be disabled",
function () {
oSession.fnRestore();
@@ -27,7 +27,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bInfo.js
index 24eeedfa..1757004e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bInfo.js
@@ -7,14 +7,14 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info div exists by default",
null,
function () { return document.getElementById('example_info') != null; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info can be disabled",
function () {
oSession.fnRestore();
@@ -27,7 +27,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bLengthChange.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bLengthChange.js
index 551878c5..35ca67dc 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bLengthChange.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bLengthChange.js
@@ -7,7 +7,7 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length div exists by default",
null,
function () { return document.getElementById('example_length') != null; }
@@ -32,12 +32,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Info takes length into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Change length can be disabled",
function () {
oSession.fnRestore();
@@ -52,12 +52,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information takes length disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length change enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bPaginate.js
index 6e3ec5e4..bef13db0 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bPaginate.js
@@ -7,7 +7,7 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion div exists by default",
null,
function () { return document.getElementById('example_paginate') != null; }
@@ -16,12 +16,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information div takes paging into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -36,12 +36,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information div takes paging disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 57 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bProcessing.js
index 100db867..83c76c44 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bProcessing.js
@@ -14,25 +14,25 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing is off by default",
null,
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div cannot be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div cannot be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing') == null; }
@@ -40,7 +40,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing can be enabled",
function () {
oSession.fnRestore();
@@ -53,32 +53,32 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is hidden by default",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div can be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "visible"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div can be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing disabled override",
function () {
oSession.fnRestore();
@@ -91,7 +91,7 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bServerSide.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bServerSide.js
index 61fdce4b..52779813 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bServerSide.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bServerSide.js
@@ -10,7 +10,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Server side is off by default",
null,
function () { return oSettings.oFeatures.bServerSide == false; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bSort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bSort.js
index 066afee8..1304c195 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bSort.js
@@ -7,13 +7,13 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting is on by default",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting Asc by default class applied",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc"); }
@@ -25,13 +25,13 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting class removed from first column",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc") != true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting asc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc"); }
@@ -43,20 +43,20 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting acs class removed from second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") != true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting desc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_desc"); }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -81,7 +81,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bSortClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bSortClasses.js
index b957c805..22376797 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bSortClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/bSortClasses.js
@@ -7,27 +7,27 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are applied by default",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are applied to all required cells",
null,
function () { return $('#example tbody tr:eq(7) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are not applied to non-sorting columns",
null,
function () { return $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 1",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -35,9 +35,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 2",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -46,9 +46,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 3",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(3)')[0], { 'shift': true } );
},
function () {
@@ -59,9 +59,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Remove sorting classes on single column sort",
- function () {
+ function () {
$('#example thead th:eq(4)').click();
},
function () {
@@ -72,7 +72,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting class 1 was added",
null,
function () { return $('#example tbody tr:eq(1) td:eq(4)').hasClass('sorting_1'); }
@@ -80,7 +80,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes can be disabled",
function () {
oSession.fnRestore();
@@ -92,9 +92,9 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes disabled - add column 1 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -102,9 +102,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes disabled - add column 2 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -115,7 +115,7 @@ $(document).ready( function () {
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnCreatedCell.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnCreatedCell.js
index e930d052..d6aa78b5 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnCreatedCell.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnCreatedCell.js
@@ -15,13 +15,13 @@ $(document).ready( function () {
} ]
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Cell created is called once for each cell on init",
null,
function () { return tmp===285; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Created isn't called back on other draws",
function () { $('#example th:eq(1)').click(); },
function () { return tmp===285; }
@@ -29,7 +29,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Four arguments for the function",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -54,7 +54,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"First argument is a TD element",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -79,7 +79,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Second argument is the HTML value",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -104,7 +104,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Third argument is the data array",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -129,7 +129,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Fourth argument is the data source for the row",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -154,7 +154,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Fifth argument is the the col index",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnCreatedRow.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnCreatedRow.js
index 66fc3287..68fa2b2a 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnCreatedRow.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnCreatedRow.js
@@ -12,13 +12,13 @@ $(document).ready( function () {
}
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Row created is called once for each row on init",
null,
function () { return tmp===57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Created isn't called back on other draws",
function () { $('#example th:eq(1)').click(); },
function () { return tmp===57; }
@@ -26,7 +26,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Three arguments for the function",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -48,7 +48,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"First argument is a TR element",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -70,7 +70,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Second argument is an array with 5 elements",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -92,7 +92,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Third argument is the data source for the row",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -114,7 +114,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"TR element is tied to the correct data",
- function () {
+ function () {
oSession.fnRestore();
tmp = false;
complete = false;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnDrawCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnDrawCallback.js
index 14c5ff19..1954c17a 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnDrawCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnDrawCallback.js
@@ -11,14 +11,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass, bInit;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnDrawCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"One argument passed",
function () {
oSession.fnRestore();
@@ -39,7 +39,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -60,7 +60,7 @@ $(document).ready( function () {
/* The draw callback is called once for the init and then when the data is added */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once on first draw",
function () {
oSession.fnRestore();
@@ -80,7 +80,7 @@ $(document).ready( function () {
function () { return mPass == 2 && bInit; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once on each draw there after as well",
function () {
$('#example_next').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnHeaderCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnHeaderCallback.js
index dd161287..c6d3d54b 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnHeaderCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnHeaderCallback.js
@@ -9,14 +9,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass, bInit;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnHeaderCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Five arguments passed",
function () {
oSession.fnRestore();
@@ -38,7 +38,7 @@ $(document).ready( function () {
/* The header callback is called once for the init and then when the data is added */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnHeaderCallback called once per draw",
function () {
oSession.fnRestore();
@@ -58,14 +58,14 @@ $(document).ready( function () {
function () { return mPass == 2 && bInit; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called on paging (i.e. another draw)",
function () { $('#example_next').click(); },
function () { return mPass == 3; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -80,7 +80,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iStart correct on first page",
function () {
oSession.fnRestore();
@@ -100,7 +100,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iStart correct on second page",
function () {
oSession.fnRestore();
@@ -123,7 +123,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iEnd correct on second page",
function () {
oSession.fnRestore();
@@ -146,7 +146,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"aiDisplay length is full data when not filtered",
function () {
oSession.fnRestore();
@@ -165,7 +165,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"aiDisplay length is 9 when filtering on 'Mozilla'",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnInitComplete.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnInitComplete.js
index fe2c65e4..bdc7a7a5 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnInitComplete.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnInitComplete.js
@@ -11,14 +11,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnInitComplete == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Two arguments passed (for Ajax!)",
function () {
oSession.fnRestore();
@@ -35,7 +35,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -51,7 +51,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnInitComplete called once on first draw",
function () {
oSession.fnRestore();
@@ -67,7 +67,7 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnInitComplete never called there after",
function () {
$('#example_next').click();
@@ -78,7 +78,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows in the table on complete",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnRowCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnRowCallback.js
index 766f09a2..e1c46849 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnRowCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnRowCallback.js
@@ -11,14 +11,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnRowCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Four arguments passed",
function () {
oSession.fnRestore();
@@ -36,7 +36,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once for each drawn row",
function () {
oSession.fnRestore();
@@ -53,7 +53,7 @@ $(document).ready( function () {
function () { return mPass == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -68,7 +68,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1)').hasClass('unit_test'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
@@ -86,7 +86,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnServerData.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnServerData.js
index ab20ba3d..e9d32065 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnServerData.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/fnServerData.js
@@ -4,7 +4,7 @@ oTest.fnStart( "fnServerData for Ajax sourced data" );
$(document).ready( function () {
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Argument length",
function () {
$('#example').dataTable( {
@@ -17,7 +17,7 @@ $(document).ready( function () {
function () { return mPass == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Url",
function () {
$('#example').dataTable( {
@@ -31,7 +31,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array",
function () {
$('#example').dataTable( {
@@ -45,7 +45,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Callback function",
function () {
$('#example').dataTable( {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/iDisplayLength.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/iDisplayLength.js
index 69e7abed..ed1c069b 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/iDisplayLength.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/iDisplayLength.js
@@ -7,20 +7,20 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default length is ten",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 10",
null,
function () { return $('#example_length select').val() == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 25",
function () {
oSession.fnRestore();
@@ -32,14 +32,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 25; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 100",
function () {
oSession.fnRestore();
@@ -51,14 +51,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 100; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 23 (unknown select menu length)",
function () {
oSession.fnRestore();
@@ -70,7 +70,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 23; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 10 (since 23 is unknow)",
null,
function () { return $('#example_length select').val() == 10; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.oPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.oPaginate.js
index 0dc5812b..ea2f14a9 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.oPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.oPaginate.js
@@ -11,11 +11,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"oLanguage.oPaginate defaults",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "First" &&
oSettings.oLanguage.oPaginate.sPrevious == "Previous" &&
oSettings.oLanguage.oPaginate.sNext == "Next" &&
@@ -24,11 +24,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate defaults are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "First" &&
$('#example_paginate .previous').html() == "Previous" &&
$('#example_paginate .next').html() == "Next" &&
@@ -38,7 +38,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"oLanguage.oPaginate can be defined",
function () {
oSession.fnRestore();
@@ -57,7 +57,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "unit1" &&
oSettings.oLanguage.oPaginate.sPrevious == "test2" &&
oSettings.oLanguage.oPaginate.sNext == "unit3" &&
@@ -66,11 +66,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate definitions are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "unit1" &&
$('#example_paginate .previous').html() == "test2" &&
$('#example_paginate .next').html() == "unit3" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfo.js
index 1a72a0a8..b425bf52 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfo.js
@@ -8,20 +8,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language is 'Showing _START_ to _END_ of _TOTAL_ entries' by default",
null,
function () { return oSettings.oLanguage.sInfo == "Showing _START_ to _END_ of _TOTAL_ entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - without any macros",
function () {
oSession.fnRestore();
@@ -36,13 +36,13 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfo == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "unit test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _START_ only",
function () {
oSession.fnRestore();
@@ -56,7 +56,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _END_ only",
function () {
oSession.fnRestore();
@@ -70,7 +70,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 10 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _TOTAL_ only",
function () {
oSession.fnRestore();
@@ -84,7 +84,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 57 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macros _START_ and _END_",
function () {
oSession.fnRestore();
@@ -98,7 +98,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 10 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macros _START_, _END_ and _TOTAL_",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoEmpty.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoEmpty.js
index a5066cf8..e6983cdc 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoEmpty.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoEmpty.js
@@ -8,17 +8,17 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info empty language is 'Showing 0 to 0 of 0 entries' by default",
function () { oTable.fnFilter("nothinghere"); },
function () { return oSettings.oLanguage.sInfoEmpty == "Showing 0 to 0 of 0 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"Showing 0 to 0 of 0 entries";
return bReturn;
@@ -26,7 +26,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info empty language can be defined",
function () {
oSession.fnRestore();
@@ -42,11 +42,11 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoEmpty == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit test";
return bReturn;
@@ -54,7 +54,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Macro's replaced",
function () {
oSession.fnRestore();
@@ -67,7 +67,7 @@ $(document).ready( function () {
oTable.fnFilter("nothinghere");
},
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit 1 0 0 test";
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoPostFix.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoPostFix.js
index f91e5daf..204027d9 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoPostFix.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoPostFix.js
@@ -8,20 +8,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info post fix language is '' (blank) by default",
null,
function () { return oSettings.oLanguage.sInfoPostFix == ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Width no post fix, the basic info shows",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info post fix language can be defined",
function () {
oSession.fnRestore();
@@ -36,14 +36,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoPostFix == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries unit test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Macros have no effect in the post fix",
function () {
oSession.fnRestore();
@@ -58,7 +58,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Post fix is applied after fintering info",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sLengthMenu.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sLengthMenu.js
index 6fae9483..4aec2045 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sLengthMenu.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sLengthMenu.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu language is 'Show _MENU_ entries' by default",
null,
function () { return oSettings.oLanguage.sLengthMenu == "Show _MENU_ entries"; }
@@ -39,7 +39,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu length language can be defined - no _MENU_ macro",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sLengthMenu == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Menu length language definition is in the DOM",
null,
function () {
@@ -63,7 +63,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu length language can be defined - with _MENU_ macro",
function () {
oSession.fnRestore();
@@ -85,7 +85,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Only the _MENU_ macro",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sLoadingRecords.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sLoadingRecords.js
index 616b0ef3..0afaa345 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sLoadingRecords.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sLoadingRecords.js
@@ -3,7 +3,7 @@ oTest.fnStart( "oLanguage.sLoadingRecords" );
$(document).ready( function () {
var tmp = false;
- oTest.fnTest(
+ oTest.fnTest(
"Default loading text is 'Loading...'",
function () {
$('#example').dataTable( {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sProcessing.js
index 39886194..0da7c27c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sProcessing.js
@@ -9,20 +9,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing language is 'Processing...' by default",
null,
function () { return oSettings.oLanguage.sProcessing == "Processing..."; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language default is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "Processing..."; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing language can be defined",
function () {
oSession.fnRestore();
@@ -38,7 +38,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sProcessing == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language definition is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sSearch.js
index 5a1584d1..ed734e64 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sSearch.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search language is 'Search:' by default",
null,
function () { return oSettings.oLanguage.sSearch == "Search:"; }
@@ -20,7 +20,7 @@ $(document).ready( function () {
function () { return $('label', oSettings.aanFeatures.f[0]).length == 1 }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search language default is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text()
@@ -28,7 +28,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search language can be defined",
function () {
oSession.fnRestore();
@@ -43,14 +43,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sSearch == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text().indexOf('unit test') !== -1; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Blank search has a no space (separator) inserted",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sUrl.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sUrl.js
index 5ebfe5dd..92ca1387 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sUrl.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sUrl.js
@@ -12,14 +12,14 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"sUrl is blank by default",
null,
function () { return oSettings.oLanguage.sUrl == ""; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Loading of German file loads language information",
function () {
oSession.fnRestore();
@@ -32,7 +32,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.sProcessing == "Bitte warten..." &&
oSettings.oLanguage.sLengthMenu == "_MENU_ Einträge anzeigen" &&
oSettings.oLanguage.sZeroRecords == "Keine Einträge vorhanden." &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sZeroRecords.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sZeroRecords.js
index 7dffc151..9d8fd310 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sZeroRecords.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oLanguage.sZeroRecords.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Zero records language is 'No matching records found' by default",
null,
function () { return oSettings.oLanguage.sZeroRecords == "No matching records found"; }
@@ -22,7 +22,7 @@ $(document).ready( function () {
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Zero records language can be defined",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oSearch.js
index 42f1b948..be1c21ee 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/oSearch.js
@@ -8,11 +8,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default values should be blank",
null,
function () {
- var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
+ var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
!oSettings.oPreviousSearch.bRegex;
return bReturn;
}
@@ -21,7 +21,7 @@ $(document).ready( function () {
/* This test might be considered iffy since the full object isn't given, but it's reasonable to
* expect DataTables to cope with this. It should just assumine regex false
*/
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search term only in object",
function () {
oSession.fnRestore();
@@ -35,7 +35,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Gecko"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"New search will kill old one",
function () {
oTable.fnFilter("Opera");
@@ -43,7 +43,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search plain text term and escape regex true",
function () {
oSession.fnRestore();
@@ -58,7 +58,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Nintendo DS browser"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search plain text term and escape regex false",
function () {
oSession.fnRestore();
@@ -73,7 +73,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search regex text term and escape regex true",
function () {
oSession.fnRestore();
@@ -88,7 +88,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search regex text term and escape regex false",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxDataProp.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxDataProp.js
index 5759c47d..983846a0 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxDataProp.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxDataProp.js
@@ -9,105 +9,105 @@ $(document).ready( function () {
};
$('#example').dataTable( oInit );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxDataProp2.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxDataProp2.js
index 646657e3..769afaf6 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxDataProp2.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxDataProp2.js
@@ -9,105 +9,105 @@ $(document).ready( function () {
};
$('#example').dataTable( oInit );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxSource.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxSource.js
index b633d097..0d306448 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxSource.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sAjaxSource.js
@@ -10,10 +10,10 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Server side is off by default",
null,
- function () {
+ function () {
return oSettings.sAjaxSource == "../../../examples/ajax/sources/arrays.txt";
}
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sDom.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sDom.js
index 0af1f599..0c1f41d7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sDom.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sDom.js
@@ -10,13 +10,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default DOM varaible",
null,
function () { return oSettings.sDom == "lfrtip"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default DOM in document",
null,
function () {
@@ -28,7 +28,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -39,7 +39,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 1 in code propagates",
function () {
oSession.fnRestore();
@@ -52,7 +52,7 @@ $(document).ready( function () {
function () { return oSettings.sDom == '<"wrapper"flipt>'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 1 in DOM",
null,
function () {
@@ -77,7 +77,7 @@ $(document).ready( function () {
var nTable = document.getElementById('example');
var nCustomWrapper = $('div.wrapper')[0];
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrapper &&
nNodes[2] == nFilter &&
@@ -89,7 +89,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 2 in DOM",
function () {
oSession.fnRestore();
@@ -126,7 +126,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrappers[0] &&
nNodes[2] == nLength &&
@@ -139,7 +139,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no length element",
function () {
oSession.fnRestore();
@@ -157,7 +157,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
null == nLength &&
nNodes[1] == nFilter &&
@@ -168,7 +168,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no filter element",
function () {
oSession.fnRestore();
@@ -186,7 +186,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
null == nFilter &&
@@ -199,7 +199,7 @@ $(document).ready( function () {
/* Note we don't test for no table as this is not supported (and it would be fairly daft! */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no info element",
function () {
oSession.fnRestore();
@@ -217,7 +217,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -228,7 +228,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no paging element",
function () {
oSession.fnRestore();
@@ -246,7 +246,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sPaginationType.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sPaginationType.js
index 71606c41..76b138b1 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sPaginationType.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/3_ajax/sPaginationType.js
@@ -8,43 +8,43 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check two button paging is the default",
null,
function () { return oSettings.sPaginationType == "two_button"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_two_button'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Two A elements are in the wrapper",
null,
function () { return $('#example_paginate a').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"We have the previous button",
null,
function () { return document.getElementById('example_previous'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"We have the next button",
null,
function () { return document.getElementById('example_next'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Previous button is disabled",
null,
function () { return $('#example_previous').hasClass('paginate_disabled_previous'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Next button is enabled",
null,
function () { return $('#example_next').hasClass('paginate_enabled_next'); }
@@ -55,7 +55,7 @@ $(document).ready( function () {
/* Two buttons paging */
var bComplete = false;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can enabled full numbers paging",
function () {
oSession.fnRestore();
@@ -76,7 +76,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check full numbers class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_full_numbers'); }
@@ -84,7 +84,7 @@ $(document).ready( function () {
var nFirst, nPrevious, nNext, nLast;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Jump to last page",
function () {
nFirst = $('div.dataTables_paginate a.first');
@@ -98,7 +98,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Go to two pages previous",
function () {
nPrevious.click();
@@ -109,7 +109,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Next (second last) page",
function () {
nNext.click();
@@ -119,7 +119,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Jump to first page",
function () {
nFirst.click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/-iDraw.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/-iDraw.js
index 1f9dc858..3117113c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/-iDraw.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/-iDraw.js
@@ -9,31 +9,31 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"After first draw, iDraw is 1",
null,
function () { return oSettings.iDraw == 1; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"After second draw, iDraw is 2",
function () { oTable.fnDraw() },
function () { return oSettings.iDraw == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"After sort",
function () { oTable.fnSort([[1,'asc']]) },
function () { return oSettings.iDraw == 3; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"After filter",
function () { oTable.fnFilter('gecko') },
function () { return oSettings.iDraw == 4; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"After another filter",
function () { oTable.fnFilter('gec') },
function () { return oSettings.iDraw == 5; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2440.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2440.js
index a18f0519..268a822b 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2440.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2440.js
@@ -19,11 +19,11 @@ $(document).ready( function () {
/* Basic checks */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check length is correct when -1 length given",
null,
function () {
- return document.getElementById('example_info').innerHTML ==
+ return document.getElementById('example_info').innerHTML ==
"Showing 1 to 57 of 57 entries";
}
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2569.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2569.js
index fbfbeb4e..052d5ed6 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2569.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2569.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
$('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php",
- "aoColumnDefs": [
+ "aoColumnDefs": [
{ "bSearchable": false, "bVisible": false, "aTargets": [ 2 ] },
{ "bVisible": false, "aTargets": [ 3 ] }
],
@@ -17,21 +17,21 @@ $(document).ready( function () {
}
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check that the number of columns in table is correct",
null,
function () { return $('#example tbody tr:eq(0) td').length == 5; }
);
- oTest.fnTest(
+ oTest.fnTest(
"And with scrolling",
function () {
$('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php",
"sScrollY": 200,
- "aoColumnDefs": [
+ "aoColumnDefs": [
{ "bSearchable": false, "bVisible": false, "aTargets": [ 2 ] },
{ "bVisible": false, "aTargets": [ 3 ] }
],
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2600.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2600.js
index e20f3099..eb13ce3f 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2600.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/2600.js
@@ -7,37 +7,37 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info correct on init",
null,
function () { return $('#example_info').html() == "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Page 2",
function () { $('#example_next').click(); },
function () { return $('#example_info').html() == "Showing 11 to 20 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Page 3",
function () { $('#example_next').click(); },
function () { return $('#example_info').html() == "Showing 21 to 30 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Page 4",
function () { $('#example_next').click(); },
function () { return $('#example_info').html() == "Showing 31 to 40 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Page 5",
function () { $('#example_next').click(); },
function () { return $('#example_info').html() == "Showing 41 to 50 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Rewind",
function () { $('#example_length select').val('100'); $('#example_length select').change(); },
function () { return $('#example_info').html() == "Showing 1 to 57 of 57 entries"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/_zero_config.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/_zero_config.js
index fcd69cc1..fd62a210 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/_zero_config.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/_zero_config.js
@@ -7,7 +7,7 @@
*/
oTest.fnStart( "Sanity checks for DataTables with data from JS" );
-oTest.fnWaitTest(
+oTest.fnWaitTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -32,137 +32,137 @@ $(document).ready( function () {
} );
/* Basic checks */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - sorting first column only",
- function () {
+ function () {
$('#example thead th:eq(0)').click(); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Firefox 1.0"; return b; }
);
/* Basic paging */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Mozilla 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Firefox 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Firefox 1.0"; }
);
/* Changing length */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -244,14 +244,14 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnWaitTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -261,7 +261,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -272,7 +272,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -281,21 +281,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnWaitTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnWaitTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -304,14 +304,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnWaitTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -329,21 +329,21 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnWaitTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnWaitTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -356,7 +356,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -390,21 +390,21 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 2 of 2 entries (filtered from 57 total entries)"; }
);
oTest.fnWaitTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnWaitTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -414,7 +414,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aaSorting.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aaSorting.js
index cf3e2e62..a9e6910e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aaSorting.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aaSorting.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default sorting is single column",
null,
function () {
@@ -17,7 +17,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default sorting is first column asc",
null,
function () {
@@ -26,14 +26,14 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting is applied",
null,
function () { return $('#example tbody td:eq(1)').html() == "Firefox 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single string column asc",
function () {
oSession.fnRestore();
@@ -47,7 +47,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single string column desc",
function () {
oSession.fnRestore();
@@ -61,7 +61,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single int column asc",
function () {
oSession.fnRestore();
@@ -75,7 +75,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single int column desc",
function () {
oSession.fnRestore();
@@ -89,7 +89,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / string asc",
function () {
oSession.fnRestore();
@@ -102,7 +102,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / string desc",
function () {
oSession.fnRestore();
@@ -115,7 +115,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / string asc",
function () {
oSession.fnRestore();
@@ -128,7 +128,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "iPod Touch / iPhone"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / string desc",
function () {
oSession.fnRestore();
@@ -142,7 +142,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / int asc",
function () {
oSession.fnRestore();
@@ -155,7 +155,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / int desc",
function () {
oSession.fnRestore();
@@ -168,7 +168,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1.9"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / int asc",
function () {
oSession.fnRestore();
@@ -181,7 +181,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "125.5"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / int desc",
function () {
oSession.fnRestore();
@@ -194,7 +194,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (3 column) - string asc / int asc / string asc",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aaSortingFixed.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aaSortingFixed.js
index a7d5ad3b..f2c40658 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aaSortingFixed.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aaSortingFixed.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"No fixed sorting by default",
null,
function () {
@@ -18,7 +18,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -32,7 +32,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
@@ -40,7 +40,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bSearchable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bSearchable.js
index 3ba15000..3c45a4e2 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bSearchable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bSearchable.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Columns are searchable by default",
function () { oTable.fnFilter("Camino"); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Camino 1.0"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bSortable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bSortable.js
index 6b5fb428..4a555f34 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bSortable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bSortable.js
@@ -9,13 +9,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"All columns are sortable by default",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can disable sorting from one column",
function () {
oSession.fnRestore();
@@ -35,13 +35,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Firefox 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disabled column has no sorting class",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
@@ -50,7 +50,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Internet Explorer 4.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disable sorting on multiple columns - no sorting classes",
function () {
oSession.fnRestore();
@@ -67,14 +67,14 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example thead th:eq(1)').hasClass("sorting") ||
$('#example thead th:eq(3)').hasClass("sorting")
return bReturn == false;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on disabled column 1 has no effect",
function () {
$('#example thead th:eq(1)').click();
@@ -82,7 +82,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Firefox 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -90,7 +90,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Firefox 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Second sort on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -98,7 +98,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Firefox 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Even with multiple disabled sorting columns other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bUseRendered.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bUseRendered.js
index 6a797913..bdc43851 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bUseRendered.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bUseRendered.js
@@ -28,7 +28,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default for bUseRendered is true - rendered data is used for sorting",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'aaa'; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bVisible.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bVisible.js
index 863f3dab..54daef60 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bVisible.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.bVisible.js
@@ -9,13 +9,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"All columns are visible by default",
null,
function () { return $('#example tbody tr:eq(0) td').length == 5; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide one column and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -34,18 +34,18 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 4; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide one column and it removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 4; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"The correct thead column has been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Platform(s)" &&
jqNodes[2].innerHTML == "Engine version" &&
@@ -54,12 +54,12 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"The correct tbody column has been hidden",
null,
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "Win 98+ / OSX.2+" &&
jqNodes[2].innerHTML == "1.7" &&
@@ -69,7 +69,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide multiple columns and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -88,30 +88,30 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - the correct thead columns have been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Engine version"
return bReturn;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - the correct tbody columns have been hidden",
null,
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "1.7"
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.fnRender.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.fnRender.js
index 4481b75c..1d88083e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.fnRender.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.fnRender.js
@@ -20,13 +20,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Single column - fnRender is called once for each row",
null,
function () { return mTmp == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Confirm that fnRender passes two arguments with four parameters",
function () {
mTmp = true;
@@ -54,7 +54,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRender iDataColumn is the column",
function () {
mTmp = true;
@@ -80,7 +80,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRender aData is data array of correct size",
function () {
mTmp = true;
@@ -106,7 +106,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -127,7 +127,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'unittest'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -148,7 +148,7 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(0) td:eq(2)').html() == 'unittest1' &&
$('#example tbody tr:eq(0) td:eq(3)').html() == 'unittest2';
return bReturn; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sClass.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sClass.js
index b8286a0b..b17be722 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sClass.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sClass.js
@@ -9,13 +9,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"By default the test class hasn't been applied to the column (sanity!)",
null,
function () { return $('#example tbody tr:eq(0) td:eq(2)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - first row",
function () {
oSession.fnRestore();
@@ -34,50 +34,50 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - third row",
null,
function () { return $('#example tbody tr:eq(3) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - last row",
null,
function () { return $('#example tbody tr:eq(9) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to other columns - 1st",
null,
function () { return $('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to other columns - 5th",
null,
function () { return $('#example tbody tr:eq(3) td:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - seventh row - second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody tr:eq(6) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to header",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to footer",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - first row",
function () {
oSession.fnRestore();
@@ -94,20 +94,20 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest2') &&
$('#example tbody tr:eq(8) td:eq(3)').hasClass('unittest1');
return bReturn;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - has not applied to other columns - 5th 1",
null,
function () { return $('#example tbody tr:eq(0) td:eq(4)').hasClass('unittest1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - has not applied to other columns - 5th 2",
null,
function () { return $('#example tbody tr:eq(6) td:eq(4)').hasClass('unittest2') == false; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sName.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sName.js
index 47034b77..b4fa4654 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sName.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sName.js
@@ -18,7 +18,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Names are stored in the columns object",
null,
function () { return oSettings.aoColumns[3].sName =="unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sTitle.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sTitle.js
index 93b99c95..f7e24b6c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sTitle.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sTitle.js
@@ -9,12 +9,12 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"If not given, then the columns titles are empty",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Browser" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -24,7 +24,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can set a single column title - and others are read from DOM",
function () {
oSession.fnRestore();
@@ -42,7 +42,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -52,7 +52,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can set multiple column titles",
function () {
oSession.fnRestore();
@@ -70,7 +70,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test 1" &&
jqNodes[2].innerHTML == "Platform(s)" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sWidth.js
index b001ed5a..6f0da688 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoColumns.sWidth.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "aoColumns.sWidth" );
-/* NOTE - we need to disable the auto width for the majority of these test in order to preform
+/* NOTE - we need to disable the auto width for the majority of these test in order to preform
* these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests
* with auto width enabled however to ensure it scales columns as required
*/
@@ -22,13 +22,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width disabled the width for one column is appled",
null,
function () { return $('#example thead th:eq(1)')[0].style.width == "40%"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width disabled the width for one column is appled",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width, it will make the smallest column the largest with percentage width given",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoSearchCols.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoSearchCols.js
index 345858fc..8dce283d 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoSearchCols.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/aoSearchCols.js
@@ -11,11 +11,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be to have a empty colums array",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.aoPreSearchCols[0].sSearch == 0 && !oSettings.aoPreSearchCols[0].bRegex &&
oSettings.aoPreSearchCols[1].sSearch == 0 && !oSettings.aoPreSearchCols[1].bRegex &&
oSettings.aoPreSearchCols[2].sSearch == 0 && !oSettings.aoPreSearchCols[2].bRegex &&
@@ -26,7 +26,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on a single column - no regex statement given",
function () {
oSession.fnRestore();
@@ -45,7 +45,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on two columns - no regex statement given",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/asStripClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/asStripClasses.js
index 760ba4e3..23da5bcd 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/asStripClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/asStripClasses.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default row striping is applied",
null,
function () {
@@ -19,7 +19,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Row striping on the second page",
function () { $('#example_next').click(); },
function () {
@@ -31,7 +31,7 @@ $(document).ready( function () {
);
/* No striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"No row striping",
function () {
oSession.fnRestore();
@@ -55,7 +55,7 @@ $(document).ready( function () {
);
/* Custom striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping [2]",
function () {
oSession.fnRestore();
@@ -75,7 +75,7 @@ $(document).ready( function () {
/* long array of striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping [4]",
function () {
oSession.fnRestore();
@@ -93,7 +93,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping is restarted on second page [2]",
function () { $('#example_next').click(); },
function () {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bAutoWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bAutoWidth.js
index ce6052c9..ef97d26c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bAutoWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bAutoWidth.js
@@ -3,7 +3,7 @@ oTest.fnStart( "bAutoWidth" );
/* It's actually a little tricky to test this. We can't test absolute numbers because
* different browsers and different platforms will render the width of the columns slightly
- * differently. However, we certainly can test the principle of what should happen (column
+ * differently. However, we certainly can test the principle of what should happen (column
* width doesn't change over pages)
*/
@@ -15,13 +15,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width is enabled by default",
null,
function () { return oSettings.oFeatures.bAutoWidth; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"First column has a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style').match(/width/i); }
@@ -31,7 +31,7 @@ $(document).ready( function () {
This would seem like a better test - but there appear to be difficulties with tables
which are bigger (calculated) than there is actually room for. I suspect this is actually
a bug in datatables
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on first page match second page",
null,
function () {
@@ -55,7 +55,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on second page match thid page",
null,
function () {
@@ -80,7 +80,7 @@ $(document).ready( function () {
*/
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width can be disabled",
function () {
oSession.fnRestore();
@@ -94,14 +94,14 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bAutoWidth == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"First column does not have a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style') == null; }
);
/*
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on first page do not match second page",
null,
function () {
@@ -126,7 +126,7 @@ $(document).ready( function () {
*/
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bFilter.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bFilter.js
index 5505e703..e4bf1403 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bFilter.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bFilter.js
@@ -8,14 +8,14 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering div exists by default",
null,
function () { return document.getElementById('example_filter') != null; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fltering can be disabled",
function () {
oSession.fnRestore();
@@ -29,7 +29,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bInfiniteScroll.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bInfiniteScroll.js
index 9d88d3ba..4cafecbe 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bInfiniteScroll.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bInfiniteScroll.js
@@ -10,133 +10,133 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows by default",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info",
null,
function () { return $('#example_info').html() == "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes",
null,
function () { return $('#example tbody>tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes function",
null,
function () { return $('#example').dataTable().fnGetNodes().length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Scroll on 20px adds 10 rows",
function () { $('div.dataTables_scrollBody').scrollTop(20); },
function () { return $('#example tbody tr').length == 20; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info after 20px scroll",
null,
function () { return $('#example_info').html() == "Showing 1 to 20 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes after 20px scroll",
null,
function () { return $('#example tbody>tr').length == 20; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes function after 20px scroll",
null,
function () { return $('#example').dataTable().fnGetNodes().length == 20; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Scroll on 10px more results in the same number of rows",
function () { $('div.dataTables_scrollBody').scrollTop(30); },
function () { return $('#example tbody tr').length == 20; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info after 10 more px scroll",
null,
function () { return $('#example_info').html() == "Showing 1 to 20 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Scroll to 280px adds another 10 rows",
function () { $('div.dataTables_scrollBody').scrollTop(280); },
function () { return $('#example tbody tr').length == 30; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info after 240px scroll",
null,
function () { return $('#example_info').html() == "Showing 1 to 30 of 57 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes after 240px scroll",
null,
function () { return $('#example tbody>tr').length == 30; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes function after 240px scroll",
null,
function () { return $('#example').dataTable().fnGetNodes().length == 30; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering will drop back to 10 rows",
function () { oTable.fnFilter('gec') },
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info after filtering",
null,
function () { return $('#example_info').html() == "Showing 1 to 10 of 20 entries (filtered from 57 total entries)"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes after filtering",
null,
function () { return $('#example tbody>tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes function after filtering",
null,
function () { return $('#example').dataTable().fnGetNodes().length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Scroll after filtering adds 10",
function () { $('div.dataTables_scrollBody').scrollTop(20); },
function () { return $('#example tbody tr').length == 20; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Get nodes after filtering",
null,
function () { return $('#example tbody>tr').length == 20; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Get nodes function after filtering",
null,
function () { return $('#example').dataTable().fnGetNodes().length == 20; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting will drop back to 10 rows",
function () {
$('div.dataTables_scrollBody').scrollTop(0);
@@ -145,19 +145,19 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Scroll after sorting adds 10",
function () { $('div.dataTables_scrollBody').scrollTop(20); },
function () { return $('#example tbody tr').length == 20; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes after scrolling",
null,
function () { return $('#example tbody>tr').length == 20; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Get nodes function after scrolling",
null,
function () { return $('#example').dataTable().fnGetNodes().length == 20; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bInfo.js
index 56bca571..de453b3a 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bInfo.js
@@ -8,14 +8,14 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info div exists by default",
null,
function () { return document.getElementById('example_info') != null; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info can be disabled",
function () {
oSession.fnRestore();
@@ -29,7 +29,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bLengthChange.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bLengthChange.js
index fa56a030..8e0561c3 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bLengthChange.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bLengthChange.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length div exists by default",
null,
function () { return document.getElementById('example_length') != null; }
@@ -33,12 +33,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Info takes length into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Change length can be disabled",
function () {
oSession.fnRestore();
@@ -54,12 +54,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information takes length disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length change enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bPaginate.js
index 9855a90b..863dc338 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bPaginate.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion div exists by default",
null,
function () { return document.getElementById('example_paginate') != null; }
@@ -17,12 +17,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information div takes paging into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -38,12 +38,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information div takes paging disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 57 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bProcessing.js
index 29141df2..f47124bb 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bProcessing.js
@@ -15,25 +15,25 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing is off by default",
null,
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div cannot be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div cannot be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing') == null; }
@@ -41,7 +41,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing can be enabled",
function () {
oSession.fnRestore();
@@ -55,32 +55,32 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is hidden by default",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div can be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "visible"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div can be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing disabled override",
function () {
oSession.fnRestore();
@@ -94,7 +94,7 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bServerSide.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bServerSide.js
index 1b935928..1dd42ae3 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bServerSide.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bServerSide.js
@@ -11,7 +11,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Server side can be set to on",
null,
function () { return oSettings.oFeatures.bServerSide == true; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bSort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bSort.js
index fc94471f..37863066 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bSort.js
@@ -8,13 +8,13 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting is on by default",
null,
function () { return $('#example tbody td:eq(1)').html() == "Firefox 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting Asc by default class applied",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc"); }
@@ -26,13 +26,13 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting class removed from first column",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc") != true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting asc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc"); }
@@ -44,20 +44,20 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting acs class removed from second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") != true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting desc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_desc"); }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -83,7 +83,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bSortClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bSortClasses.js
index f2ed23c2..9130afee 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bSortClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/bSortClasses.js
@@ -8,27 +8,27 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are applied by default",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are applied to all required cells",
null,
function () { return $('#example tbody tr:eq(7) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are not applied to non-sorting columns",
null,
function () { return $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 1",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -36,9 +36,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 2",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -47,9 +47,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 3",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(3)')[0], { 'shift': true } );
},
function () {
@@ -60,9 +60,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Remove sorting classes on single column sort",
- function () {
+ function () {
$('#example thead th:eq(4)').click();
},
function () {
@@ -73,7 +73,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting class 1 was added",
null,
function () { return $('#example tbody tr:eq(1) td:eq(4)').hasClass('sorting_1'); }
@@ -81,7 +81,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes can be disabled",
function () {
oSession.fnRestore();
@@ -94,9 +94,9 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes disabled - add column 1 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -104,9 +104,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes disabled - add column 2 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -117,7 +117,7 @@ $(document).ready( function () {
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnCreatedCell.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnCreatedCell.js
index de76ace5..04501e08 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnCreatedCell.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnCreatedCell.js
@@ -16,13 +16,13 @@ $(document).ready( function () {
} ]
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Cell created is called once for each cell on init",
null,
function () { return tmp===50; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Created is called back on other draws",
function () { $('#example th:eq(1)').click(); },
function () { return tmp===100; }
@@ -30,7 +30,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Four arguments for the function",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -56,7 +56,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"First argument is a TD element",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -82,7 +82,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Second argument is the HTML value",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -108,7 +108,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Third argument is the data array",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -134,7 +134,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Fourth argument is the data source for the row",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -160,7 +160,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Fifth argument is the the col index",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnCreatedRow.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnCreatedRow.js
index b81eba38..1baeaac2 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnCreatedRow.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnCreatedRow.js
@@ -13,13 +13,13 @@ $(document).ready( function () {
}
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Row created is called once for each row on init",
null,
function () { return tmp===10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Created is called back on other draws",
function () { $('#example th:eq(1)').click(); },
function () { return tmp===20; }
@@ -27,7 +27,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Three arguments for the function",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -50,7 +50,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"First argument is a TR element",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -73,7 +73,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Second argument is an array with 5 elements",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -96,7 +96,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Third argument is the data source for the row",
- function () {
+ function () {
oSession.fnRestore();
tmp = true;
complete = false;
@@ -119,7 +119,7 @@ $(document).ready( function () {
oTest.fnWaitTest(
"TR element is tied to the correct data",
- function () {
+ function () {
oSession.fnRestore();
tmp = false;
complete = false;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnDrawCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnDrawCallback.js
index 20239c25..8936c161 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnDrawCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnDrawCallback.js
@@ -12,14 +12,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnDrawCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"One argument passed",
function () {
oSession.fnRestore();
@@ -37,7 +37,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once on first draw",
function () {
oSession.fnRestore();
@@ -71,7 +71,7 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once on each draw there after as well",
function () {
$('#example_next').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnHeaderCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnHeaderCallback.js
index b9a1167a..8c9dc076 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnHeaderCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnHeaderCallback.js
@@ -10,14 +10,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnHeaderCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Five arguments passed",
function () {
oSession.fnRestore();
@@ -35,7 +35,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once per draw",
function () {
oSession.fnRestore();
@@ -52,14 +52,14 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called on paging (i.e. another draw)",
function () { $('#example_next').click(); },
function () { return mPass == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -75,7 +75,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iStart correct on first page",
function () {
oSession.fnRestore();
@@ -96,7 +96,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iStart correct on second page",
function () {
oSession.fnRestore();
@@ -120,7 +120,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iEnd correct on second page",
function () {
oSession.fnRestore();
@@ -144,7 +144,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"aiDisplay length is full data when not filtered",
function () {
oSession.fnRestore();
@@ -164,7 +164,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"aiDisplay length is 9 when filtering on 'Mozilla'",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnInitComplete.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnInitComplete.js
index 5e786b22..655b50ec 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnInitComplete.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnInitComplete.js
@@ -4,7 +4,7 @@ oTest.fnStart( "fnInitComplete" );
/* Fairly boring function compared to the others! */
$(document).ready( function () {
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Two arguments passed",
function () {
@@ -21,7 +21,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -38,7 +38,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnInitComplete called once on first draw",
function () {
oSession.fnRestore();
@@ -55,7 +55,7 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnInitComplete never called there after",
function () {
$('#example_next').click();
@@ -66,7 +66,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows in the table on complete",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnRowCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnRowCallback.js
index 80227055..d175cfed 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnRowCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/fnRowCallback.js
@@ -12,14 +12,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnRowCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Four arguments passed",
function () {
oSession.fnRestore();
@@ -38,7 +38,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once for each drawn row",
function () {
oSession.fnRestore();
@@ -56,7 +56,7 @@ $(document).ready( function () {
function () { return mPass == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -72,7 +72,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1)').hasClass('unit_test'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
@@ -91,7 +91,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/iDeferLoading.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/iDeferLoading.js
index d6adcb73..7a9f2ba8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/iDeferLoading.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/iDeferLoading.js
@@ -24,13 +24,13 @@ $(document).ready( function () {
}
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"No request to the server yet",
null,
function () { return !gotServerData; }
@@ -42,31 +42,31 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Initial data order retained",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Initial data order retained 2",
null,
function () { return $('#example tbody td:eq(1)').html() == "Firefox 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Still no request to the server yet",
null,
function () { return !gotServerData; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Now we've had a request",
null,
function () { return gotServerData; }
@@ -78,13 +78,13 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/iDisplayLength.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/iDisplayLength.js
index e5e1e57b..7a31f7df 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/iDisplayLength.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/iDisplayLength.js
@@ -8,20 +8,20 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default length is ten",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 10",
null,
function () { return $('#example_length select').val() == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 25",
function () {
oSession.fnRestore();
@@ -34,14 +34,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 25; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 100",
function () {
oSession.fnRestore();
@@ -54,14 +54,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 100; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 23 (unknown select menu length)",
function () {
oSession.fnRestore();
@@ -74,7 +74,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 23; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 10 (since 23 is unknow)",
null,
function () { return $('#example_length select').val() == 10; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.oPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.oPaginate.js
index 48298c40..c7fc44d4 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.oPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.oPaginate.js
@@ -12,11 +12,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"oLanguage.oPaginate defaults",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "First" &&
oSettings.oLanguage.oPaginate.sPrevious == "Previous" &&
oSettings.oLanguage.oPaginate.sNext == "Next" &&
@@ -25,11 +25,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate defaults are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "First" &&
$('#example_paginate .previous').html() == "Previous" &&
$('#example_paginate .next').html() == "Next" &&
@@ -39,7 +39,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"oLanguage.oPaginate can be defined",
function () {
oSession.fnRestore();
@@ -59,7 +59,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "unit1" &&
oSettings.oLanguage.oPaginate.sPrevious == "test2" &&
oSettings.oLanguage.oPaginate.sNext == "unit3" &&
@@ -68,11 +68,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate definitions are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "unit1" &&
$('#example_paginate .previous').html() == "test2" &&
$('#example_paginate .next').html() == "unit3" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfo.js
index 1b649737..5f77e9de 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfo.js
@@ -9,20 +9,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language is 'Showing _START_ to _END_ of _TOTAL_ entries' by default",
null,
function () { return oSettings.oLanguage.sInfo == "Showing _START_ to _END_ of _TOTAL_ entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - without any macros",
function () {
oSession.fnRestore();
@@ -38,13 +38,13 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfo == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "unit test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _START_ only",
function () {
oSession.fnRestore();
@@ -59,7 +59,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _END_ only",
function () {
oSession.fnRestore();
@@ -74,7 +74,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 10 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _TOTAL_ only",
function () {
oSession.fnRestore();
@@ -89,7 +89,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 57 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macros _START_ and _END_",
function () {
oSession.fnRestore();
@@ -104,7 +104,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 10 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macros _START_, _END_ and _TOTAL_",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfoEmpty.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfoEmpty.js
index 1ce79dd2..a4b82c0d 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfoEmpty.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfoEmpty.js
@@ -9,17 +9,17 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info empty language is 'Showing 0 to 0 of 0 entries' by default",
function () { oTable.fnFilter("nothinghere"); },
function () { return oSettings.oLanguage.sInfoEmpty == "Showing 0 to 0 of 0 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"Showing 0 to 0 of 0 entries";
return bReturn;
@@ -27,7 +27,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info empty language can be defined",
function () {
oSession.fnRestore();
@@ -44,11 +44,11 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoEmpty == "unit test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit test";
return bReturn;
@@ -56,7 +56,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Macro's replaced",
function () {
oSession.fnRestore();
@@ -70,7 +70,7 @@ $(document).ready( function () {
oTable.fnFilter("nothinghere");
},
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit 1 0 0 test";
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfoPostFix.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfoPostFix.js
index adea1e98..3f2482d0 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfoPostFix.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sInfoPostFix.js
@@ -9,20 +9,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info post fix language is '' (blank) by default",
null,
function () { return oSettings.oLanguage.sInfoPostFix == ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Width no post fix, the basic info shows",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info post fix language can be defined",
function () {
oSession.fnRestore();
@@ -38,14 +38,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoPostFix == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries unit test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Macros have no effect in the post fix",
function () {
oSession.fnRestore();
@@ -61,7 +61,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Post fix is applied after fintering info",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sLengthMenu.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sLengthMenu.js
index 4e82a3af..6740bcb5 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sLengthMenu.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sLengthMenu.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu language is 'Show _MENU_ entries' by default",
null,
function () { return oSettings.oLanguage.sLengthMenu == "Show _MENU_ entries"; }
@@ -40,7 +40,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu length language can be defined - no _MENU_ macro",
function () {
oSession.fnRestore();
@@ -56,7 +56,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sLengthMenu == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Menu length language definition is in the DOM",
null,
function () {
@@ -65,7 +65,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu length language can be defined - with _MENU_ macro",
function () {
oSession.fnRestore();
@@ -88,7 +88,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Only the _MENU_ macro",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sProcessing.js
index 328046ed..fa990668 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sProcessing.js
@@ -10,20 +10,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing language is 'Processing...' by default",
null,
function () { return oSettings.oLanguage.sProcessing == "Processing..."; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language default is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "Processing..."; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing language can be defined",
function () {
oSession.fnRestore();
@@ -40,7 +40,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sProcessing == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language definition is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sSearch.js
index 1d6e3af9..0d58836b 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sSearch.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search language is 'Search:' by default",
null,
function () { return oSettings.oLanguage.sSearch == "Search:"; }
@@ -21,7 +21,7 @@ $(document).ready( function () {
function () { return $('label', oSettings.aanFeatures.f[0]).length == 1 }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search language default is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text()
@@ -29,7 +29,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search language can be defined",
function () {
oSession.fnRestore();
@@ -45,14 +45,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sSearch == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text().indexOf('unit test') !== -1; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Blank search has no space (separator) inserted",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sUrl.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sUrl.js
index c9b86813..d15b0330 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sUrl.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sUrl.js
@@ -13,14 +13,14 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"sUrl is blank by default",
null,
function () { return oSettings.oLanguage.sUrl == ""; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Loading of German file loads language information",
function () {
oSession.fnRestore();
@@ -34,7 +34,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.sProcessing == "Bitte warten..." &&
oSettings.oLanguage.sLengthMenu == "_MENU_ Einträge anzeigen" &&
oSettings.oLanguage.sZeroRecords == "Keine Einträge vorhanden." &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sZeroRecords.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sZeroRecords.js
index 308eb696..78668efe 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sZeroRecords.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oLanguage.sZeroRecords.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Zero records language is 'No matching records found' by default",
null,
function () { return oSettings.oLanguage.sZeroRecords == "No matching records found"; }
@@ -27,7 +27,7 @@ $(document).ready( function () {
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Zero records language can be defined",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oSearch.js
index dab33aba..8d8b0626 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/oSearch.js
@@ -11,11 +11,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default values should be blank",
null,
function () {
- var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
+ var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
!oSettings.oPreviousSearch.bRegex;
return bReturn;
}
@@ -24,7 +24,7 @@ $(document).ready( function () {
/* This test might be considered iffy since the full object isn't given, but it's reasonable to
* expect DataTables to cope with this. It should just assumine regex false
*/
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search term only in object",
function () {
oSession.fnRestore();
@@ -39,7 +39,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"New search will kill old one",
function () {
oTable.fnFilter("Opera");
@@ -47,7 +47,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Opera 7.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search plain text term and escape regex true",
function () {
oSession.fnRestore();
@@ -63,7 +63,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Nintendo DS browser"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search plain text term and escape regex false",
function () {
oSession.fnRestore();
@@ -79,7 +79,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Opera 7.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search regex text term and escape regex true",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sAjaxDataProp.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sAjaxDataProp.js
index c831c383..e0996103 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sAjaxDataProp.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sAjaxDataProp.js
@@ -14,107 +14,107 @@ $(document).ready( function () {
"sAjaxDataProp": "test"
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - sorting first column only",
- function () {
+ function () {
$('#example thead th:eq(0)').click(); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Firefox 1.0"; return b; }
);
/* Basic paging */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Mozilla 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Firefox 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Firefox 1.0"; }
);
/* Changing length */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sAjaxSource.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sAjaxSource.js
index da92ae72..bd6b0421 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sAjaxSource.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sAjaxSource.js
@@ -11,10 +11,10 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Server side is off by default",
null,
- function () {
+ function () {
return oSettings.sAjaxSource == "../../../examples/server_side/scripts/server_processing.php";
}
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sDom.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sDom.js
index 159e2027..5ae7f153 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sDom.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sDom.js
@@ -11,13 +11,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default DOM varaible",
null,
function () { return oSettings.sDom == "lfrtip"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default DOM in document",
null,
function () {
@@ -29,7 +29,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -40,7 +40,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 1 in code propagates",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
function () { return oSettings.sDom == '<"wrapper"flipt>'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 1 in DOM",
null,
function () {
@@ -79,7 +79,7 @@ $(document).ready( function () {
var nTable = document.getElementById('example');
var nCustomWrapper = $('div.wrapper')[0];
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrapper &&
nNodes[2] == nFilter &&
@@ -91,7 +91,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 2 in DOM",
function () {
oSession.fnRestore();
@@ -129,7 +129,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrappers[0] &&
nNodes[2] == nLength &&
@@ -142,7 +142,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no length element",
function () {
oSession.fnRestore();
@@ -161,7 +161,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
null == nLength &&
nNodes[1] == nFilter &&
@@ -172,7 +172,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no filter element",
function () {
oSession.fnRestore();
@@ -191,7 +191,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
null == nFilter &&
@@ -204,7 +204,7 @@ $(document).ready( function () {
/* Note we don't test for no table as this is not supported (and it would be fairly daft! */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no info element",
function () {
oSession.fnRestore();
@@ -223,7 +223,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -234,7 +234,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no paging element",
function () {
oSession.fnRestore();
@@ -253,7 +253,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sPaginationType.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sPaginationType.js
index 5895f7e3..9b75a7ea 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sPaginationType.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/4_server-side/sPaginationType.js
@@ -9,43 +9,43 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check two button paging is the default",
null,
function () { return oSettings.sPaginationType == "two_button"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_two_button'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Two A elements are in the wrapper",
null,
function () { return $('#example_paginate a').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"We have the previous button",
null,
function () { return document.getElementById('example_previous'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"We have the next button",
null,
function () { return document.getElementById('example_next'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Previous button is disabled",
null,
function () { return $('#example_previous').hasClass('paginate_disabled_previous'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Next button is enabled",
null,
function () { return $('#example_next').hasClass('paginate_enabled_next'); }
@@ -56,7 +56,7 @@ $(document).ready( function () {
/* Two buttons paging */
var bComplete = false;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can enabled full numbers paging",
function () {
oSession.fnRestore();
@@ -80,7 +80,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check full numbers class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_full_numbers'); }
@@ -88,7 +88,7 @@ $(document).ready( function () {
var nFirst, nPrevious, nNext, nLast;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Jump to last page",
function () {
nFirst = $('div.dataTables_paginate a.first');
@@ -102,7 +102,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Go to two pages previous",
function () {
nPrevious.click();
@@ -113,7 +113,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Next (second last) page",
function () {
nNext.click();
@@ -123,7 +123,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Jump to first page",
function () {
nFirst.click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config.js
index 2aff4602..d9c8a9d1 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "Sanity checks for DataTables with data from JS - Object data source" );
-oTest.fnTest(
+oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -433,135 +433,135 @@ $(document).ready( function () {
$('#example').dataTable( oInit );
/* Basic checks */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -643,14 +643,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -660,7 +660,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -671,7 +671,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -680,21 +680,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -703,14 +703,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -720,7 +720,7 @@ $(document).ready( function () {
*/
oTest.fnWaitTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable( oInit );
@@ -731,21 +731,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -758,7 +758,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -789,21 +789,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -813,7 +813,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -823,7 +823,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -832,7 +832,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_arrays_subobjects.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_arrays_subobjects.js
index c37b8ed5..eccebb6b 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_arrays_subobjects.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_arrays_subobjects.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "Sanity checks for DataTables with data from JS - Array / sub-object data source" );
-oTest.fnTest(
+oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -547,135 +547,135 @@ $(document).ready( function () {
$('#example').dataTable( oInit );
/* Basic checks */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -757,14 +757,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -774,7 +774,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -785,7 +785,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -794,21 +794,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -817,14 +817,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -834,7 +834,7 @@ $(document).ready( function () {
*/
oTest.fnWaitTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable( oInit );
@@ -845,21 +845,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -872,7 +872,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -903,21 +903,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -927,7 +927,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -937,7 +937,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -946,7 +946,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_deep.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_deep.js
index 69f17648..86b32a93 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_deep.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_deep.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "Sanity checks for DataTables with data from JS - Deep data source" );
-oTest.fnTest(
+oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -661,135 +661,135 @@ $(document).ready( function () {
$('#example').dataTable( oInit );
/* Basic checks */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -871,14 +871,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -888,7 +888,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -899,7 +899,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -908,21 +908,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -931,14 +931,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -948,7 +948,7 @@ $(document).ready( function () {
*/
oTest.fnWaitTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable( oInit );
@@ -959,21 +959,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -986,7 +986,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -1017,21 +1017,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -1041,7 +1041,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -1051,7 +1051,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -1060,7 +1060,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_null_source.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_null_source.js
index 2667e017..ffe97791 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_null_source.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_null_source.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: js_data
oTest.fnStart( "Sanity checks for DataTables with data from JS - Null data source for last column" );
-oTest.fnTest(
+oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -33,146 +33,146 @@ $(document).ready( function () {
$('#example').dataTable( oInit );
/* Basic checks */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Data in last column is empty",
null,
function () { return $('#example tbody td:eq(4)').html() == ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data in last column is still empty",
null,
function () { return $('#example tbody td:eq(4)').html() == ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -254,14 +254,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -271,7 +271,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -282,7 +282,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -291,21 +291,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -314,14 +314,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -331,7 +331,7 @@ $(document).ready( function () {
*/
oTest.fnWaitTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable( oInit );
@@ -342,21 +342,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -369,7 +369,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -400,21 +400,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -424,7 +424,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -434,7 +434,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -443,7 +443,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_objects.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_objects.js
index 2aff4602..d9c8a9d1 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_objects.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_objects.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "Sanity checks for DataTables with data from JS - Object data source" );
-oTest.fnTest(
+oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -433,135 +433,135 @@ $(document).ready( function () {
$('#example').dataTable( oInit );
/* Basic checks */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -643,14 +643,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -660,7 +660,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -671,7 +671,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -680,21 +680,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -703,14 +703,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -720,7 +720,7 @@ $(document).ready( function () {
*/
oTest.fnWaitTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable( oInit );
@@ -731,21 +731,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -758,7 +758,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -789,21 +789,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -813,7 +813,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -823,7 +823,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -832,7 +832,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_objects_subarrays.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_objects_subarrays.js
index 05fdb990..5171bc61 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_objects_subarrays.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/_zero_config_objects_subarrays.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "Sanity checks for DataTables with data from JS - Object / sub-array data source" );
-oTest.fnTest(
+oTest.fnTest(
"jQuery.dataTable function",
null,
function () { return typeof jQuery().dataTable == "function"; }
@@ -547,135 +547,135 @@ $(document).ready( function () {
$('#example').dataTable( oInit );
/* Basic checks */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length changing div exists",
null,
function () { return document.getElementById('example_length') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Filtering div exists",
null,
function () { return document.getElementById('example_filter') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Information div exists",
null,
function () { return document.getElementById('example_info') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Pagination div exists",
null,
function () { return document.getElementById('example_paginate') != null; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing div is off by default",
null,
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -757,14 +757,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -774,7 +774,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -785,7 +785,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -794,21 +794,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -817,14 +817,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -834,7 +834,7 @@ $(document).ready( function () {
*/
oTest.fnWaitTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable( oInit );
@@ -845,21 +845,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -872,7 +872,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -903,21 +903,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -927,7 +927,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -937,7 +937,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -946,7 +946,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aaSorting.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aaSorting.js
index f6b7e3ae..876c6d10 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aaSorting.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aaSorting.js
@@ -15,7 +15,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default sorting is single column",
null,
function () {
@@ -23,7 +23,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default sorting is first column asc",
null,
function () {
@@ -32,14 +32,14 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting is applied",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single string column asc",
function () {
oSession.fnRestore();
@@ -59,7 +59,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single string column desc",
function () {
oSession.fnRestore();
@@ -79,7 +79,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single int column asc",
function () {
oSession.fnRestore();
@@ -99,7 +99,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single int column desc",
function () {
oSession.fnRestore();
@@ -119,7 +119,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / string asc",
function () {
oSession.fnRestore();
@@ -138,7 +138,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / string desc",
function () {
oSession.fnRestore();
@@ -157,7 +157,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / string asc",
function () {
oSession.fnRestore();
@@ -176,7 +176,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "iPod Touch / iPhone"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / string desc",
function () {
oSession.fnRestore();
@@ -196,7 +196,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / int asc",
function () {
oSession.fnRestore();
@@ -215,7 +215,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / int desc",
function () {
oSession.fnRestore();
@@ -234,7 +234,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1.9"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / int asc",
function () {
oSession.fnRestore();
@@ -253,7 +253,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "125.5"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / int desc",
function () {
oSession.fnRestore();
@@ -272,7 +272,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (3 column) - string asc / int asc / string asc",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aaSortingFixed.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aaSortingFixed.js
index 5794cc0f..287219c1 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aaSortingFixed.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aaSortingFixed.js
@@ -15,7 +15,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"No fixed sorting by default",
null,
function () {
@@ -24,7 +24,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -47,7 +47,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
@@ -55,7 +55,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -75,7 +75,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bSearchable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bSearchable.js
index 9f963f99..ff68c488 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bSearchable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bSearchable.js
@@ -15,7 +15,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Columns are searchable by default",
function () { oTable.fnFilter("Camino"); },
function () {
@@ -26,7 +26,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disabling sorting on a column removes it from the global filter",
function () {
oSession.fnRestore();
@@ -46,13 +46,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disabled on one column has no effect on other columns",
function () { oTable.fnFilter("Webkit"); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disable filtering on multiple columns",
function () {
oSession.fnRestore();
@@ -72,7 +72,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filter on second disabled column",
function () { oTable.fnFilter("Camino"); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bSortable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bSortable.js
index 60ec2406..da8104a6 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bSortable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bSortable.js
@@ -15,13 +15,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"All columns are sortable by default",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can disable sorting from one column",
function () {
oSession.fnRestore();
@@ -40,13 +40,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disabled column has no sorting class",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
@@ -55,7 +55,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == "X"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disable sorting on multiple columns - no sorting classes",
function () {
oSession.fnRestore();
@@ -71,14 +71,14 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example thead th:eq(1)').hasClass("sorting") ||
$('#example thead th:eq(3)').hasClass("sorting")
return bReturn == false;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on disabled column 1 has no effect",
function () {
$('#example thead th:eq(1)').click();
@@ -86,7 +86,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -94,7 +94,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Second sort on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -102,7 +102,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Even with multiple disabled sorting columns other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bUseRendered.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bUseRendered.js
index 9032e3ac..160e18b0 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bUseRendered.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bUseRendered.js
@@ -30,13 +30,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default for bUseRendered is true - rendered data is used for sorting",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'aaa'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"When bUseRendered is false, original data is used for sorting",
function () {
mTmp = 0;
@@ -45,7 +45,7 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mData": "engine" },
- {
+ {
"mData": "browser",
"bUseRendered": false,
"fnRender": function (a) {
@@ -68,7 +68,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"bUseRendered set to false on one columns and true (default) on two others",
function () {
mTmp = 0;
@@ -90,7 +90,7 @@ $(document).ready( function () {
}
}
},
- {
+ {
"mData": "browser",
"bUseRendered": false,
"fnRender": function (a) {
@@ -121,13 +121,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'aaa1'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 2nd column sorting",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 3rd column sorting",
function () {
$('#example thead th:eq(2)').click();
@@ -136,13 +136,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(2)').html() == 'zzz3'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 4th column sorting",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == '-'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 5th column sorting",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bVisible.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bVisible.js
index 638fc45a..831027ce 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bVisible.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.bVisible.js
@@ -15,13 +15,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"All columns are visible by default",
null,
function () { return $('#example tbody tr:eq(0) td').length == 5; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide one column and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -39,18 +39,18 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 4; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide one column and it removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 4; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"The correct thead column has been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Platform(s)" &&
jqNodes[2].innerHTML == "Engine version" &&
@@ -59,14 +59,14 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"The correct tbody column has been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "Gnome" &&
jqNodes[2].innerHTML == "1.8" &&
@@ -76,7 +76,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide multiple columns and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -94,32 +94,32 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - the correct thead columns have been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Engine version"
return bReturn;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - the correct tbody columns have been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "1"
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.fnRender.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.fnRender.js
index 0c1752d3..cee101cf 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.fnRender.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.fnRender.js
@@ -22,13 +22,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Single column - fnRender is called twice for each row",
null,
function () { return mTmp == 57; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Confirm that fnRender passes two arguments with four parameters",
function () {
mTmp = true;
@@ -37,7 +37,7 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mData": "engine" },
- {
+ {
"fnRender": function (a) {
if ( arguments.length != 2 || typeof a.iDataRow=='undefined' ||
typeof a.iDataColumn=='undefined' || typeof a.aData=='undefined' ||
@@ -58,7 +58,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRender iDataColumn is the column",
function () {
mTmp = true;
@@ -86,7 +86,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRender aData is data array of correct size",
function () {
mTmp = true;
@@ -114,7 +114,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -137,7 +137,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'unittest'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -146,13 +146,13 @@ $(document).ready( function () {
"aoColumns": [
{ "mData": "engine" },
{ "mData": "browser" },
- {
+ {
"mData": "platform",
"fnRender": function (a) {
return 'unittest1';
}
},
- {
+ {
"mData": "version",
"fnRender": function (a) {
return 'unittest2';
@@ -163,7 +163,7 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(0) td:eq(2)').html() == 'unittest1' &&
$('#example tbody tr:eq(0) td:eq(3)').html() == 'unittest2';
return bReturn; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.iDataSort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.iDataSort.js
index d82585e3..daf2967c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.iDataSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.iDataSort.js
@@ -17,32 +17,32 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on first column is uneffected",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on second column is the order of the fifth",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Reserve sorting on second column uses fifth column as well",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on 5th column retains it's own sorting",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Use 2nd col for sorting 5th col and via-versa - no effect on first col sorting",
function () {
mTmp = 0;
@@ -61,25 +61,25 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"2nd col sorting uses fifth col",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"2nd col sorting uses fifth col - reversed",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"5th col sorting uses 2nd col",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"5th col sorting uses 2nd col - reversed",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'Seamonkey 1.1'; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sClass.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sClass.js
index c7efc466..2958ab6d 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sClass.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sClass.js
@@ -15,13 +15,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"By default the test class hasn't been applied to the column (sanity!)",
null,
function () { return $('#example tbody tr:eq(0) td:eq(2)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - first row",
function () {
oSession.fnRestore();
@@ -39,50 +39,50 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - third row",
null,
function () { return $('#example tbody tr:eq(3) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - last row",
null,
function () { return $('#example tbody tr:eq(9) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to other columns - 1st",
null,
function () { return $('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to other columns - 5th",
null,
function () { return $('#example tbody tr:eq(3) td:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - seventh row - second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody tr:eq(6) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to header",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to footer",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - first row",
function () {
oSession.fnRestore();
@@ -98,20 +98,20 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest2') &&
$('#example tbody tr:eq(8) td:eq(3)').hasClass('unittest1');
return bReturn;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - has not applied to other columns - 5th 1",
null,
function () { return $('#example tbody tr:eq(0) td:eq(4)').hasClass('unittest1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - has not applied to other columns - 5th 2",
null,
function () { return $('#example tbody tr:eq(6) td:eq(4)').hasClass('unittest2') == false; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sName.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sName.js
index 08fe49bc..a04686f9 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sName.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sName.js
@@ -17,7 +17,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Names are stored in the columns object",
null,
function () { return oSettings.aoColumns[3].sName =="unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sTitle.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sTitle.js
index 3f849cf4..0d20b551 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sTitle.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sTitle.js
@@ -15,12 +15,12 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"If not given, then the columns titles are empty",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Browser" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -30,7 +30,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can set a single column title - and others are read from DOM",
function () {
oSession.fnRestore();
@@ -47,7 +47,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -57,7 +57,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can set multiple column titles",
function () {
oSession.fnRestore();
@@ -74,7 +74,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test 1" &&
jqNodes[2].innerHTML == "Platform(s)" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sWidth.js
index 91ce1004..4cfc0d31 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoColumns.sWidth.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "aoColumns.sWidth" );
-/* NOTE - we need to disable the auto width for the majority of these test in order to preform
+/* NOTE - we need to disable the auto width for the majority of these test in order to preform
* these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests
* with auto width enabled however to ensure it scales columns as required
*/
@@ -21,13 +21,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width disabled the width for one column is appled",
null,
function () { return $('#example thead th:eq(1)')[0].style.width == "40%"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width disabled the width for one column is appled",
function () {
oSession.fnRestore();
@@ -52,7 +52,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width, it will make the smallest column the largest with percentage width given",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoSearchCols.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoSearchCols.js
index 35d4e97b..f89f6d4c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoSearchCols.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/aoSearchCols.js
@@ -17,11 +17,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be to have a empty colums array",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.aoPreSearchCols[0].sSearch == 0 && !oSettings.aoPreSearchCols[0].bRegex &&
oSettings.aoPreSearchCols[1].sSearch == 0 && !oSettings.aoPreSearchCols[1].bRegex &&
oSettings.aoPreSearchCols[2].sSearch == 0 && !oSettings.aoPreSearchCols[2].bRegex &&
@@ -32,7 +32,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on a single column - no regex statement given",
function () {
oSession.fnRestore();
@@ -57,7 +57,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on two columns - no regex statement given",
function () {
oSession.fnRestore();
@@ -82,7 +82,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "1.5"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on single column - escape regex false",
function () {
oSession.fnRestore();
@@ -107,7 +107,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "Showing 1 to 3 of 3 entries (filtered from 57 total entries)"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on two columns - escape regex false on first, true on second",
function () {
oSession.fnRestore();
@@ -132,7 +132,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Konqureror 3.3"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on two columns (no records) - escape regex false on first, true on second",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/asStripClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/asStripClasses.js
index 30270540..836350a8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/asStripClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/asStripClasses.js
@@ -14,7 +14,7 @@ $(document).ready( function () {
]
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default row striping is applied",
null,
function () {
@@ -25,7 +25,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Row striping on the second page",
function () { $('#example_next').click(); },
function () {
@@ -37,7 +37,7 @@ $(document).ready( function () {
);
/* No striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"No row striping",
function () {
oSession.fnRestore();
@@ -67,7 +67,7 @@ $(document).ready( function () {
);
/* Custom striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping [2]",
function () {
oSession.fnRestore();
@@ -93,7 +93,7 @@ $(document).ready( function () {
/* long array of striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping [4]",
function () {
oSession.fnRestore();
@@ -117,7 +117,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping is restarted on second page [2]",
function () { $('#example_next').click(); },
function () {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bAutoWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bAutoWidth.js
index 64a5c0e0..eccab9f1 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bAutoWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bAutoWidth.js
@@ -3,7 +3,7 @@ oTest.fnStart( "bAutoWidth" );
/* It's actually a little tricky to test this. We can't test absolute numbers because
* different browsers and different platforms will render the width of the columns slightly
- * differently. However, we certainly can test the principle of what should happen (column
+ * differently. However, we certainly can test the principle of what should happen (column
* width doesn't change over pages)
*/
@@ -21,13 +21,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width is enabled by default",
null,
function () { return oSettings.oFeatures.bAutoWidth; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"First column has a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style').match(/width/i); }
@@ -37,7 +37,7 @@ $(document).ready( function () {
This would seem like a better test - but there appear to be difficulties with tables
which are bigger (calculated) than there is actually room for. I suspect this is actually
a bug in datatables
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on first page match second page",
null,
function () {
@@ -61,7 +61,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on second page match thid page",
null,
function () {
@@ -86,7 +86,7 @@ $(document).ready( function () {
*/
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width can be disabled",
function () {
oSession.fnRestore();
@@ -106,14 +106,14 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bAutoWidth == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"First column does not have a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style') == null; }
);
/*
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on first page do not match second page",
null,
function () {
@@ -138,7 +138,7 @@ $(document).ready( function () {
*/
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bFilter.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bFilter.js
index 0a325f49..09b97302 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bFilter.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bFilter.js
@@ -14,14 +14,14 @@ $(document).ready( function () {
]
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering div exists by default",
null,
function () { return document.getElementById('example_filter') != null; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fltering can be disabled",
function () {
oSession.fnRestore();
@@ -41,7 +41,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bInfo.js
index 85886237..8a550d89 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bInfo.js
@@ -14,14 +14,14 @@ $(document).ready( function () {
]
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info div exists by default",
null,
function () { return document.getElementById('example_info') != null; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info can be disabled",
function () {
oSession.fnRestore();
@@ -41,7 +41,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bLengthChange.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bLengthChange.js
index cfba6024..4ce3a769 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bLengthChange.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bLengthChange.js
@@ -14,7 +14,7 @@ $(document).ready( function () {
]
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length div exists by default",
null,
function () { return document.getElementById('example_length') != null; }
@@ -39,12 +39,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Info takes length into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Change length can be disabled",
function () {
oSession.fnRestore();
@@ -66,12 +66,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information takes length disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length change enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bPaginate.js
index 7c2a3c98..ef891bd8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bPaginate.js
@@ -14,7 +14,7 @@ $(document).ready( function () {
]
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion div exists by default",
null,
function () { return document.getElementById('example_paginate') != null; }
@@ -23,12 +23,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information div takes paging into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -50,12 +50,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information div takes paging disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 57 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bProcessing.js
index c226fe07..a6414265 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bProcessing.js
@@ -21,25 +21,25 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing is off by default",
null,
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div cannot be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div cannot be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing') == null; }
@@ -47,7 +47,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing can be enabled",
function () {
oSession.fnRestore();
@@ -67,32 +67,32 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is hidden by default",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div can be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "visible"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div can be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing disabled override",
function () {
oSession.fnRestore();
@@ -112,7 +112,7 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bServerSide.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bServerSide.js
index 97689785..53d075e0 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bServerSide.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bServerSide.js
@@ -17,7 +17,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Server side is off by default",
null,
function () { return oSettings.oFeatures.bServerSide == false; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bSort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bSort.js
index d5cfa965..9bc69a7a 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bSort.js
@@ -14,13 +14,13 @@ $(document).ready( function () {
]
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting is on by default",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting Asc by default class applied",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc"); }
@@ -32,13 +32,13 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting class removed from first column",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc") != true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting asc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc"); }
@@ -50,20 +50,20 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting acs class removed from second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") != true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting desc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_desc"); }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -95,7 +95,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bSortClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bSortClasses.js
index 9b127cb5..281fc5f8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bSortClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/bSortClasses.js
@@ -14,27 +14,27 @@ $(document).ready( function () {
]
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are applied by default",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are applied to all required cells",
null,
function () { return $('#example tbody tr:eq(7) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are not applied to non-sorting columns",
null,
function () { return $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 1",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -42,9 +42,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 2",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -53,9 +53,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 3",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(3)')[0], { 'shift': true } );
},
function () {
@@ -66,9 +66,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Remove sorting classes on single column sort",
- function () {
+ function () {
$('#example thead th:eq(4)').click();
},
function () {
@@ -79,7 +79,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting class 1 was added",
null,
function () { return $('#example tbody tr:eq(1) td:eq(4)').hasClass('sorting_1'); }
@@ -87,7 +87,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes can be disabled",
function () {
oSession.fnRestore();
@@ -106,9 +106,9 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes disabled - add column 1 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -116,9 +116,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes disabled - add column 2 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -129,7 +129,7 @@ $(document).ready( function () {
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnDrawCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnDrawCallback.js
index 58c2118f..05ae7b3f 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnDrawCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnDrawCallback.js
@@ -18,14 +18,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass, bInit;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnDrawCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"One argument passed",
function () {
oSession.fnRestore();
@@ -53,7 +53,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -81,7 +81,7 @@ $(document).ready( function () {
/* The draw callback is called once for the init and then when the data is added */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once on first draw",
function () {
oSession.fnRestore();
@@ -108,7 +108,7 @@ $(document).ready( function () {
function () { return mPass == 2 && bInit; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once on each draw there after as well",
function () {
$('#example_next').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnHeaderCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnHeaderCallback.js
index 321335eb..8b27bed8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnHeaderCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnHeaderCallback.js
@@ -16,14 +16,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass, bInit;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnHeaderCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Five arguments passed",
function () {
oSession.fnRestore();
@@ -52,7 +52,7 @@ $(document).ready( function () {
/* The header callback is called once for the init and then when the data is added */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnHeaderCallback called once per draw",
function () {
oSession.fnRestore();
@@ -79,14 +79,14 @@ $(document).ready( function () {
function () { return mPass == 2 && bInit; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called on paging (i.e. another draw)",
function () { $('#example_next').click(); },
function () { return mPass == 3; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -108,7 +108,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iStart correct on first page",
function () {
oSession.fnRestore();
@@ -135,7 +135,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iStart correct on second page",
function () {
oSession.fnRestore();
@@ -165,7 +165,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iEnd correct on second page",
function () {
oSession.fnRestore();
@@ -195,7 +195,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"aiDisplay length is full data when not filtered",
function () {
oSession.fnRestore();
@@ -221,7 +221,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"aiDisplay length is 9 when filtering on 'Mozilla'",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnInitComplete.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnInitComplete.js
index f700607b..dd5402f0 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnInitComplete.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnInitComplete.js
@@ -18,14 +18,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnInitComplete == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Two arguments passed (for Ajax!)",
function () {
oSession.fnRestore();
@@ -49,7 +49,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -72,7 +72,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnInitComplete called once on first draw",
function () {
oSession.fnRestore();
@@ -95,7 +95,7 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnInitComplete never called there after",
function () {
$('#example_next').click();
@@ -106,7 +106,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows in the table on complete",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnRowCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnRowCallback.js
index 25c78120..d54e3626 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnRowCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnRowCallback.js
@@ -18,14 +18,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnRowCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Four arguments passed",
function () {
oSession.fnRestore();
@@ -50,7 +50,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once for each drawn row",
function () {
oSession.fnRestore();
@@ -74,7 +74,7 @@ $(document).ready( function () {
function () { return mPass == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -96,7 +96,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1)').hasClass('unit_test'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
@@ -121,7 +121,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnServerData.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnServerData.js
index f03deebd..207a6f1b 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnServerData.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/fnServerData.js
@@ -4,7 +4,7 @@ oTest.fnStart( "fnServerData for Ajax sourced data" );
$(document).ready( function () {
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Argument length",
function () {
$('#example').dataTable( {
@@ -24,7 +24,7 @@ $(document).ready( function () {
function () { return mPass == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Url",
function () {
$('#example').dataTable( {
@@ -45,7 +45,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array",
function () {
$('#example').dataTable( {
@@ -66,7 +66,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Callback function",
function () {
$('#example').dataTable( {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/iDisplayLength.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/iDisplayLength.js
index 47264e08..56983e65 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/iDisplayLength.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/iDisplayLength.js
@@ -14,20 +14,20 @@ $(document).ready( function () {
]
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default length is ten",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 10",
null,
function () { return $('#example_length select').val() == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 25",
function () {
oSession.fnRestore();
@@ -46,14 +46,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 25; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 100",
function () {
oSession.fnRestore();
@@ -72,14 +72,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 100; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 23 (unknown select menu length)",
function () {
oSession.fnRestore();
@@ -98,7 +98,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 23; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 10 (since 23 is unknow)",
null,
function () { return $('#example_length select').val() == 10; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.oPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.oPaginate.js
index 3400bb58..e0c286ac 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.oPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.oPaginate.js
@@ -18,11 +18,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"oLanguage.oPaginate defaults",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "First" &&
oSettings.oLanguage.oPaginate.sPrevious == "Previous" &&
oSettings.oLanguage.oPaginate.sNext == "Next" &&
@@ -31,11 +31,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate defaults are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "First" &&
$('#example_paginate .previous').html() == "Previous" &&
$('#example_paginate .next').html() == "Next" &&
@@ -45,7 +45,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"oLanguage.oPaginate can be defined",
function () {
oSession.fnRestore();
@@ -71,7 +71,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "unit1" &&
oSettings.oLanguage.oPaginate.sPrevious == "test2" &&
oSettings.oLanguage.oPaginate.sNext == "unit3" &&
@@ -80,11 +80,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate definitions are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "unit1" &&
$('#example_paginate .previous').html() == "test2" &&
$('#example_paginate .next').html() == "unit3" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfo.js
index 6ad42910..53d60859 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfo.js
@@ -15,20 +15,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language is 'Showing _START_ to _END_ of _TOTAL_ entries' by default",
null,
function () { return oSettings.oLanguage.sInfo == "Showing _START_ to _END_ of _TOTAL_ entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - without any macros",
function () {
oSession.fnRestore();
@@ -50,13 +50,13 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfo == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "unit test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _START_ only",
function () {
oSession.fnRestore();
@@ -77,7 +77,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _END_ only",
function () {
oSession.fnRestore();
@@ -98,7 +98,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 10 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _TOTAL_ only",
function () {
oSession.fnRestore();
@@ -119,7 +119,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 57 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macros _START_ and _END_",
function () {
oSession.fnRestore();
@@ -140,7 +140,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 10 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macros _START_, _END_ and _TOTAL_",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfoEmpty.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfoEmpty.js
index 116f3de6..da767fff 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfoEmpty.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfoEmpty.js
@@ -15,17 +15,17 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info empty language is 'Showing 0 to 0 of 0 entries' by default",
function () { oTable.fnFilter("nothinghere"); },
function () { return oSettings.oLanguage.sInfoEmpty == "Showing 0 to 0 of 0 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"Showing 0 to 0 of 0 entries";
return bReturn;
@@ -33,7 +33,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info empty language can be defined",
function () {
oSession.fnRestore();
@@ -56,11 +56,11 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoEmpty == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit test";
return bReturn;
@@ -68,7 +68,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Macro's replaced",
function () {
oSession.fnRestore();
@@ -88,7 +88,7 @@ $(document).ready( function () {
oTable.fnFilter("nothinghere");
},
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit 1 0 0 test";
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfoPostFix.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfoPostFix.js
index 9f6687cc..67bbcdc7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfoPostFix.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sInfoPostFix.js
@@ -15,20 +15,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info post fix language is '' (blank) by default",
null,
function () { return oSettings.oLanguage.sInfoPostFix == ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Width no post fix, the basic info shows",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info post fix language can be defined",
function () {
oSession.fnRestore();
@@ -50,14 +50,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoPostFix == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries unit test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Macros have no effect in the post fix",
function () {
oSession.fnRestore();
@@ -79,7 +79,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Post fix is applied after fintering info",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sLengthMenu.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sLengthMenu.js
index 6abb0416..a079b2e8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sLengthMenu.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sLengthMenu.js
@@ -15,7 +15,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu language is 'Show _MENU_ entries' by default",
null,
function () { return oSettings.oLanguage.sLengthMenu == "Show _MENU_ entries"; }
@@ -46,7 +46,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu length language can be defined - no _MENU_ macro",
function () {
oSession.fnRestore();
@@ -68,7 +68,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sLengthMenu == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Menu length language definition is in the DOM",
null,
function () {
@@ -77,7 +77,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu length language can be defined - with _MENU_ macro",
function () {
oSession.fnRestore();
@@ -106,7 +106,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Only the _MENU_ macro",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sProcessing.js
index 5e072411..ec387cf5 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sProcessing.js
@@ -16,20 +16,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing language is 'Processing...' by default",
null,
function () { return oSettings.oLanguage.sProcessing == "Processing..."; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language default is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "Processing..."; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing language can be defined",
function () {
oSession.fnRestore();
@@ -52,7 +52,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sProcessing == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language definition is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sSearch.js
index 57927929..316c2961 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sSearch.js
@@ -15,7 +15,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search language is 'Search:' by default",
null,
function () { return oSettings.oLanguage.sSearch == "Search:"; }
@@ -27,7 +27,7 @@ $(document).ready( function () {
function () { return $('label', oSettings.aanFeatures.f[0]).length == 1 }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search language default is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text()
@@ -35,7 +35,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search language can be defined",
function () {
oSession.fnRestore();
@@ -57,14 +57,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sSearch == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text().indexOf('unit test') !== -1; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Blank search has a no space (separator) inserted",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sUrl.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sUrl.js
index 80d04727..8e8d304a 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sUrl.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sUrl.js
@@ -19,14 +19,14 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"sUrl is blank by default",
null,
function () { return oSettings.oLanguage.sUrl == ""; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Loading of German file loads language information",
function () {
oSession.fnRestore();
@@ -46,7 +46,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.sProcessing == "Bitte warten..." &&
oSettings.oLanguage.sLengthMenu == "_MENU_ Einträge anzeigen" &&
oSettings.oLanguage.sZeroRecords == "Keine Einträge vorhanden." &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sZeroRecords.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sZeroRecords.js
index 26e17835..c0f4564b 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sZeroRecords.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oLanguage.sZeroRecords.js
@@ -15,7 +15,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Zero records language is 'No matching records found' by default",
null,
function () { return oSettings.oLanguage.sZeroRecords == "No matching records found"; }
@@ -29,7 +29,7 @@ $(document).ready( function () {
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Zero records language can be defined",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oSearch.js
index cdcf1103..42dc3572 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/oSearch.js
@@ -15,11 +15,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default values should be blank",
null,
function () {
- var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
+ var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
!oSettings.oPreviousSearch.bRegex;
return bReturn;
}
@@ -28,7 +28,7 @@ $(document).ready( function () {
/* This test might be considered iffy since the full object isn't given, but it's reasonable to
* expect DataTables to cope with this. It should just assumine regex false
*/
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search term only in object",
function () {
oSession.fnRestore();
@@ -49,7 +49,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Gecko"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"New search will kill old one",
function () {
oTable.fnFilter("Opera");
@@ -57,7 +57,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search plain text term and escape regex true",
function () {
oSession.fnRestore();
@@ -79,7 +79,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Nintendo DS browser"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search plain text term and escape regex false",
function () {
oSession.fnRestore();
@@ -101,7 +101,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search regex text term and escape regex true",
function () {
oSession.fnRestore();
@@ -123,7 +123,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search regex text term and escape regex false",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sAjaxSource.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sAjaxSource.js
index ea3f9836..00ae9b3f 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sAjaxSource.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sAjaxSource.js
@@ -17,10 +17,10 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Server side is off by default",
null,
- function () {
+ function () {
return oSettings.sAjaxSource == "../../../examples/ajax/sources/objects.txt";
}
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sDom.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sDom.js
index 3cacaf3c..2486413b 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sDom.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sDom.js
@@ -17,13 +17,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default DOM varaible",
null,
function () { return oSettings.sDom == "lfrtip"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default DOM in document",
null,
function () {
@@ -35,7 +35,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -46,7 +46,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 1 in code propagates",
function () {
oSession.fnRestore();
@@ -66,7 +66,7 @@ $(document).ready( function () {
function () { return oSettings.sDom == '<"wrapper"flipt>'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 1 in DOM",
null,
function () {
@@ -91,7 +91,7 @@ $(document).ready( function () {
var nTable = document.getElementById('example');
var nCustomWrapper = $('div.wrapper')[0];
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrapper &&
nNodes[2] == nFilter &&
@@ -103,7 +103,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 2 in DOM",
function () {
oSession.fnRestore();
@@ -147,7 +147,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrappers[0] &&
nNodes[2] == nLength &&
@@ -160,7 +160,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no length element",
function () {
oSession.fnRestore();
@@ -185,7 +185,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
null == nLength &&
nNodes[1] == nFilter &&
@@ -196,7 +196,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no filter element",
function () {
oSession.fnRestore();
@@ -221,7 +221,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
null == nFilter &&
@@ -234,7 +234,7 @@ $(document).ready( function () {
/* Note we don't test for no table as this is not supported (and it would be fairly daft! */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no info element",
function () {
oSession.fnRestore();
@@ -259,7 +259,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -270,7 +270,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no paging element",
function () {
oSession.fnRestore();
@@ -295,7 +295,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sPaginationType.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sPaginationType.js
index e3b67dac..8bec597c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sPaginationType.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/5_ajax_objects/sPaginationType.js
@@ -15,43 +15,43 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check two button paging is the default",
null,
function () { return oSettings.sPaginationType == "two_button"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_two_button'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Two A elements are in the wrapper",
null,
function () { return $('#example_paginate a').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"We have the previous button",
null,
function () { return document.getElementById('example_previous'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"We have the next button",
null,
function () { return document.getElementById('example_next'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Previous button is disabled",
null,
function () { return $('#example_previous').hasClass('paginate_disabled_previous'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Next button is enabled",
null,
function () { return $('#example_next').hasClass('paginate_enabled_next'); }
@@ -62,7 +62,7 @@ $(document).ready( function () {
/* Two buttons paging */
var bComplete = false;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can enabled full numbers paging",
function () {
oSession.fnRestore();
@@ -90,7 +90,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check full numbers class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_full_numbers'); }
@@ -98,7 +98,7 @@ $(document).ready( function () {
var nFirst, nPrevious, nNext, nLast;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Jump to last page",
function () {
nFirst = $('div.dataTables_paginate a.first');
@@ -112,7 +112,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Go to two pages previous",
function () {
nPrevious.click();
@@ -123,7 +123,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Next (second last) page",
function () {
nNext.click();
@@ -133,7 +133,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Jump to first page",
function () {
nFirst.click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/_zero_config.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/_zero_config.js
index aa257f94..52180696 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/_zero_config.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/_zero_config.js
@@ -8,116 +8,116 @@ $(document).ready( function () {
};
$('#example').dataTable( oInit );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 TR elements available from fnGetNodes",
null,
function () { return $('#example').dataTable().fnGetNodes().length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"14 TR elements available from fnGetNodes after sort",
null,
function () { return $('#example').dataTable().fnGetNodes().length == 14; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
@@ -199,14 +199,14 @@ $(document).ready( function () {
oTest.fnTest(
"Information with filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter 'Win' second page",
function () { $('#example_next').click(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
@@ -216,7 +216,7 @@ $(document).ready( function () {
$('#example_next').click();
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; }
);
@@ -227,7 +227,7 @@ $(document).ready( function () {
$('#example_previous').click();
$('#example_previous').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -236,21 +236,21 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter increased to 'Win 98'",
function () { $('#example_filter input').val("Win 98").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter decreased to 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -259,14 +259,14 @@ $(document).ready( function () {
function () {
$('#example_next').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Information with filter removed",
function () { $('#example_filter input').val("").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -276,7 +276,7 @@ $(document).ready( function () {
*/
oTest.fnWaitTest(
"Filter 'W' - rows",
- function () {
+ function () {
/* Reset the table such that the old sorting doesn't mess things up */
oSession.fnRestore();
$('#example').dataTable( oInit );
@@ -287,21 +287,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'W' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Wi'",
function () { $('#example_filter input').val("Wi").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'Win'",
function () { $('#example_filter input').val("Win").keyup(); },
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -314,7 +314,7 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting column 1 info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; }
);
@@ -345,21 +345,21 @@ $(document).ready( function () {
oTest.fnTest(
"Filter 'Win' - sorting col 3 - reversed info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; }
);
oTest.fnTest(
"Filter 'nothinghere'",
function () { $('#example_filter input').val("nothinghere").keyup(); },
- function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
+ function () { return $('#example tbody tr:eq(0) td:eq(0)').html() ==
"No matching records found"; }
);
oTest.fnTest(
"Filter 'nothinghere' - info",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -369,7 +369,7 @@ $(document).ready( function () {
$('#example_filter input').val("").keyup();
$('#example thead th:eq(0)').click();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
@@ -379,7 +379,7 @@ $(document).ready( function () {
$('#example_filter input').val("Win").keyup();
$('#example_filter input').val("GeckoWin").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; }
);
@@ -388,7 +388,7 @@ $(document).ready( function () {
function () {
$('#example_filter input').val("Gecko Win").keyup();
},
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; }
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aaSorting.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aaSorting.js
index a46004b9..a71b5ebc 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aaSorting.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aaSorting.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default sorting is single column",
null,
function () {
@@ -17,7 +17,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default sorting is first column asc",
null,
function () {
@@ -26,14 +26,14 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting is applied",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single string column asc",
function () {
oSession.fnRestore();
@@ -47,7 +47,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single string column desc",
function () {
oSession.fnRestore();
@@ -61,7 +61,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single int column asc",
function () {
oSession.fnRestore();
@@ -75,7 +75,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom sorting on single int column desc",
function () {
oSession.fnRestore();
@@ -89,7 +89,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / string asc",
function () {
oSession.fnRestore();
@@ -102,7 +102,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / string desc",
function () {
oSession.fnRestore();
@@ -115,7 +115,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / string asc",
function () {
oSession.fnRestore();
@@ -128,7 +128,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "iPod Touch / iPhone"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / string desc",
function () {
oSession.fnRestore();
@@ -142,7 +142,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / int asc",
function () {
oSession.fnRestore();
@@ -155,7 +155,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string asc / int desc",
function () {
oSession.fnRestore();
@@ -168,7 +168,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "1.9"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / int asc",
function () {
oSession.fnRestore();
@@ -181,7 +181,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "125.5"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (2 column) - string desc / int desc",
function () {
oSession.fnRestore();
@@ -194,7 +194,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column sorting (3 column) - string asc / int asc / string asc",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aaSortingFixed.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aaSortingFixed.js
index 71055222..7211b288 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aaSortingFixed.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aaSortingFixed.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"No fixed sorting by default",
null,
function () {
@@ -18,7 +18,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -35,7 +35,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on first column (string/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
@@ -43,7 +43,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/asc)",
function () {
oSession.fnRestore();
@@ -57,7 +57,7 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fixed sorting on fourth column (int/asc) with user sorting on second column (string/desc)",
function () {
$('#example thead th:eq(1)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bSearchable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bSearchable.js
index 54c946a5..d3baf91e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bSearchable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bSearchable.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Columns are searchable by default",
function () { oTable.fnFilter("Camino"); },
function () {
@@ -20,7 +20,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disabling sorting on a column removes it from the global filter",
function () {
oSession.fnRestore();
@@ -41,13 +41,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disabled on one column has no effect on other columns",
function () { oTable.fnFilter("Webkit"); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disable filtering on multiple columns",
function () {
oSession.fnRestore();
@@ -68,7 +68,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filter on second disabled column",
function () { oTable.fnFilter("Camino"); },
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bSortable.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bSortable.js
index 6f7b2022..f6976fc2 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bSortable.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bSortable.js
@@ -9,13 +9,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"All columns are sortable by default",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can disable sorting from one column",
function () {
oSession.fnRestore();
@@ -35,13 +35,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disabled column has no sorting class",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
@@ -50,7 +50,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == "X"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Disable sorting on multiple columns - no sorting classes",
function () {
oSession.fnRestore();
@@ -67,14 +67,14 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example thead th:eq(1)').hasClass("sorting") ||
$('#example thead th:eq(3)').hasClass("sorting")
return bReturn == false;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on disabled column 1 has no effect",
function () {
$('#example thead th:eq(1)').click();
@@ -82,7 +82,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -90,7 +90,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Second sort on disabled column 2 has no effect",
function () {
$('#example thead th:eq(3)').click();
@@ -98,7 +98,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Even with multiple disabled sorting columns other columns can still sort",
function () {
$('#example thead th:eq(4)').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bUseRendered.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bUseRendered.js
index d64f70d7..fa99b5a7 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bUseRendered.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bUseRendered.js
@@ -28,13 +28,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default for bUseRendered is true - rendered data is used for sorting",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'aaa'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"When bUseRendered is false, original data is used for sorting",
function () {
mTmp = 0;
@@ -44,7 +44,7 @@ $(document).ready( function () {
"bDeferRender": true,
"aoColumns": [
null,
- {
+ {
"bUseRendered": false,
"fnRender": function (a) {
if ( a.iDataRow == 0 ) {
@@ -66,7 +66,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"bUseRendered set to false on one columns and true (default) on two others",
function () {
mTmp = 0;
@@ -88,7 +88,7 @@ $(document).ready( function () {
}
}
},
- {
+ {
"bUseRendered": false,
"fnRender": function (a) {
if ( a.iDataRow == 0 ) {
@@ -117,13 +117,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'aaa1'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 2nd column sorting",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 3rd column sorting",
function () {
$('#example thead th:eq(2)').click();
@@ -132,13 +132,13 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(2)').html() == 'zzz3'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 4th column sorting",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == '-'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multi-column rendering - 5th column sorting",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bVisible.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bVisible.js
index ccc84d7d..6a4a72c4 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bVisible.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bVisible.js
@@ -9,13 +9,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"All columns are visible by default",
null,
function () { return $('#example tbody tr:eq(0) td').length == 5; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide one column and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -34,18 +34,18 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 4; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide one column and it removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 4; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"The correct thead column has been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Platform(s)" &&
jqNodes[2].innerHTML == "Engine version" &&
@@ -54,14 +54,14 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"The correct tbody column has been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "Gnome" &&
jqNodes[2].innerHTML == "1.8" &&
@@ -71,7 +71,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can hide multiple columns and it removes td column from DOM",
function () {
oSession.fnRestore();
@@ -90,32 +90,32 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - removes thead th column from DOM",
null,
function () { return $('#example thead tr:eq(0) th').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - the correct thead columns have been hidden",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Engine version"
return bReturn;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Multiple hide - the correct tbody columns have been hidden",
function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } );
},
function () {
var jqNodes = $('#example tbody tr:eq(0) td');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Gecko" &&
jqNodes[1].innerHTML == "1"
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.fnRender.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.fnRender.js
index eefe2ade..c82981e6 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.fnRender.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.fnRender.js
@@ -20,13 +20,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Single column - fnRender is called once for each row",
null,
function () { return mTmp == 57; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Confirm that fnRender passes two arguments with four parameters",
function () {
mTmp = true;
@@ -54,7 +54,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRender iDataColumn is row number",
function () {
var iCount = 0;
@@ -82,7 +82,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRender iDataColumn is the column",
function () {
mTmp = true;
@@ -108,7 +108,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRender aData is data array of correct size",
function () {
mTmp = true;
@@ -134,7 +134,7 @@ $(document).ready( function () {
function () { return mTmp; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -155,7 +155,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'unittest'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Passed back data is put into the DOM",
function () {
oSession.fnRestore();
@@ -176,7 +176,7 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(0) td:eq(2)').html() == 'unittest1' &&
$('#example tbody tr:eq(0) td:eq(3)').html() == 'unittest2';
return bReturn; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.iDataSort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.iDataSort.js
index 5c5080ab..783e3cec 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.iDataSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.iDataSort.js
@@ -18,32 +18,32 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on first column is uneffected",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on second column is the order of the fifth",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Reserve sorting on second column uses fifth column as well",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting on 5th column retains it's own sorting",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Use 2nd col for sorting 5th col and via-versa - no effect on first col sorting",
function () {
mTmp = 0;
@@ -63,25 +63,25 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"2nd col sorting uses fifth col",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"2nd col sorting uses fifth col - reversed",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"5th col sorting uses 2nd col",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"5th col sorting uses 2nd col - reversed",
function () { $('#example thead th:eq(4)').click(); },
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'Seamonkey 1.1'; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sClass.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sClass.js
index 5c2ffd9a..ffbe931e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sClass.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sClass.js
@@ -9,13 +9,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"By default the test class hasn't been applied to the column (sanity!)",
null,
function () { return $('#example tbody tr:eq(0) td:eq(2)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - first row",
function () {
oSession.fnRestore();
@@ -34,50 +34,50 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - third row",
null,
function () { return $('#example tbody tr:eq(3) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - last row",
null,
function () { return $('#example tbody tr:eq(9) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to other columns - 1st",
null,
function () { return $('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to other columns - 5th",
null,
function () { return $('#example tbody tr:eq(3) td:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - seventh row - second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody tr:eq(6) td:eq(2)').hasClass('unittest'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to header",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Add a class to a single column - has not applied to footer",
null,
function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - first row",
function () {
oSession.fnRestore();
@@ -94,20 +94,20 @@ $(document).ready( function () {
} );
},
function () {
- var bReturn =
+ var bReturn =
$('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest2') &&
$('#example tbody tr:eq(8) td:eq(3)').hasClass('unittest1');
return bReturn;
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - has not applied to other columns - 5th 1",
null,
function () { return $('#example tbody tr:eq(0) td:eq(4)').hasClass('unittest1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Class defined for multiple columns - has not applied to other columns - 5th 2",
null,
function () { return $('#example tbody tr:eq(6) td:eq(4)').hasClass('unittest2') == false; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sName.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sName.js
index a197bc31..4e5a17ad 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sName.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sName.js
@@ -18,7 +18,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Names are stored in the columns object",
null,
function () { return oSettings.aoColumns[3].sName =="unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sTitle.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sTitle.js
index e0e02819..4561fbe4 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sTitle.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sTitle.js
@@ -9,12 +9,12 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"If not given, then the columns titles are empty",
null,
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "Browser" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -24,7 +24,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can set a single column title - and others are read from DOM",
function () {
oSession.fnRestore();
@@ -42,7 +42,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test" &&
jqNodes[2].innerHTML == "Platform(s)" &&
@@ -52,7 +52,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can set multiple column titles",
function () {
oSession.fnRestore();
@@ -70,7 +70,7 @@ $(document).ready( function () {
},
function () {
var jqNodes = $('#example thead tr:eq(0) th');
- var bReturn =
+ var bReturn =
jqNodes[0].innerHTML == "Rendering engine" &&
jqNodes[1].innerHTML == "unit test 1" &&
jqNodes[2].innerHTML == "Platform(s)" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sWidth.js
index 251d0792..9cb05834 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sWidth.js
@@ -1,7 +1,7 @@
// DATA_TEMPLATE: empty_table
oTest.fnStart( "aoColumns.sWidth" );
-/* NOTE - we need to disable the auto width for the majority of these test in order to preform
+/* NOTE - we need to disable the auto width for the majority of these test in order to preform
* these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests
* with auto width enabled however to ensure it scales columns as required
*/
@@ -22,13 +22,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width disabled the width for one column is appled",
null,
function () { return $('#example thead th:eq(1)')[0].style.width == "40%"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width disabled the width for one column is appled",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"With auto width, it will make the smallest column the largest with percentage width given",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoSearchCols.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoSearchCols.js
index aa61f90c..083f8817 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoSearchCols.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/aoSearchCols.js
@@ -11,11 +11,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be to have a empty colums array",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.aoPreSearchCols[0].sSearch == 0 && !oSettings.aoPreSearchCols[0].bRegex &&
oSettings.aoPreSearchCols[1].sSearch == 0 && !oSettings.aoPreSearchCols[1].bRegex &&
oSettings.aoPreSearchCols[2].sSearch == 0 && !oSettings.aoPreSearchCols[2].bRegex &&
@@ -26,7 +26,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on a single column - no regex statement given",
function () {
oSession.fnRestore();
@@ -45,7 +45,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on two columns - no regex statement given",
function () {
oSession.fnRestore();
@@ -64,7 +64,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "1.5"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on single column - escape regex false",
function () {
oSession.fnRestore();
@@ -83,7 +83,7 @@ $(document).ready( function () {
function () { return $('#example_info').html() == "Showing 1 to 3 of 3 entries (filtered from 57 total entries)"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on two columns - escape regex false on first, true on second",
function () {
oSession.fnRestore();
@@ -102,7 +102,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Konqureror 3.3"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search on two columns (no records) - escape regex false on first, true on second",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/asStripClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/asStripClasses.js
index 038447f2..a26b6669 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/asStripClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/asStripClasses.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
"bDeferRender": true
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default row striping is applied",
null,
function () {
@@ -19,7 +19,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Row striping on the second page",
function () { $('#example_next').click(); },
function () {
@@ -31,7 +31,7 @@ $(document).ready( function () {
);
/* No striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"No row striping",
function () {
oSession.fnRestore();
@@ -55,7 +55,7 @@ $(document).ready( function () {
);
/* Custom striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping [2]",
function () {
oSession.fnRestore();
@@ -75,7 +75,7 @@ $(document).ready( function () {
/* long array of striping */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping [4]",
function () {
oSession.fnRestore();
@@ -93,7 +93,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Custom striping is restarted on second page [2]",
function () { $('#example_next').click(); },
function () {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bAutoWidth.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bAutoWidth.js
index 45b5a003..477691d2 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bAutoWidth.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bAutoWidth.js
@@ -3,7 +3,7 @@ oTest.fnStart( "bAutoWidth" );
/* It's actually a little tricky to test this. We can't test absolute numbers because
* different browsers and different platforms will render the width of the columns slightly
- * differently. However, we certainly can test the principle of what should happen (column
+ * differently. However, we certainly can test the principle of what should happen (column
* width doesn't change over pages)
*/
@@ -15,13 +15,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width is enabled by default",
null,
function () { return oSettings.oFeatures.bAutoWidth; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"First column has a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style').match(/width/i); }
@@ -31,7 +31,7 @@ $(document).ready( function () {
This would seem like a better test - but there appear to be difficulties with tables
which are bigger (calculated) than there is actually room for. I suspect this is actually
a bug in datatables
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on first page match second page",
null,
function () {
@@ -55,7 +55,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on second page match thid page",
null,
function () {
@@ -80,7 +80,7 @@ $(document).ready( function () {
*/
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width can be disabled",
function () {
oSession.fnRestore();
@@ -94,14 +94,14 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bAutoWidth == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"First column does not have a width assigned to it",
null,
function () { return $('#example thead th:eq(0)').attr('style') == null; }
);
/*
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check column widths on first page do not match second page",
null,
function () {
@@ -126,7 +126,7 @@ $(document).ready( function () {
*/
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Auto width enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bFilter.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bFilter.js
index f40d7ae0..4ce6f1fc 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bFilter.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bFilter.js
@@ -8,14 +8,14 @@ $(document).ready( function () {
"bDeferRender": true
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering div exists by default",
null,
function () { return document.getElementById('example_filter') != null; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Fltering can be disabled",
function () {
oSession.fnRestore();
@@ -29,7 +29,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Filtering enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bInfo.js
index 4cdd5e1e..b06403cd 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bInfo.js
@@ -8,14 +8,14 @@ $(document).ready( function () {
"bDeferRender": true
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info div exists by default",
null,
function () { return document.getElementById('example_info') != null; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info can be disabled",
function () {
oSession.fnRestore();
@@ -29,7 +29,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bLengthChange.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bLengthChange.js
index 2ca7c0d5..197f7923 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bLengthChange.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bLengthChange.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
"bDeferRender": true
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length div exists by default",
null,
function () { return document.getElementById('example_length') != null; }
@@ -33,12 +33,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Info takes length into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Change length can be disabled",
function () {
oSession.fnRestore();
@@ -54,12 +54,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information takes length disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Length change enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bPaginate.js
index ed63fa83..e0b112c9 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bPaginate.js
@@ -8,7 +8,7 @@ $(document).ready( function () {
"bDeferRender": true
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion div exists by default",
null,
function () { return document.getElementById('example_paginate') != null; }
@@ -17,12 +17,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information div takes paging into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 10 of 57 entries"; }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -38,12 +38,12 @@ $(document).ready( function () {
oTest.fnWaitTest(
"Information div takes paging disabled into account",
null,
- function () { return document.getElementById('example_info').innerHTML ==
+ function () { return document.getElementById('example_info').innerHTML ==
"Showing 1 to 57 of 57 entries"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bProcessing.js
index 4193c701..57b36aaf 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bProcessing.js
@@ -15,25 +15,25 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing is off by default",
null,
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div cannot be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div cannot be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing') == null; }
@@ -41,7 +41,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing can be enabled",
function () {
oSession.fnRestore();
@@ -55,32 +55,32 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is hidden by default",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div can be shown",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing').style.visibility = "visible"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div can be hidden",
function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); },
function () { return document.getElementById('example_processing').style.visibility = "hidden"; }
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing disabled override",
function () {
oSession.fnRestore();
@@ -94,7 +94,7 @@ $(document).ready( function () {
function () { return oSettings.oFeatures.bProcessing == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing div is not in the DOM",
function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); },
function () { return document.getElementById('example_processing') == null; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bServerSide.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bServerSide.js
index da58fac0..03f9272c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bServerSide.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bServerSide.js
@@ -11,7 +11,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Server side is off by default",
null,
function () { return oSettings.oFeatures.bServerSide == false; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bSort.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bSort.js
index 2a252d95..2a166e93 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bSort.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bSort.js
@@ -8,13 +8,13 @@ $(document).ready( function () {
"bDeferRender": true
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting is on by default",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting Asc by default class applied",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc"); }
@@ -26,13 +26,13 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting class removed from first column",
null,
function () { return $('#example thead th:eq(0)').hasClass("sorting_asc") != true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting asc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc"); }
@@ -44,20 +44,20 @@ $(document).ready( function () {
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting acs class removed from second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") != true; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting desc class applied to second column",
null,
function () { return $('#example thead th:eq(1)').hasClass("sorting_desc"); }
);
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Pagiantion can be disabled",
function () {
oSession.fnRestore();
@@ -83,7 +83,7 @@ $(document).ready( function () {
);
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bSortClasses.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bSortClasses.js
index 33cd0a28..6214d907 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bSortClasses.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/bSortClasses.js
@@ -8,27 +8,27 @@ $(document).ready( function () {
"bDeferRender": true
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are applied by default",
null,
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are applied to all required cells",
null,
function () { return $('#example tbody tr:eq(7) td:eq(0)').hasClass('sorting_1'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes are not applied to non-sorting columns",
null,
function () { return $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 1",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -36,9 +36,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 2",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') &&
@@ -47,9 +47,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting multi-column - add column 3",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(3)')[0], { 'shift': true } );
},
function () {
@@ -60,9 +60,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Remove sorting classes on single column sort",
- function () {
+ function () {
$('#example thead th:eq(4)').click();
},
function () {
@@ -73,7 +73,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting class 1 was added",
null,
function () { return $('#example tbody tr:eq(1) td:eq(4)').hasClass('sorting_1'); }
@@ -81,7 +81,7 @@ $(document).ready( function () {
/* Check can disable */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes can be disabled",
function () {
oSession.fnRestore();
@@ -94,9 +94,9 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes disabled - add column 1 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -104,9 +104,9 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes disabled - add column 2 - no effect",
- function () {
+ function () {
oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); },
function () {
return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false &&
@@ -117,7 +117,7 @@ $(document).ready( function () {
/* Enable makes no difference */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Sorting classes enabled override",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnDrawCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnDrawCallback.js
index 8d06e246..6fc4df8c 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnDrawCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnDrawCallback.js
@@ -12,14 +12,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass, bInit;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnDrawCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"One argument passed",
function () {
oSession.fnRestore();
@@ -41,7 +41,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -63,7 +63,7 @@ $(document).ready( function () {
/* The draw callback is called once for the init and then when the data is added */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once on first draw",
function () {
oSession.fnRestore();
@@ -84,7 +84,7 @@ $(document).ready( function () {
function () { return mPass == 2 && bInit; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once on each draw there after as well",
function () {
$('#example_next').click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnHeaderCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnHeaderCallback.js
index 2e2d52f6..89b81908 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnHeaderCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnHeaderCallback.js
@@ -10,14 +10,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass, bInit;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnHeaderCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Five arguments passed",
function () {
oSession.fnRestore();
@@ -40,7 +40,7 @@ $(document).ready( function () {
/* The header callback is called once for the init and then when the data is added */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnHeaderCallback called once per draw",
function () {
oSession.fnRestore();
@@ -61,14 +61,14 @@ $(document).ready( function () {
function () { return mPass == 2 && bInit; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called on paging (i.e. another draw)",
function () { $('#example_next').click(); },
function () { return mPass == 3; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -84,7 +84,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iStart correct on first page",
function () {
oSession.fnRestore();
@@ -105,7 +105,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iStart correct on second page",
function () {
oSession.fnRestore();
@@ -129,7 +129,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"iEnd correct on second page",
function () {
oSession.fnRestore();
@@ -153,7 +153,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"aiDisplay length is full data when not filtered",
function () {
oSession.fnRestore();
@@ -173,7 +173,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"aiDisplay length is 9 when filtering on 'Mozilla'",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnInitComplete.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnInitComplete.js
index f49b7216..d2542a84 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnInitComplete.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnInitComplete.js
@@ -12,14 +12,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnInitComplete == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Two arguments passed (for Ajax!)",
function () {
oSession.fnRestore();
@@ -37,7 +37,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"That one argument is the settings object",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnInitComplete called once on first draw",
function () {
oSession.fnRestore();
@@ -71,7 +71,7 @@ $(document).ready( function () {
function () { return mPass == 1; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnInitComplete never called there after",
function () {
$('#example_next').click();
@@ -82,7 +82,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows in the table on complete",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnRowCallback.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnRowCallback.js
index 41c7c9b3..0a9b4ef9 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnRowCallback.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnRowCallback.js
@@ -12,14 +12,14 @@ $(document).ready( function () {
var oSettings = oTable.fnSettings();
var mPass;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default should be null",
null,
function () { return oSettings.fnRowCallback == null; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Four arguments passed",
function () {
oSession.fnRestore();
@@ -38,7 +38,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback called once for each drawn row",
function () {
oSession.fnRestore();
@@ -56,7 +56,7 @@ $(document).ready( function () {
function () { return mPass == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"fnRowCallback allows us to alter row information",
function () {
oSession.fnRestore();
@@ -72,7 +72,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(1)').hasClass('unit_test'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
@@ -91,7 +91,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Data array has length matching columns",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnServerData.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnServerData.js
index 5c4b3191..809e8ba5 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnServerData.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/fnServerData.js
@@ -4,7 +4,7 @@ oTest.fnStart( "fnServerData for Ajax sourced data" );
$(document).ready( function () {
var mPass;
- oTest.fnTest(
+ oTest.fnTest(
"Argument length",
function () {
$('#example').dataTable( {
@@ -18,7 +18,7 @@ $(document).ready( function () {
function () { return mPass == 4; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Url",
function () {
$('#example').dataTable( {
@@ -33,7 +33,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Data array",
function () {
$('#example').dataTable( {
@@ -48,7 +48,7 @@ $(document).ready( function () {
function () { return mPass; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Callback function",
function () {
$('#example').dataTable( {
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/iDisplayLength.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/iDisplayLength.js
index 5aa7ff30..6ffb0c06 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/iDisplayLength.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/iDisplayLength.js
@@ -8,20 +8,20 @@ $(document).ready( function () {
"bDeferRender": true
} );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default length is ten",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 10",
null,
function () { return $('#example_length select').val() == 10; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 25",
function () {
oSession.fnRestore();
@@ -34,14 +34,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 25; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 100",
function () {
oSession.fnRestore();
@@ -54,14 +54,14 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 25",
null,
function () { return $('#example_length select').val() == 100; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Set initial length to 23 (unknown select menu length)",
function () {
oSession.fnRestore();
@@ -74,7 +74,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr').length == 23; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Select menu shows 10 (since 23 is unknow)",
null,
function () { return $('#example_length select').val() == 10; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.oPaginate.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.oPaginate.js
index 908136e1..23cb4c9b 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.oPaginate.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.oPaginate.js
@@ -12,11 +12,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"oLanguage.oPaginate defaults",
null,
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "First" &&
oSettings.oLanguage.oPaginate.sPrevious == "Previous" &&
oSettings.oLanguage.oPaginate.sNext == "Next" &&
@@ -25,11 +25,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate defaults are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "First" &&
$('#example_paginate .previous').html() == "Previous" &&
$('#example_paginate .next').html() == "Next" &&
@@ -39,7 +39,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"oLanguage.oPaginate can be defined",
function () {
oSession.fnRestore();
@@ -59,7 +59,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.oPaginate.sFirst == "unit1" &&
oSettings.oLanguage.oPaginate.sPrevious == "test2" &&
oSettings.oLanguage.oPaginate.sNext == "unit3" &&
@@ -68,11 +68,11 @@ $(document).ready( function () {
}
);
- oTest.fnTest(
+ oTest.fnTest(
"oLanguage.oPaginate definitions are in the DOM",
null,
function () {
- var bReturn =
+ var bReturn =
$('#example_paginate .first').html() == "unit1" &&
$('#example_paginate .previous').html() == "test2" &&
$('#example_paginate .next').html() == "unit3" &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfo.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfo.js
index 9849dc7d..f87a2638 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfo.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfo.js
@@ -9,20 +9,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language is 'Showing _START_ to _END_ of _TOTAL_ entries' by default",
null,
function () { return oSettings.oLanguage.sInfo == "Showing _START_ to _END_ of _TOTAL_ entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - without any macros",
function () {
oSession.fnRestore();
@@ -38,13 +38,13 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfo == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "unit test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _START_ only",
function () {
oSession.fnRestore();
@@ -59,7 +59,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _END_ only",
function () {
oSession.fnRestore();
@@ -74,7 +74,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 10 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macro _TOTAL_ only",
function () {
oSession.fnRestore();
@@ -89,7 +89,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 57 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macros _START_ and _END_",
function () {
oSession.fnRestore();
@@ -104,7 +104,7 @@ $(document).ready( function () {
function () { return document.getElementById('example_info').innerHTML = "unit 1 10 test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info language can be defined - with macros _START_, _END_ and _TOTAL_",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfoEmpty.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfoEmpty.js
index e5ad5e9e..411742c4 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfoEmpty.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfoEmpty.js
@@ -9,17 +9,17 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info empty language is 'Showing 0 to 0 of 0 entries' by default",
function () { oTable.fnFilter("nothinghere"); },
function () { return oSettings.oLanguage.sInfoEmpty == "Showing 0 to 0 of 0 entries"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"Showing 0 to 0 of 0 entries";
return bReturn;
@@ -27,7 +27,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info empty language can be defined",
function () {
oSession.fnRestore();
@@ -44,11 +44,11 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoEmpty == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit test";
return bReturn;
@@ -56,7 +56,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Macro's replaced",
function () {
oSession.fnRestore();
@@ -70,7 +70,7 @@ $(document).ready( function () {
oTable.fnFilter("nothinghere");
},
function () {
- var bReturn = document.getElementById('example_info').innerHTML.replace(
+ var bReturn = document.getElementById('example_info').innerHTML.replace(
' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) ==
"unit 1 0 0 test";
return bReturn;
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfoPostFix.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfoPostFix.js
index deced0fd..2073aace 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfoPostFix.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfoPostFix.js
@@ -9,20 +9,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info post fix language is '' (blank) by default",
null,
function () { return oSettings.oLanguage.sInfoPostFix == ""; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Width no post fix, the basic info shows",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Info post fix language can be defined",
function () {
oSession.fnRestore();
@@ -38,14 +38,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sInfoPostFix == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info empty language default is in the DOM",
null,
function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries unit test"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Macros have no effect in the post fix",
function () {
oSession.fnRestore();
@@ -61,7 +61,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Post fix is applied after fintering info",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sLengthMenu.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sLengthMenu.js
index 284c588e..db834ad8 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sLengthMenu.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sLengthMenu.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu language is 'Show _MENU_ entries' by default",
null,
function () { return oSettings.oLanguage.sLengthMenu == "Show _MENU_ entries"; }
@@ -40,7 +40,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu length language can be defined - no _MENU_ macro",
function () {
oSession.fnRestore();
@@ -56,7 +56,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sLengthMenu == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Menu length language definition is in the DOM",
null,
function () {
@@ -65,7 +65,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Menu length language can be defined - with _MENU_ macro",
function () {
oSession.fnRestore();
@@ -88,7 +88,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Only the _MENU_ macro",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sProcessing.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sProcessing.js
index 65f2e6d0..fcdfd533 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sProcessing.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sProcessing.js
@@ -10,20 +10,20 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing language is 'Processing...' by default",
null,
function () { return oSettings.oLanguage.sProcessing == "Processing..."; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language default is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "Processing..."; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Processing language can be defined",
function () {
oSession.fnRestore();
@@ -40,7 +40,7 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sProcessing == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Processing language definition is in the DOM",
null,
function () { return document.getElementById('example_processing').innerHTML = "unit test"; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sSearch.js
index d6f6f097..7bff7495 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sSearch.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search language is 'Search:' by default",
null,
function () { return oSettings.oLanguage.sSearch == "Search:"; }
@@ -21,7 +21,7 @@ $(document).ready( function () {
function () { return $('label', oSettings.aanFeatures.f[0]).length == 1 }
);
- oTest.fnTest(
+ oTest.fnTest(
"Search language default is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text()
@@ -29,7 +29,7 @@ $(document).ready( function () {
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search language can be defined",
function () {
oSession.fnRestore();
@@ -45,14 +45,14 @@ $(document).ready( function () {
function () { return oSettings.oLanguage.sSearch == "unit test"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Info language definition is in the DOM",
null,
function () { return $('label', oSettings.aanFeatures.f[0]).text().indexOf('unit test') !== -1; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Blank search has a no space (separator) inserted",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sUrl.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sUrl.js
index 03001855..59f18eaf 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sUrl.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sUrl.js
@@ -13,14 +13,14 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnTest(
+ oTest.fnTest(
"sUrl is blank by default",
null,
function () { return oSettings.oLanguage.sUrl == ""; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Loading of German file loads language information",
function () {
oSession.fnRestore();
@@ -34,7 +34,7 @@ $(document).ready( function () {
oSettings = oTable.fnSettings();
},
function () {
- var bReturn =
+ var bReturn =
oSettings.oLanguage.sProcessing == "Bitte warten..." &&
oSettings.oLanguage.sLengthMenu == "_MENU_ Einträge anzeigen" &&
oSettings.oLanguage.sZeroRecords == "Keine Einträge vorhanden." &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sZeroRecords.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sZeroRecords.js
index b1a17a24..9bc0655e 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sZeroRecords.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sZeroRecords.js
@@ -9,7 +9,7 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Zero records language is 'No matching records found' by default",
null,
function () { return oSettings.oLanguage.sZeroRecords == "No matching records found"; }
@@ -23,7 +23,7 @@ $(document).ready( function () {
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Zero records language can be defined",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oSearch.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oSearch.js
index 1bc693ab..cb98c342 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oSearch.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/oSearch.js
@@ -9,11 +9,11 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default values should be blank",
null,
function () {
- var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
+ var bReturn = oSettings.oPreviousSearch.sSearch == "" &&
!oSettings.oPreviousSearch.bRegex;
return bReturn;
}
@@ -22,7 +22,7 @@ $(document).ready( function () {
/* This test might be considered iffy since the full object isn't given, but it's reasonable to
* expect DataTables to cope with this. It should just assumine regex false
*/
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search term only in object",
function () {
oSession.fnRestore();
@@ -37,7 +37,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Gecko"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"New search will kill old one",
function () {
oTable.fnFilter("Opera");
@@ -45,7 +45,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search plain text term and escape regex true",
function () {
oSession.fnRestore();
@@ -61,7 +61,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Nintendo DS browser"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search plain text term and escape regex false",
function () {
oSession.fnRestore();
@@ -77,7 +77,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search regex text term and escape regex true",
function () {
oSession.fnRestore();
@@ -93,7 +93,7 @@ $(document).ready( function () {
function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Search regex text term and escape regex false",
function () {
oSession.fnRestore();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxDataProp.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxDataProp.js
index e4b875c1..ead02891 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxDataProp.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxDataProp.js
@@ -10,105 +10,105 @@ $(document).ready( function () {
};
$('#example').dataTable( oInit );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxDataProp2.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxDataProp2.js
index bd0c3466..e76a8fd4 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxDataProp2.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxDataProp2.js
@@ -10,105 +10,105 @@ $(document).ready( function () {
};
$('#example').dataTable( oInit );
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"10 rows shown on the first page",
null,
function () { return $('#example tbody tr').length == 10; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Initial sort occured",
null,
function () { return $('#example tbody td:eq(0)').html() == "Gecko"; }
);
/* Need to use the WaitTest for sorting due to the setTimeout datatables uses */
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (third click) on second column",
function () { $('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (first click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "-"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting (second click) on numeric column",
function () { $('#example thead th:eq(3)').click(); },
function () { return $('#example tbody td:eq(3)').html() == "522.1"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column (first click)",
- function () {
+ function () {
$('#example thead th:eq(0)').click();
oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); },
- function () { var b =
- $('#example tbody td:eq(0)').html() == "Gecko" &&
+ function () { var b =
+ $('#example tbody td:eq(0)').html() == "Gecko" &&
$('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Sorting multi-column - sorting second column only",
- function () {
+ function () {
$('#example thead th:eq(1)').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Basic paging */
- oTest.fnTest(
+ oTest.fnTest(
"Paging to second page",
function () { $('#example_next').click(); },
function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Paging to first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Attempting to page back beyond the first page",
function () { $('#example_previous').click(); },
function () { return $('#example tbody td:eq(1)').html() == "All others"; }
);
/* Changing length */
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 25 records",
function () { $("select[name=example_length]").val('25').change(); },
function () { return $('#example tbody tr').length == 25; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 50 records",
function () { $("select[name=example_length]").val('50').change(); },
function () { return $('#example tbody tr').length == 50; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 100 records",
function () { $("select[name=example_length]").val('100').change(); },
function () { return $('#example tbody tr').length == 57; }
);
- oTest.fnTest(
+ oTest.fnTest(
"Changing table length to 10 records",
function () { $("select[name=example_length]").val('10').change(); },
function () { return $('#example tbody tr').length == 10; }
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxSource.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxSource.js
index 0672ed72..9d14e048 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxSource.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxSource.js
@@ -11,10 +11,10 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Server side is off by default",
null,
- function () {
+ function () {
return oSettings.sAjaxSource == "../../../examples/ajax/sources/arrays.txt";
}
);
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sDom.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sDom.js
index 4227ff0a..f54fd007 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sDom.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sDom.js
@@ -11,13 +11,13 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default DOM varaible",
null,
function () { return oSettings.sDom == "lfrtip"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Default DOM in document",
null,
function () {
@@ -29,7 +29,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -40,7 +40,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 1 in code propagates",
function () {
oSession.fnRestore();
@@ -54,7 +54,7 @@ $(document).ready( function () {
function () { return oSettings.sDom == '<"wrapper"flipt>'; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 1 in DOM",
null,
function () {
@@ -79,7 +79,7 @@ $(document).ready( function () {
var nTable = document.getElementById('example');
var nCustomWrapper = $('div.wrapper')[0];
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrapper &&
nNodes[2] == nFilter &&
@@ -91,7 +91,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check example 2 in DOM",
function () {
oSession.fnRestore();
@@ -129,7 +129,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nCustomWrappers[0] &&
nNodes[2] == nLength &&
@@ -142,7 +142,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no length element",
function () {
oSession.fnRestore();
@@ -161,7 +161,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
null == nLength &&
nNodes[1] == nFilter &&
@@ -172,7 +172,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no filter element",
function () {
oSession.fnRestore();
@@ -191,7 +191,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
null == nFilter &&
@@ -204,7 +204,7 @@ $(document).ready( function () {
/* Note we don't test for no table as this is not supported (and it would be fairly daft! */
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no info element",
function () {
oSession.fnRestore();
@@ -223,7 +223,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
@@ -234,7 +234,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check no paging element",
function () {
oSession.fnRestore();
@@ -253,7 +253,7 @@ $(document).ready( function () {
var nPaging = document.getElementById('example_paginate');
var nTable = document.getElementById('example');
- var bReturn =
+ var bReturn =
nNodes[0] == nWrapper &&
nNodes[1] == nLength &&
nNodes[2] == nFilter &&
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sPaginationType.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sPaginationType.js
index 8364f90c..9eed1054 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sPaginationType.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/6_delayed_rendering/sPaginationType.js
@@ -9,43 +9,43 @@ $(document).ready( function () {
} );
var oSettings = oTable.fnSettings();
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check two button paging is the default",
null,
function () { return oSettings.sPaginationType == "two_button"; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_two_button'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Two A elements are in the wrapper",
null,
function () { return $('#example_paginate a').length == 2; }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"We have the previous button",
null,
function () { return document.getElementById('example_previous'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"We have the next button",
null,
function () { return document.getElementById('example_next'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Previous button is disabled",
null,
function () { return $('#example_previous').hasClass('paginate_disabled_previous'); }
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Next button is enabled",
null,
function () { return $('#example_next').hasClass('paginate_enabled_next'); }
@@ -56,7 +56,7 @@ $(document).ready( function () {
/* Two buttons paging */
var bComplete = false;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Can enabled full numbers paging",
function () {
oSession.fnRestore();
@@ -78,7 +78,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Check full numbers class is applied",
null,
function () { return $('#example_paginate').hasClass('paging_full_numbers'); }
@@ -86,7 +86,7 @@ $(document).ready( function () {
var nFirst, nPrevious, nNext, nLast;
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Jump to last page",
function () {
nFirst = $('div.dataTables_paginate a.first');
@@ -100,7 +100,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Go to two pages previous",
function () {
nPrevious.click();
@@ -111,7 +111,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Next (second last) page",
function () {
nNext.click();
@@ -121,7 +121,7 @@ $(document).ready( function () {
}
);
- oTest.fnWaitTest(
+ oTest.fnWaitTest(
"Jump to first page",
function () {
nFirst.click();
diff --git a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/unit_test.js b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/unit_test.js
index 9c112308..d85d7ee2 100755
--- a/wqflask/wqflask/static/new/packages/DataTables/unit_testing/unit_test.js
+++ b/wqflask/wqflask/static/new/packages/DataTables/unit_testing/unit_test.js
@@ -10,14 +10,14 @@
* License: GPL v2 or BSD 3 point style
* Project: DataTables
* Contact: allan.jardine@sprymedia.co.uk
- *
+ *
* Copyright 2009 Allan Jardine, all rights reserved.
*
* Description:
* This is a javascript library suitable for use as a unit testing framework. Employing a queuing
* mechanisim to take account of async events in javascript, this library will communicates with
* a controller frame (to report individual test status).
- *
+ *
*/
@@ -258,8 +258,8 @@ var oDispacher = {
{
case 'mouse':
evt = document.createEvent( "MouseEvents" );
- evt.initMouseEvent( sType, true, true, window, 0, oTargetPos[0], oTargetPos[1],
- oTargetPos[0], oTargetPos[1], ctrlKey, altKey, shiftKey,
+ evt.initMouseEvent( sType, true, true, window, 0, oTargetPos[0], oTargetPos[1],
+ oTargetPos[0], oTargetPos[1], ctrlKey, altKey, shiftKey,
metaKey, button, null );
break;
@@ -310,22 +310,22 @@ var oDispacher = {
return evt;
},
- /*
+ /*
* Function: DesignCore.fnGetPos
* Purpose: Get the position of an element on the page
* Returns: array[ 0-int:left, 1-int:top ]
* Inputs: node:obj - node to analyse
*/
- _fnGetPos: function ( obj )
+ _fnGetPos: function ( obj )
{
var curleft = 0;
var curtop = 0;
- if (obj.offsetParent)
+ if (obj.offsetParent)
{
curleft = obj.offsetLeft;
curtop = obj.offsetTop;
- while (obj = obj.offsetParent )
+ while (obj = obj.offsetParent )
{
curleft += obj.offsetLeft;
curtop += obj.offsetTop;
diff --git a/wqflask/wqflask/static/new/packages/nvd3/nv.d3.js b/wqflask/wqflask/static/new/packages/nvd3/nv.d3.js
index 4d8b9d65..f64a6c14 100644
--- a/wqflask/wqflask/static/new/packages/nvd3/nv.d3.js
+++ b/wqflask/wqflask/static/new/packages/nvd3/nv.d3.js
@@ -705,7 +705,7 @@ nv.nearestValueIndex = function (values, searchVal, threshold) {
tTop = tooltipTop(tooltipElem);
break;
}
-
+
// adjust tooltip offsets
left -= offset.left;
top -= offset.top;
@@ -736,7 +736,7 @@ nv.nearestValueIndex = function (values, searchVal, threshold) {
.styleTween('transform', function (d) {
return translateInterpolator;
}, 'important')
- // Safari has its own `-webkit-transform` and does not support `transform`
+ // Safari has its own `-webkit-transform` and does not support `transform`
// transform tooltip without transition only in Safari
.style('-webkit-transform', new_translate)
.style('opacity', 1);
@@ -1861,9 +1861,9 @@ nv.models.axis = function() {
and the arithmetic trick below solves that.
*/
return !parseFloat(Math.round(d * 100000) / 1000000) && (d !== undefined)
- })
+ })
.classed('zero', true);
-
+
//store old scales for use in transitions on update
scale0 = scale.copy();
@@ -2268,7 +2268,7 @@ nv.models.boxPlotChart = function() {
.orient((rightAlignYAxis) ? 'right' : 'left')
.tickFormat(d3.format(',.1f'))
;
-
+
tooltip.duration(0);
//============================================================
@@ -2299,7 +2299,7 @@ nv.models.boxPlotChart = function() {
chart.container = this;
// Display No Data message if there's nothing to show. (quartiles required at minimum)
- if (!data || !data.length ||
+ if (!data || !data.length ||
!data.filter(function(d) { return d.values.hasOwnProperty("Q1") && d.values.hasOwnProperty("Q2") && d.values.hasOwnProperty("Q3"); }).length) {
var noDataText = container.selectAll('.nv-noData').data([noData]);
@@ -7217,7 +7217,7 @@ nv.models.lineWithFocusChart = function() {
wrap.attr('transform', 'translate(' + margin.left + ',' + margin.top + ')');
-
+
//Set up interactive layer
if (useInteractiveGuideline) {
interactiveLayer
@@ -7360,7 +7360,7 @@ nv.models.lineWithFocusChart = function() {
var currentValues = series.values.filter(function(d,i) {
return lines.x()(d,i) >= extent[0] && lines.x()(d,i) <= extent[1];
});
-
+
pointIndex = nv.interactiveBisect(currentValues, e.pointXValue, lines.x());
var point = currentValues[pointIndex];
var pointYValue = chart.y()(point, pointIndex);
@@ -7683,10 +7683,10 @@ nv.models.multiBar = function() {
parsed.forEach(function(series, i){
// if series is non-stackable, use un-parsed data
if (series.nonStackable) {
- data[i].nonStackableSeries = nonStackableCount++;
+ data[i].nonStackableSeries = nonStackableCount++;
parsed[i] = data[i];
} else {
- // don't stack this seires on top of the nonStackable seriees
+ // don't stack this seires on top of the nonStackable seriees
if (i > 0 && parsed[i - 1].nonStackable){
parsed[i].values.map(function(d,j){
d.y0 -= parsed[i - 1].values[j].y;
@@ -7722,7 +7722,7 @@ nv.models.multiBar = function() {
posBase = posBase + f.size;
}
}
-
+
});
});
}
@@ -7948,7 +7948,7 @@ nv.models.multiBar = function() {
if (data[j].nonStackable) {
width = d.series * x.rangeBand() / data.length;
if (data.length !== nonStackableCount){
- width = data[j].nonStackableSeries * x.rangeBand()/(nonStackableCount*2);
+ width = data[j].nonStackableSeries * x.rangeBand()/(nonStackableCount*2);
}
}
var xVal = width + x(getX(d, i));
@@ -7968,7 +7968,7 @@ nv.models.multiBar = function() {
} else {
// if all series are nonStacable, take the full width
var width = (x.rangeBand() / nonStackableCount);
- // otherwise, nonStackable graph will be only taking the half-width
+ // otherwise, nonStackable graph will be only taking the half-width
// of the x rangeBand
if (data.length !== nonStackableCount) {
width = x.rangeBand()/(nonStackableCount*2);
@@ -12241,13 +12241,13 @@ nv.models.stackedArea = function() {
gEnter.append('g').attr('class', 'nv-scatterWrap');
wrap.attr('transform', 'translate(' + margin.left + ',' + margin.top + ')');
-
+
// If the user has not specified forceY, make sure 0 is included in the domain
// Otherwise, use user-specified values for forceY
if (scatter.forceY().length == 0) {
scatter.forceY().push(0);
}
-
+
scatter
.width(availableWidth)
.height(availableHeight)
diff --git a/wqflask/wqflask/static/packages/TableTools/media/js/TableTools.js b/wqflask/wqflask/static/packages/TableTools/media/js/TableTools.js
index 3c3ae911..b4bf4a6b 100755
--- a/wqflask/wqflask/static/packages/TableTools/media/js/TableTools.js
+++ b/wqflask/wqflask/static/packages/TableTools/media/js/TableTools.js
@@ -6,7 +6,7 @@
* Language: Javascript
* License: GPL v2 or BSD 3 point style
* Project: DataTables
- *
+ *
* Copyright 2009-2013 Allan Jardine, all rights reserved.
*
* This source file is free software, under either the GPL v2 license or a
@@ -20,7 +20,7 @@ var TableTools;
(function($, window, document) {
-/**
+/**
* TableTools provides flexible buttons and other tools for a DataTables enhanced table
* @class TableTools
* @constructor
@@ -58,7 +58,7 @@ TableTools = function( oDT, oOpts )
*/
"that": this,
- /**
+ /**
* DataTables settings objects
* @property dt
* @type object
@@ -70,7 +70,7 @@ TableTools = function( oDT, oOpts )
* @namespace Print specific information
*/
"print": {
- /**
+ /**
* DataTables draw 'start' point before the printing display was shown
* @property saveStart
* @type int
@@ -78,7 +78,7 @@ TableTools = function( oDT, oOpts )
*/
"saveStart": -1,
- /**
+ /**
* DataTables draw 'length' point before the printing display was shown
* @property saveLength
* @type int
@@ -86,7 +86,7 @@ TableTools = function( oDT, oOpts )
*/
"saveLength": -1,
- /**
+ /**
* Page scrolling point before the printing display was shown so it can be restored
* @property saveScroll
* @type int
@@ -94,7 +94,7 @@ TableTools = function( oDT, oOpts )
*/
"saveScroll": -1,
- /**
+ /**
* Wrapped function to end the print display (to maintain scope)
* @property funcEnd
* @type Function
@@ -198,7 +198,7 @@ TableTools = function( oDT, oOpts )
"buttonSet": [],
/**
- * When there is more than one TableTools instance for a DataTable, there must be a
+ * When there is more than one TableTools instance for a DataTable, there must be a
* master which controls events (row selection etc)
* @property master
* @type boolean
@@ -323,9 +323,9 @@ TableTools.prototype = {
/**
* Retreieve the settings object from an instance
* @returns {array} List of TR nodes which are currently selected
- * @param {boolean} [filtered=false] Get only selected rows which are
+ * @param {boolean} [filtered=false] Get only selected rows which are
* available given the filtering applied to the table. By default
- * this is false - i.e. all rows, regardless of filtering are
+ * this is false - i.e. all rows, regardless of filtering are
selected.
*/
"fnGetSelected": function ( filtered )
@@ -400,8 +400,8 @@ TableTools.prototype = {
/**
* Select all rows in the table
- * @param {boolean} [filtered=false] Select only rows which are available
- * given the filtering applied to the table. By default this is false -
+ * @param {boolean} [filtered=false] Select only rows which are available
+ * given the filtering applied to the table. By default this is false -
* i.e. all rows, regardless of filtering are selected.
*/
"fnSelectAll": function ( filtered )
@@ -417,8 +417,8 @@ TableTools.prototype = {
/**
* Deselect all rows in the table
- * @param {boolean} [filtered=false] Deselect only rows which are available
- * given the filtering applied to the table. By default this is false -
+ * @param {boolean} [filtered=false] Deselect only rows which are available
+ * given the filtering applied to the table. By default this is false -
* i.e. all rows, regardless of filtering are deselected.
*/
"fnSelectNone": function ( filtered )
@@ -652,7 +652,7 @@ TableTools.prototype = {
* @method _fnConstruct
* @param {Object} oOpts Same as TableTools constructor
* @returns void
- * @private
+ * @private
*/
"_fnConstruct": function ( oOpts )
{
@@ -689,7 +689,7 @@ TableTools.prototype = {
* @method _fnCustomiseSettings
* @param {Object} oOpts Same as TableTools constructor
* @returns void
- * @private
+ * @private
*/
"_fnCustomiseSettings": function ( oOpts )
{
@@ -739,7 +739,7 @@ TableTools.prototype = {
* @param {array} buttonSet Set of user defined buttons
* @param {node} wrapper Node to add the created buttons to
* @returns void
- * @private
+ * @private
*/
"_fnButtonDefinations": function ( buttonSet, wrapper )
{
@@ -767,8 +767,8 @@ TableTools.prototype = {
buttonDef = $.extend( o, buttonSet[i], true );
}
- wrapper.appendChild( this._fnCreateButton(
- buttonDef,
+ wrapper.appendChild( this._fnCreateButton(
+ buttonDef,
$(wrapper).hasClass(this.classes.collection.container)
) );
}
@@ -780,7 +780,7 @@ TableTools.prototype = {
* @method _fnCreateButton
* @param {Object} oConfig Button configuration object
* @returns {Node} Button element
- * @private
+ * @private
*/
"_fnCreateButton": function ( oConfig, bCollectionButton )
{
@@ -813,7 +813,7 @@ TableTools.prototype = {
* @method _fnButtonBase
* @param {o} oConfig Button configuration object
* @returns {Node} DIV element for the button
- * @private
+ * @private
*/
"_fnButtonBase": function ( o, bCollectionButton )
{
@@ -854,7 +854,7 @@ TableTools.prototype = {
* we will typically want to interact with that master for global properties.
* @method _fnGetMasterSettings
* @returns {Object} TableTools settings object
- * @private
+ * @private
*/
"_fnGetMasterSettings": function ()
{
@@ -1011,15 +1011,15 @@ TableTools.prototype = {
* Add event handlers to a table to allow for row selection
* @method _fnRowSelectConfig
* @returns void
- * @private
+ * @private
*/
"_fnRowSelectConfig": function ()
{
if ( this.s.master )
{
var
- that = this,
- i, iLen,
+ that = this,
+ i, iLen,
dt = this.s.dt,
aoOpenRows = this.s.dt.aoOpenRows;
@@ -1067,7 +1067,7 @@ TableTools.prototype = {
/**
* Select rows
* @param {*} src Rows to select - see _fnSelectData for a description of valid inputs
- * @private
+ * @private
*/
"_fnRowSelect": function ( src, e )
{
@@ -1116,7 +1116,7 @@ TableTools.prototype = {
/**
* Deselect rows
* @param {*} src Rows to deselect - see _fnSelectData for a description of valid inputs
- * @private
+ * @private
*/
"_fnRowDeselect": function ( src, e )
{
@@ -1221,7 +1221,7 @@ TableTools.prototype = {
* @param {Node} nButton Button element which is being considered
* @param {Object} oConfig Button configuration object
* @returns void
- * @private
+ * @private
*/
"_fnTextConfig": function ( nButton, oConfig )
{
@@ -1286,7 +1286,7 @@ TableTools.prototype = {
* @param {Node} nButton Button element which is being considered
* @param {o} oConfig Button configuration object
* @returns void
- * @private
+ * @private
*/
"_fnFlashConfig": function ( nButton, oConfig )
{
@@ -1358,7 +1358,7 @@ TableTools.prototype = {
* @param {Node} node node to glue swf to
* @param {String} text title of the flash movie
* @returns void
- * @private
+ * @private
*/
"_fnFlashGlue": function ( flash, node, text )
{
@@ -1380,8 +1380,8 @@ TableTools.prototype = {
/**
* Set the text for the flash clip to deal with
- *
- * This function is required for large information sets. There is a limit on the
+ *
+ * This function is required for large information sets. There is a limit on the
* amount of data that can be transferred between Javascript and Flash in a single call, so
* we use this method to build up the text in Flash by sending over chunks. It is estimated
* that the data limit is around 64k, although it is undocumented, and appears to be different
@@ -1390,7 +1390,7 @@ TableTools.prototype = {
* @param {Object} clip the ZeroClipboard object
* @param {String} sData the data to be set
* @returns void
- * @private
+ * @private
*/
"_fnFlashSetText": function ( clip, sData )
{
@@ -1418,7 +1418,7 @@ TableTools.prototype = {
* hidden columns respectively). Or an array of column indexes
* @returns {Array} A boolean array the length of the columns of the table, which each value
* indicating if the column is to be included or not
- * @private
+ * @private
*/
"_fnColumnTargets": function ( mColumns )
{
@@ -1501,7 +1501,7 @@ TableTools.prototype = {
* @param {Boolean} oConfig.bFooter Include the footer
* @param {Boolean} oConfig.bSelectedOnly Include only the selected rows in the output
* @returns {String} Concatenated string of data
- * @private
+ * @private
*/
"_fnGetDataTablesData": function ( oConfig )
{
@@ -1585,9 +1585,9 @@ TableTools.prototype = {
aRow.push( this._fnBoundData( sLoopData, oConfig.sFieldBoundary, regex ) );
}
}
-
+
aData.push( aRow.join(oConfig.sFieldSeperator) );
-
+
/* Details rows from fnOpen */
if ( oConfig.bOpenRows )
{
@@ -1635,7 +1635,7 @@ TableTools.prototype = {
* @param {RegExp} regex search for the bounding chars - constructed outside for efficiency
* in the loop
* @returns {String} bound data
- * @private
+ * @private
*/
"_fnBoundData": function ( sData, sBoundary, regex )
{
@@ -1656,7 +1656,7 @@ TableTools.prototype = {
* @param {String} sData data to be broken up
* @param {Int} iSize chunk size
* @returns {Array} String array of broken up text
- * @private
+ * @private
*/
"_fnChunkData": function ( sData, iSize )
{
@@ -1684,7 +1684,7 @@ TableTools.prototype = {
* @method _fnHtmlDecode
* @param {String} sData encoded string
* @returns {String} decoded string
- * @private
+ * @private
*/
"_fnHtmlDecode": function ( sData )
{
@@ -1720,13 +1720,13 @@ TableTools.prototype = {
* @param {Event} e Event object
* @param {Object} oConfig Button configuration object
* @returns void
- * @private
+ * @private
*/
"_fnPrintStart": function ( oConfig )
{
var that = this;
var oSetDT = this.s.dt;
-
+
/* Parse through the DOM hiding everything that isn't needed for the table */
this._fnPrintHideNodes( oSetDT.nTable );
@@ -1812,7 +1812,7 @@ TableTools.prototype = {
* @method _fnPrintEnd
* @param {Event} e Event object
* @returns void
- * @private
+ * @private
*/
"_fnPrintEnd": function ( e )
{
@@ -1858,11 +1858,11 @@ TableTools.prototype = {
/**
* Take account of scrolling in DataTables by showing the full table
* @returns void
- * @private
+ * @private
*/
"_fnPrintScrollStart": function ()
{
- var
+ var
oSetDT = this.s.dt,
nScrollHeadInner = oSetDT.nScrollHead.getElementsByTagName('div')[0],
nScrollHeadTable = nScrollHeadInner.getElementsByTagName('table')[0],
@@ -1915,11 +1915,11 @@ TableTools.prototype = {
* Take account of scrolling in DataTables by showing the full table. Note that the redraw of
* the DataTable that we do will actually deal with the majority of the hard work here
* @returns void
- * @private
+ * @private
*/
"_fnPrintScrollEnd": function ()
{
- var
+ var
oSetDT = this.s.dt,
nScrollBody = oSetDT.nTable.parentNode;
@@ -1941,12 +1941,12 @@ TableTools.prototype = {
* Resume the display of all TableTools hidden nodes
* @method _fnPrintShowNodes
* @returns void
- * @private
+ * @private
*/
"_fnPrintShowNodes": function ( )
{
var anHidden = this.dom.print.hidden;
-
+
for ( var i=0, iLen=anHidden.length ; i1){m--}if(6*m<1){return j+(i-j)*6*m}else{if(2*m<1){return i}else{if(3*m<2){return j+(i-j)*(2/3-m)*6}else{return j}}}}var C={};function F(j){if(j in C){return C[j]}var ag,Z=1;j=String(j);if(j.charAt(0)=="#"){ag=j}else{if(/^rgb/.test(j)){var p=M(j);var ag="#",ah;for(var m=0;m<3;m++){if(p[m].indexOf("%")!=-1){ah=Math.floor(c(p[m])*255)}else{ah=+p[m]}ag+=k[r(ah,0,255)]}Z=+p[3]}else{if(/^hsl/.test(j)){var p=M(j);ag=I(p);Z=p[3]}else{ag=b[j]||j}}}return C[j]={color:ag,alpha:Z}}var o={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"};var L={};function E(i){if(L[i]){return L[i]}var p=document.createElement("div");var m=p.style;try{m.font=i}catch(j){}return L[i]={style:m.fontStyle||o.style,variant:m.fontVariant||o.variant,weight:m.fontWeight||o.weight,size:m.fontSize||o.size,family:m.fontFamily||o.family}}function u(m,j){var i={};for(var ah in m){i[ah]=m[ah]}var ag=parseFloat(j.currentStyle.fontSize),Z=parseFloat(m.size);if(typeof m.size=="number"){i.size=m.size}else{if(m.size.indexOf("px")!=-1){i.size=Z}else{if(m.size.indexOf("em")!=-1){i.size=ag*Z}else{if(m.size.indexOf("%")!=-1){i.size=(ag/100)*Z}else{if(m.size.indexOf("pt")!=-1){i.size=Z/0.75}else{i.size=ag}}}}}i.size*=0.981;i.family="'"+i.family.replace(/(\'|\")/g,"").replace(/\s*,\s*/g,"', '")+"'";return i}function ac(i){return i.style+" "+i.variant+" "+i.weight+" "+i.size+"px "+i.family}var s={butt:"flat",round:"round"};function S(i){return s[i]||"square"}function D(i){this.m_=B();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.strokeStyle="#000";this.fillStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=d*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=i;var m="width:"+i.clientWidth+"px;height:"+i.clientHeight+"px;overflow:hidden;position:absolute";var j=i.ownerDocument.createElement("div");j.style.cssText=m;i.appendChild(j);var p=j.cloneNode(false);p.style.backgroundColor="red";p.style.filter="alpha(opacity=0)";i.appendChild(p);this.element_=j;this.arcScaleX_=1;this.arcScaleY_=1;this.lineScale_=1}var q=D.prototype;q.clearRect=function(){if(this.textMeasureEl_){this.textMeasureEl_.removeNode(true);this.textMeasureEl_=null}this.element_.innerHTML=""};q.beginPath=function(){this.currentPath_=[]};q.moveTo=function(j,i){var m=V(this,j,i);this.currentPath_.push({type:"moveTo",x:m.x,y:m.y});this.currentX_=m.x;this.currentY_=m.y};q.lineTo=function(j,i){var m=V(this,j,i);this.currentPath_.push({type:"lineTo",x:m.x,y:m.y});this.currentX_=m.x;this.currentY_=m.y};q.bezierCurveTo=function(m,j,ak,aj,ai,ag){var i=V(this,ai,ag);var ah=V(this,m,j);var Z=V(this,ak,aj);K(this,ah,Z,i)};function K(i,Z,m,j){i.currentPath_.push({type:"bezierCurveTo",cp1x:Z.x,cp1y:Z.y,cp2x:m.x,cp2y:m.y,x:j.x,y:j.y});i.currentX_=j.x;i.currentY_=j.y}q.quadraticCurveTo=function(ai,m,j,i){var ah=V(this,ai,m);var ag=V(this,j,i);var aj={x:this.currentX_+2/3*(ah.x-this.currentX_),y:this.currentY_+2/3*(ah.y-this.currentY_)};var Z={x:aj.x+(ag.x-this.currentX_)/3,y:aj.y+(ag.y-this.currentY_)/3};K(this,aj,Z,ag)};q.arc=function(al,aj,ak,ag,j,m){ak*=d;var ap=m?"at":"wa";var am=al+A(ag)*ak-f;var ao=aj+l(ag)*ak-f;var i=al+A(j)*ak-f;var an=aj+l(j)*ak-f;if(am==i&&!m){am+=0.125}var Z=V(this,al,aj);var ai=V(this,am,ao);var ah=V(this,i,an);this.currentPath_.push({type:ap,x:Z.x,y:Z.y,radius:ak,xStart:ai.x,yStart:ai.y,xEnd:ah.x,yEnd:ah.y})};q.rect=function(m,j,i,p){this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+p);this.lineTo(m,j+p);this.closePath()};q.strokeRect=function(m,j,i,p){var Z=this.currentPath_;this.beginPath();this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+p);this.lineTo(m,j+p);this.closePath();this.stroke();this.currentPath_=Z};q.fillRect=function(m,j,i,p){var Z=this.currentPath_;this.beginPath();this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+p);this.lineTo(m,j+p);this.closePath();this.fill();this.currentPath_=Z};q.createLinearGradient=function(j,p,i,m){var Z=new U("gradient");Z.x0_=j;Z.y0_=p;Z.x1_=i;Z.y1_=m;return Z};q.createRadialGradient=function(p,ag,m,j,Z,i){var ah=new U("gradientradial");ah.x0_=p;ah.y0_=ag;ah.r0_=m;ah.x1_=j;ah.y1_=Z;ah.r1_=i;return ah};q.drawImage=function(aq,m){var aj,ah,al,ay,ao,am,at,aA;var ak=aq.runtimeStyle.width;var ap=aq.runtimeStyle.height;aq.runtimeStyle.width="auto";aq.runtimeStyle.height="auto";var ai=aq.width;var aw=aq.height;aq.runtimeStyle.width=ak;aq.runtimeStyle.height=ap;if(arguments.length==3){aj=arguments[1];ah=arguments[2];ao=am=0;at=al=ai;aA=ay=aw}else{if(arguments.length==5){aj=arguments[1];ah=arguments[2];al=arguments[3];ay=arguments[4];ao=am=0;at=ai;aA=aw}else{if(arguments.length==9){ao=arguments[1];am=arguments[2];at=arguments[3];aA=arguments[4];aj=arguments[5];ah=arguments[6];al=arguments[7];ay=arguments[8]}else{throw Error("Invalid number of arguments")}}}var az=V(this,aj,ah);var p=at/2;var j=aA/2;var ax=[];var i=10;var ag=10;ax.push(" ','","");this.element_.insertAdjacentHTML("BeforeEnd",ax.join(""))};q.stroke=function(al){var aj=[];var Z=false;var m=10;var am=10;aj.push("ak.x){ak.x=j.x}if(ag.y==null||j.yak.y){ak.y=j.y}}}aj.push(' ">');if(!al){w(this,aj)}else{G(this,aj,ag,ak)}aj.push("");this.element_.insertAdjacentHTML("beforeEnd",aj.join(""))};function w(m,ag){var j=F(m.strokeStyle);var p=j.color;var Z=j.alpha*m.globalAlpha;var i=m.lineScale_*m.lineWidth;if(i<1){Z*=i}ag.push("')}function G(aq,ai,aK,ar){var aj=aq.fillStyle;var aB=aq.arcScaleX_;var aA=aq.arcScaleY_;var j=ar.x-aK.x;var p=ar.y-aK.y;if(aj instanceof U){var an=0;var aF={x:0,y:0};var ax=0;var am=1;if(aj.type_=="gradient"){var al=aj.x0_/aB;var m=aj.y0_/aA;var ak=aj.x1_/aB;var aM=aj.y1_/aA;var aJ=V(aq,al,m);var aI=V(aq,ak,aM);var ag=aI.x-aJ.x;var Z=aI.y-aJ.y;an=Math.atan2(ag,Z)*180/Math.PI;if(an<0){an+=360}if(an<0.000001){an=0}}else{var aJ=V(aq,aj.x0_,aj.y0_);aF={x:(aJ.x-aK.x)/j,y:(aJ.y-aK.y)/p};j/=aB*d;p/=aA*d;var aD=ab.max(j,p);ax=2*aj.r0_/aD;am=2*aj.r1_/aD-ax}var av=aj.colors_;av.sort(function(aN,i){return aN.offset-i.offset});var ap=av.length;var au=av[0].color;var at=av[ap-1].color;var az=av[0].alpha*aq.globalAlpha;var ay=av[ap-1].alpha*aq.globalAlpha;var aE=[];for(var aH=0;aH')}else{if(aj instanceof T){if(j&&p){var ah=-aK.x;var aC=-aK.y;ai.push("')}}else{var aL=F(aq.fillStyle);var aw=aL.color;var aG=aL.alpha*aq.globalAlpha;ai.push('')}}}q.fill=function(){this.stroke(true)};q.closePath=function(){this.currentPath_.push({type:"close"})};function V(j,Z,p){var i=j.m_;return{x:d*(Z*i[0][0]+p*i[1][0]+i[2][0])-f,y:d*(Z*i[0][1]+p*i[1][1]+i[2][1])-f}}q.save=function(){var i={};v(this,i);this.aStack_.push(i);this.mStack_.push(this.m_);this.m_=J(B(),this.m_)};q.restore=function(){if(this.aStack_.length){v(this.aStack_.pop(),this);this.m_=this.mStack_.pop()}};function h(i){return isFinite(i[0][0])&&isFinite(i[0][1])&&isFinite(i[1][0])&&isFinite(i[1][1])&&isFinite(i[2][0])&&isFinite(i[2][1])}function aa(j,i,p){if(!h(i)){return}j.m_=i;if(p){var Z=i[0][0]*i[1][1]-i[0][1]*i[1][0];j.lineScale_=N(H(Z))}}q.translate=function(m,j){var i=[[1,0,0],[0,1,0],[m,j,1]];aa(this,J(i,this.m_),false)};q.rotate=function(j){var p=A(j);var m=l(j);var i=[[p,m,0],[-m,p,0],[0,0,1]];aa(this,J(i,this.m_),false)};q.scale=function(m,j){this.arcScaleX_*=m;this.arcScaleY_*=j;var i=[[m,0,0],[0,j,0],[0,0,1]];aa(this,J(i,this.m_),true)};q.transform=function(Z,p,ah,ag,j,i){var m=[[Z,p,0],[ah,ag,0],[j,i,1]];aa(this,J(m,this.m_),true)};q.setTransform=function(ag,Z,ai,ah,p,j){var i=[[ag,Z,0],[ai,ah,0],[p,j,1]];aa(this,i,true)};q.drawText_=function(am,ak,aj,ap,ai){var ao=this.m_,at=1000,j=0,ar=at,ah={x:0,y:0},ag=[];var i=u(E(this.font),this.element_);var p=ac(i);var au=this.element_.currentStyle;var Z=this.textAlign.toLowerCase();switch(Z){case"left":case"center":case"right":break;case"end":Z=au.direction=="ltr"?"right":"left";break;case"start":Z=au.direction=="rtl"?"right":"left";break;default:Z="left"}switch(this.textBaseline){case"hanging":case"top":ah.y=i.size/1.75;break;case"middle":break;default:case null:case"alphabetic":case"ideographic":case"bottom":ah.y=-i.size/2.25;break}switch(Z){case"right":j=at;ar=0.05;break;case"center":j=ar=at/2;break}var aq=V(this,ak+ah.x,aj+ah.y);ag.push('');if(ai){w(this,ag)}else{G(this,ag,{x:-j,y:0},{x:ar,y:i.size})}var an=ao[0][0].toFixed(3)+","+ao[1][0].toFixed(3)+","+ao[0][1].toFixed(3)+","+ao[1][1].toFixed(3)+",0,0";var al=n(aq.x/d+1-ao[0][0])+","+n(aq.y/d-2*ao[1][0]);ag.push('','','');this.element_.insertAdjacentHTML("beforeEnd",ag.join(""))};q.fillText=function(m,i,p,j){this.drawText_(m,i,p,j,false)};q.strokeText=function(m,i,p,j){this.drawText_(m,i,p,j,true)};q.measureText=function(m){if(!this.textMeasureEl_){var i='';this.element_.insertAdjacentHTML("beforeEnd",i);this.textMeasureEl_=this.element_.lastChild}var j=this.element_.ownerDocument;this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(j.createTextNode(m));return{width:this.textMeasureEl_.offsetWidth}};q.clip=function(){};q.arcTo=function(){};q.createPattern=function(j,i){return new T(j,i)};function U(i){this.type_=i;this.x0_=0;this.y0_=0;this.r0_=0;this.x1_=0;this.y1_=0;this.r1_=0;this.colors_=[]}U.prototype.addColorStop=function(j,i){i=F(i);this.colors_.push({offset:j,color:i.color,alpha:i.alpha})};function T(j,i){Q(j);switch(i){case"repeat":case null:case"":this.repetition_="repeat";break;case"repeat-x":case"repeat-y":case"no-repeat":this.repetition_=i;break;default:O("SYNTAX_ERR")}this.src_=j.src;this.width_=j.width;this.height_=j.height}function O(i){throw new P(i)}function Q(i){if(!i||i.nodeType!=1||i.tagName!="IMG"){O("TYPE_MISMATCH_ERR")}if(i.readyState!="complete"){O("INVALID_STATE_ERR")}}function P(i){this.code=this[i];this.message=i+": DOM Exception "+this.code}var X=P.prototype=new Error;X.INDEX_SIZE_ERR=1;X.DOMSTRING_SIZE_ERR=2;X.HIERARCHY_REQUEST_ERR=3;X.WRONG_DOCUMENT_ERR=4;X.INVALID_CHARACTER_ERR=5;X.NO_DATA_ALLOWED_ERR=6;X.NO_MODIFICATION_ALLOWED_ERR=7;X.NOT_FOUND_ERR=8;X.NOT_SUPPORTED_ERR=9;X.INUSE_ATTRIBUTE_ERR=10;X.INVALID_STATE_ERR=11;X.SYNTAX_ERR=12;X.INVALID_MODIFICATION_ERR=13;X.NAMESPACE_ERR=14;X.INVALID_ACCESS_ERR=15;X.VALIDATION_ERR=16;X.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=e;CanvasRenderingContext2D=D;CanvasGradient=U;CanvasPattern=T;DOMException=P;G_vmlCanvasManager._version=888})()};
\ No newline at end of file
diff --git a/wqflask/wqflask/static/packages/jqplot/jquery.jqplot.js b/wqflask/wqflask/static/packages/jqplot/jquery.jqplot.js
index cded47ab..c77c353d 100755
--- a/wqflask/wqflask/static/packages/jqplot/jquery.jqplot.js
+++ b/wqflask/wqflask/static/packages/jqplot/jquery.jqplot.js
@@ -1,98 +1,98 @@
/**
* Title: jqPlot Charts
- *
+ *
* Pure JavaScript plotting plugin for jQuery.
- *
+ *
* About: Version
- *
- * version: 1.0.4
+ *
+ * version: 1.0.4
* revision: 1121
- *
+ *
* About: Copyright & License
- *
+ *
* Copyright (c) 2009-2012 Chris Leonello
- * jqPlot is currently available for use in all personal or commercial projects
- * under both the MIT and GPL version 2.0 licenses. This means that you can
+ * jqPlot is currently available for use in all personal or commercial projects
+ * under both the MIT and GPL version 2.0 licenses. This means that you can
* choose the license that best suits your project and use it accordingly.
- *
- * See and contained within this distribution for further information.
+ *
+ * See and contained within this distribution for further information.
*
* The author would appreciate an email letting him know of any substantial
- * use of jqPlot. You can reach the author at: chris at jqplot dot com
+ * use of jqPlot. You can reach the author at: chris at jqplot dot com
* or see http://www.jqplot.com/info.php. This is, of course, not required.
*
* If you are feeling kind and generous, consider supporting the project by
* making a donation at: http://www.jqplot.com/donate.php.
*
* sprintf functions contained in jqplot.sprintf.js by Ash Searle:
- *
+ *
* version 2007.04.27
* author Ash Searle
* http://hexmen.com/blog/2007/03/printf-sprintf/
* http://hexmen.com/js/sprintf.js
* The author (Ash Searle) has placed this code in the public domain:
* "This code is unrestricted: you are free to use it however you like."
- *
- *
+ *
+ *
* About: Introduction
- *
- * jqPlot requires jQuery (1.4+ required for certain features). jQuery 1.4.2 is included in the distribution.
- * To use jqPlot include jQuery, the jqPlot jQuery plugin, the jqPlot css file and optionally
+ *
+ * jqPlot requires jQuery (1.4+ required for certain features). jQuery 1.4.2 is included in the distribution.
+ * To use jqPlot include jQuery, the jqPlot jQuery plugin, the jqPlot css file and optionally
* the excanvas script for IE support in your web page:
- *
+ *
* >
* >
* >
* >
- *
+ *
* jqPlot can be customized by overriding the defaults of any of the objects which make
* up the plot. The general usage of jqplot is:
- *
+ *
* > chart = $.jqplot('targetElemId', [dataArray,...], {optionsObject});
- *
+ *
* The options available to jqplot are detailed in in the jqPlotOptions.txt file.
- *
- * An actual call to $.jqplot() may look like the
+ *
+ * An actual call to $.jqplot() may look like the
* examples below:
- *
+ *
* > chart = $.jqplot('chartdiv', [[[1, 2],[3,5.12],[5,13.1],[7,33.6],[9,85.9],[11,219.9]]]);
- *
+ *
* or
- *
+ *
* > dataArray = [34,12,43,55,77];
* > chart = $.jqplot('targetElemId', [dataArray, ...], {title:'My Plot', axes:{yaxis:{min:20, max:100}}});
- *
+ *
* For more inforrmation, see .
- *
+ *
* About: Usage
- *
+ *
* See
- *
- * About: Available Options
- *
+ *
+ * About: Available Options
+ *
* See for a list of options available thorugh the options object (not complete yet!)
- *
+ *
* About: Options Usage
- *
+ *
* See
- *
+ *
* About: Changes
- *
+ *
* See
- *
+ *
*/
(function($) {
// make sure undefined is undefined
var undefined;
-
+
$.fn.emptyForce = function() {
for ( var i = 0, elem; (elem = $(this)[i]) != null; i++ ) {
// Remove element nodes and prevent memory leaks
if ( elem.nodeType === 1 ) {
$.cleanData( elem.getElementsByTagName("*") );
}
-
+
// Remove any remaining nodes
if ($.jqplot.use_excanvas) {
elem.outerHTML = "";
@@ -105,10 +105,10 @@
elem = null;
}
-
+
return $(this);
};
-
+
$.fn.removeChildForce = function(parent) {
while ( parent.firstChild ) {
this.removeChildForce( parent.firstChild );
@@ -130,12 +130,12 @@
}
return this.each(function(index) {
- var tid,
- plot,
+ var tid,
+ plot,
$this = $(this),
dl = datas.length,
ol = options.length,
- data,
+ data,
opts;
if (index < dl) {
@@ -170,17 +170,17 @@
/**
* Namespace: $.jqplot
* jQuery function called by the user to create a plot.
- *
+ *
* Parameters:
* target - ID of target element to render the plot into.
* data - an array of data series.
* options - user defined options object. See the individual classes for available options.
- *
+ *
* Properties:
* config - object to hold configuration information for jqPlot plot object.
- *
+ *
* attributes:
- * enablePlugins - False to disable plugins by default. Plugins must then be explicitly
+ * enablePlugins - False to disable plugins by default. Plugins must then be explicitly
* enabled in the individual plot options. Default: false.
* This property sets the "show" property of certain plugins to true or false.
* Only plugins that can be immediately active upon loading are affected. This includes
@@ -216,7 +216,7 @@
var plot = new jqPlot();
// remove any error class that may be stuck on target.
$('#'+target).removeClass('jqplot-error');
-
+
if ($.jqplot.config.catchErrors) {
try {
plot.init(target, _data, _options);
@@ -236,7 +236,7 @@
document.getElementById(target).style.fontWeight = $.jqplot.config.errorFontWeight;
}
}
- else {
+ else {
plot.init(target, _data, _options);
plot.draw();
plot.themeEngine.init.call(plot);
@@ -259,13 +259,13 @@
$.jqplot.CanvasManager.canvases = [];
$.jqplot.CanvasManager.free = [];
}
-
+
var myCanvases = [];
-
+
this.getCanvas = function() {
var canvas;
var makeNew = true;
-
+
if (!$.jqplot.use_excanvas) {
for (var i = 0, l = $.jqplot.CanvasManager.canvases.length; i < l; i++) {
if ($.jqplot.CanvasManager.free[i] === true) {
@@ -284,11 +284,11 @@
myCanvases.push($.jqplot.CanvasManager.canvases.length);
$.jqplot.CanvasManager.canvases.push(canvas);
$.jqplot.CanvasManager.free.push(false);
- }
-
+ }
+
return canvas;
};
-
+
// this method has to be used after settings the dimesions
// on the element returned by getCanvas()
this.initCanvas = function(canvas) {
@@ -310,7 +310,7 @@
// excanvas can't be reused, but properly unset
window.G_vmlCanvasManager.uninitElement($.jqplot.CanvasManager.canvases[idx]);
$.jqplot.CanvasManager.canvases[idx] = null;
- }
+ }
else {
var canvas = $.jqplot.CanvasManager.canvases[idx];
canvas.getContext('2d').clearRect(0, 0, canvas.width, canvas.height);
@@ -324,17 +324,17 @@
$.jqplot.CanvasManager.free[idx] = true;
}
};
-
+
};
-
+
// Convienence function that won't hang IE or FF without FireBug.
$.jqplot.log = function() {
if (window.console) {
window.console.log.apply(window.console, arguments);
}
};
-
+
$.jqplot.config = {
addDomReference: false,
enablePlugins:false,
@@ -359,29 +359,29 @@
srcLocation: 'jqplot/src/',
pluginLocation: 'jqplot/src/plugins/'
};
-
-
+
+
$.jqplot.arrayMax = function( array ){
return Math.max.apply( Math, array );
};
-
+
$.jqplot.arrayMin = function( array ){
return Math.min.apply( Math, array );
};
-
+
$.jqplot.enablePlugins = $.jqplot.config.enablePlugins;
-
+
// canvas related tests taken from modernizer:
// Copyright (c) 2009 - 2010 Faruk Ates.
// http://www.modernizr.com
-
+
$.jqplot.support_canvas = function() {
if (typeof $.jqplot.support_canvas.result == 'undefined') {
- $.jqplot.support_canvas.result = !!document.createElement('canvas').getContext;
+ $.jqplot.support_canvas.result = !!document.createElement('canvas').getContext;
}
return $.jqplot.support_canvas.result;
};
-
+
$.jqplot.support_canvas_text = function() {
if (typeof $.jqplot.support_canvas_text.result == 'undefined') {
if (window.G_vmlCanvasManager !== undefined && window.G_vmlCanvasManager._version > 887) {
@@ -390,17 +390,17 @@
else {
$.jqplot.support_canvas_text.result = !!(document.createElement('canvas').getContext && typeof document.createElement('canvas').getContext('2d').fillText == 'function');
}
-
+
}
return $.jqplot.support_canvas_text.result;
};
-
+
$.jqplot.use_excanvas = ($.browser.msie && !$.jqplot.support_canvas()) ? true : false;
-
+
/**
- *
+ *
* Hooks: jqPlot Pugin Hooks
- *
+ *
* $.jqplot.preInitHooks - called before initialization.
* $.jqplot.postInitHooks - called after initialization.
* $.jqplot.preParseOptionsHooks - called before user options are parsed.
@@ -422,9 +422,9 @@
* listeners to the event canvas which lays on top of the grid area.
* $.jqplot.preDrawSeriesShadowHooks - called before series shadows are drawn.
* $.jqplot.postDrawSeriesShadowHooks - called after series shadows are drawn.
- *
+ *
*/
-
+
$.jqplot.preInitHooks = [];
$.jqplot.postInitHooks = [];
$.jqplot.preParseOptionsHooks = [];
@@ -450,7 +450,7 @@
this._plotHeight;
this._plotDimensions = {height:null, width:null};
};
-
+
$.jqplot.ElemContainer.prototype.createElement = function(el, offsets, clss, cssopts, attrib) {
this._offsets = offsets;
var klass = clss || 'jqplot';
@@ -463,7 +463,7 @@
elem = null;
return this._elem;
};
-
+
$.jqplot.ElemContainer.prototype.getWidth = function() {
if (this._elem) {
return this._elem.outerWidth(true);
@@ -472,7 +472,7 @@
return null;
}
};
-
+
$.jqplot.ElemContainer.prototype.getHeight = function() {
if (this._elem) {
return this._elem.outerHeight(true);
@@ -481,7 +481,7 @@
return null;
}
};
-
+
$.jqplot.ElemContainer.prototype.getPosition = function() {
if (this._elem) {
return this._elem.position();
@@ -490,36 +490,36 @@
return {top:null, left:null, bottom:null, right:null};
}
};
-
+
$.jqplot.ElemContainer.prototype.getTop = function() {
return this.getPosition().top;
};
-
+
$.jqplot.ElemContainer.prototype.getLeft = function() {
return this.getPosition().left;
};
-
+
$.jqplot.ElemContainer.prototype.getBottom = function() {
return this._elem.css('bottom');
};
-
+
$.jqplot.ElemContainer.prototype.getRight = function() {
return this._elem.css('right');
};
-
+
/**
* Class: Axis
* An individual axis object. Cannot be instantiated directly, but created
- * by the Plot oject. Axis properties can be set or overriden by the
+ * by the Plot oject. Axis properties can be set or overriden by the
* options passed in from the user.
- *
+ *
*/
function Axis(name) {
$.jqplot.ElemContainer.call(this);
// Group: Properties
//
- // Axes options are specified within an axes object at the top level of the
+ // Axes options are specified within an axes object at the top level of the
// plot options like so:
// > {
// > axes: {
@@ -529,7 +529,7 @@
// > y2axis: {ticks:[22, 44, 66, 88]}
// > }
// > }
- // There are 2 x axes, 'xaxis' and 'x2axis', and
+ // There are 2 x axes, 'xaxis' and 'x2axis', and
// 9 yaxes, 'yaxis', 'y2axis'. 'y3axis', ... Any or all of which may be specified.
this.name = name;
this._series = [];
@@ -537,7 +537,7 @@
// Wether to display the axis on the graph.
this.show = false;
// prop: tickRenderer
- // A class of a rendering engine for creating the ticks labels displayed on the plot,
+ // A class of a rendering engine for creating the ticks labels displayed on the plot,
// See <$.jqplot.AxisTickRenderer>.
this.tickRenderer = $.jqplot.AxisTickRenderer;
// prop: tickOptions
@@ -591,7 +591,7 @@
// number of units between ticks. Mutually exclusive with numberTicks.
this.tickInterval;
// prop: renderer
- // A class of a rendering engine that handles tick generation,
+ // A class of a rendering engine that handles tick generation,
// scaling input data to pixel grid units and drawing the axis element.
this.renderer = $.jqplot.LinearAxisRenderer;
// prop: rendererOptions
@@ -663,13 +663,13 @@
// hold original user options.
this._options = {};
}
-
+
Axis.prototype = new $.jqplot.ElemContainer();
Axis.prototype.constructor = Axis;
-
+
Axis.prototype.init = function() {
if ($.isFunction(this.renderer)) {
- this.renderer = new this.renderer();
+ this.renderer = new this.renderer();
}
// set the axis name
this.tickOptions.axis = this.name;
@@ -684,7 +684,7 @@
if (this.tickOptions.showLabel == null) {
this.tickOptions.showLabel = this.showTicks;
}
-
+
if (this.label == null || this.label == '') {
this.showLabel = false;
}
@@ -712,7 +712,7 @@
if (this.padMin == null) {
this.padMin = (this.pad-1)/2 + 1;
}
- // now that padMin and padMax are correctly set, reset pad in case user has supplied
+ // now that padMin and padMax are correctly set, reset pad in case user has supplied
// padMin and/or padMax
this.pad = this.padMax + this.padMin - 1;
if (this.min != null || this.max != null) {
@@ -726,9 +726,9 @@
this.syncTicks = false;
}
this.renderer.init.call(this, this.rendererOptions);
-
+
};
-
+
Axis.prototype.draw = function(ctx, plot) {
// Memory Leaks patch
if (this.__ticks) {
@@ -736,13 +736,13 @@
}
return this.renderer.draw.call(this, ctx, plot);
-
+
};
-
+
Axis.prototype.set = function() {
this.renderer.set.call(this);
};
-
+
Axis.prototype.pack = function(pos, offsets) {
if (this.show) {
this.renderer.pack.call(this, pos, offsets);
@@ -756,17 +756,17 @@
this.__ticks = this._ticks;
}
};
-
+
// reset the axis back to original values if it has been scaled, zoomed, etc.
Axis.prototype.reset = function() {
this.renderer.reset.call(this);
};
-
+
Axis.prototype.resetScale = function(opts) {
$.extend(true, this, {min: null, max: null, numberTicks: null, tickInterval: null, _ticks: [], ticks: []}, opts);
this.resetDataBounds();
};
-
+
Axis.prototype.resetDataBounds = function() {
// Go through all the series attached to this axis and find
// the min/max bounds for this axis.
@@ -790,8 +790,8 @@
minyidx = 3;
maxyidx = 2;
}
-
- for (var j=0, l=d.length; j db.max) || db.max == null) {
db.max = d[j][0];
}
- }
+ }
else {
if ((d[j][minyidx] != null && d[j][minyidx] < db.min) || db.min == null) {
db.min = d[j][minyidx];
@@ -807,11 +807,11 @@
if ((d[j][maxyidx] != null && d[j][maxyidx] > db.max) || db.max == null) {
db.max = d[j][maxyidx];
}
- }
+ }
}
// Hack to not pad out bottom of bar plots unless user has specified a padding.
- // every series will have a chance to set doforce to false. once it is set to
+ // every series will have a chance to set doforce to false. once it is set to
// false, it cannot be reset to true.
// If any series attached to axis is not a bar, wont force 0.
if (doforce && s.renderer.constructor !== $.jqplot.BarRenderer) {
@@ -823,7 +823,7 @@
}
else if (doforce && s.renderer.constructor === $.jqplot.BarRenderer) {
- if (s.barDirection == 'vertical' && this.name != 'xaxis' && this.name != 'x2axis') {
+ if (s.barDirection == 'vertical' && this.name != 'xaxis' && this.name != 'x2axis') {
if (this._options.pad != null || this._options.padMin != null) {
doforce = false;
}
@@ -848,13 +848,13 @@
/**
* Class: Legend
* Legend object. Cannot be instantiated directly, but created
- * by the Plot oject. Legend properties can be set or overriden by the
+ * by the Plot oject. Legend properties can be set or overriden by the
* options passed in from the user.
*/
function Legend(options) {
$.jqplot.ElemContainer.call(this);
// Group: Properties
-
+
// prop: show
// Wether to display the legend on the graph.
this.show = false;
@@ -873,18 +873,18 @@
this.showSwatches = true;
// prop: placement
// "insideGrid" places legend inside the grid area of the plot.
- // "outsideGrid" places the legend outside the grid but inside the plot container,
+ // "outsideGrid" places the legend outside the grid but inside the plot container,
// shrinking the grid to accomodate the legend.
- // "inside" synonym for "insideGrid",
+ // "inside" synonym for "insideGrid",
// "outside" places the legend ouside the grid area, but does not shrink the grid which
// can cause the legend to overflow the plot container.
this.placement = "insideGrid";
// prop: xoffset
- // DEPRECATED. Set the margins on the legend using the marginTop, marginLeft, etc.
+ // DEPRECATED. Set the margins on the legend using the marginTop, marginLeft, etc.
// properties or via CSS margin styling of the .jqplot-table-legend class.
this.xoffset = 0;
// prop: yoffset
- // DEPRECATED. Set the margins on the legend using the marginTop, marginLeft, etc.
+ // DEPRECATED. Set the margins on the legend using the marginTop, marginLeft, etc.
// properties or via CSS margin styling of the .jqplot-table-legend class.
this.yoffset = 0;
// prop: border
@@ -898,7 +898,7 @@
this.textColor;
// prop: fontFamily
// css font-family spec for the legend text.
- this.fontFamily;
+ this.fontFamily;
// prop: fontSize
// css font-size spec for the legend text.
this.fontSize ;
@@ -917,22 +917,22 @@
// Used with series specific legend renderers for pie, donut, mekko charts, etc.
this.preDraw = false;
// prop: marginTop
- // CSS margin for the legend DOM element. This will set an element
+ // CSS margin for the legend DOM element. This will set an element
// CSS style for the margin which will override any style sheet setting.
// The default will be taken from the stylesheet.
this.marginTop = null;
// prop: marginRight
- // CSS margin for the legend DOM element. This will set an element
+ // CSS margin for the legend DOM element. This will set an element
// CSS style for the margin which will override any style sheet setting.
// The default will be taken from the stylesheet.
this.marginRight = null;
// prop: marginBottom
- // CSS margin for the legend DOM element. This will set an element
+ // CSS margin for the legend DOM element. This will set an element
// CSS style for the margin which will override any style sheet setting.
// The default will be taken from the stylesheet.
this.marginBottom = null;
// prop: marginLeft
- // CSS margin for the legend DOM element. This will set an element
+ // CSS margin for the legend DOM element. This will set an element
// CSS style for the margin which will override any style sheet setting.
// The default will be taken from the stylesheet.
this.marginLeft = null;
@@ -941,24 +941,24 @@
// in legend text. "<" becomes < and so on, so html tags are not rendered.
this.escapeHtml = false;
this._series = [];
-
+
$.extend(true, this, options);
}
-
+
Legend.prototype = new $.jqplot.ElemContainer();
Legend.prototype.constructor = Legend;
-
+
Legend.prototype.setOptions = function(options) {
$.extend(true, this, options);
-
+
// Try to emulate deprecated behaviour
// if user has specified xoffset or yoffset, copy these to
// the margin properties.
-
+
if (this.placement == 'inside') {
this.placement = 'insideGrid';
}
-
+
if (this.xoffset >0) {
if (this.placement == 'insideGrid') {
switch (this.location) {
@@ -1004,7 +1004,7 @@
}
this.xoffset = 0;
}
-
+
if (this.yoffset >0) {
if (this.placement == 'outside') {
switch (this.location) {
@@ -1050,26 +1050,26 @@
}
this.yoffset = 0;
}
-
+
// TO-DO:
// Handle case where offsets are < 0.
//
};
-
+
Legend.prototype.init = function() {
if ($.isFunction(this.renderer)) {
- this.renderer = new this.renderer();
+ this.renderer = new this.renderer();
}
this.renderer.init.call(this, this.rendererOptions);
};
-
+
Legend.prototype.draw = function(offsets, plot) {
for (var i=0; i<$.jqplot.preDrawLegendHooks.length; i++){
$.jqplot.preDrawLegendHooks[i].call(this, offsets);
}
return this.renderer.draw.call(this, offsets, plot);
};
-
+
Legend.prototype.pack = function(offsets) {
this.renderer.pack.call(this, offsets);
};
@@ -1077,16 +1077,16 @@
/**
* Class: Title
* Plot Title object. Cannot be instantiated directly, but created
- * by the Plot oject. Title properties can be set or overriden by the
+ * by the Plot oject. Title properties can be set or overriden by the
* options passed in from the user.
- *
+ *
* Parameters:
* text - text of the title.
*/
function Title(text) {
$.jqplot.ElemContainer.call(this);
// Group: Properties
-
+
// prop: text
// text of the title;
this.text = text;
@@ -1111,27 +1111,27 @@
this.renderer = $.jqplot.DivTitleRenderer;
// prop: rendererOptions
// renderer specific options passed to the renderer.
- this.rendererOptions = {};
+ this.rendererOptions = {};
// prop: escapeHtml
// True to escape special characters with their html entity equivalents
// in title text. "<" becomes < and so on, so html tags are not rendered.
this.escapeHtml = false;
}
-
+
Title.prototype = new $.jqplot.ElemContainer();
Title.prototype.constructor = Title;
-
+
Title.prototype.init = function() {
if ($.isFunction(this.renderer)) {
- this.renderer = new this.renderer();
+ this.renderer = new this.renderer();
}
this.renderer.init.call(this, this.rendererOptions);
};
-
+
Title.prototype.draw = function(width) {
return this.renderer.draw.call(this, width);
};
-
+
Title.prototype.pack = function() {
this.renderer.pack.call(this);
};
@@ -1140,7 +1140,7 @@
/**
* Class: Series
* An individual data series object. Cannot be instantiated directly, but created
- * by the Plot oject. Series properties can be set or overriden by the
+ * by the Plot oject. Series properties can be set or overriden by the
* options passed in from the user.
*/
function Series(options) {
@@ -1171,7 +1171,7 @@
this._yaxis;
this.gridBorderWidth = 2.0;
// prop: renderer
- // A class of a renderer which will draw the series,
+ // A class of a renderer which will draw the series,
// see <$.jqplot.LineRenderer>.
this.renderer = $.jqplot.LineRenderer;
// prop: rendererOptions
@@ -1203,8 +1203,8 @@
this.lineCap = 'round';
// prop: linePattern
// line pattern 'dashed', 'dotted', 'solid', some combination
- // of '-' and '.' characters such as '.-.' or a numerical array like
- // [draw, skip, draw, skip, ...] such as [1, 10] to draw a dotted line,
+ // of '-' and '.' characters such as '.-.' or a numerical array like
+ // [draw, skip, draw, skip, ...] such as [1, 10] to draw a dotted line,
// [1, 10, 20, 10] to draw a dot-dash line, and so on.
this.linePattern = 'solid';
this.shadow = true;
@@ -1308,10 +1308,10 @@
this._sumx = 0;
this._type = '';
}
-
+
Series.prototype = new $.jqplot.ElemContainer();
Series.prototype.constructor = Series;
-
+
Series.prototype.init = function(index, gridbw, plot) {
// weed out any null values in the data.
this.index = index;
@@ -1358,7 +1358,7 @@
this.fillColor = 'rgba('+comp[0]+','+comp[1]+','+comp[2]+','+this.fillAlpha+')';
}
if ($.isFunction(this.renderer)) {
- this.renderer = new this.renderer();
+ this.renderer = new this.renderer();
}
this.renderer.init.call(this, this.rendererOptions, plot);
this.markerRenderer = new this.markerRenderer();
@@ -1372,16 +1372,16 @@
// the markerRenderer is called within it's own scaope, don't want to overwrite series options!!
this.markerRenderer.init(this.markerOptions);
};
-
+
// data - optional data point array to draw using this series renderer
// gridData - optional grid data point array to draw using this series renderer
// stackData - array of cumulative data for stacked plots.
Series.prototype.draw = function(sctx, opts, plot) {
var options = (opts == undefined) ? {} : opts;
sctx = (sctx == undefined) ? this.canvas._ctx : sctx;
-
+
var j, data, gridData;
-
+
// hooks get called even if series not shown
// we don't clear canvas here, it would wipe out all other series as well.
for (j=0; j<$.jqplot.preDrawSeriesHooks.length; j++) {
@@ -1410,20 +1410,20 @@
this.renderer.draw.call(this, sctx, gridData, options, plot);
}
-
+
for (j=0; j<$.jqplot.postDrawSeriesHooks.length; j++) {
$.jqplot.postDrawSeriesHooks[j].call(this, sctx, options, plot);
}
-
+
sctx = opts = plot = j = data = gridData = null;
};
-
+
Series.prototype.drawShadow = function(sctx, opts, plot) {
var options = (opts == undefined) ? {} : opts;
sctx = (sctx == undefined) ? this.shadowCanvas._ctx : sctx;
-
+
var j, data, gridData;
-
+
// hooks get called even if series not shown
// we don't clear canvas here, it would wipe out all other series as well.
for (j=0; j<$.jqplot.preDrawSeriesShadowHooks.length; j++) {
@@ -1443,18 +1443,18 @@
data = this._plotData;
}
gridData = options.gridData || this.renderer.makeGridData.call(this, data, plot);
-
+
this.renderer.drawShadow.call(this, sctx, gridData, options, plot);
}
-
+
for (j=0; j<$.jqplot.postDrawSeriesShadowHooks.length; j++) {
$.jqplot.postDrawSeriesShadowHooks[j].call(this, sctx, options);
}
-
+
sctx = opts = plot = j = data = gridData = null;
-
+
};
-
+
// toggles series display on plot, e.g. show/hide series
Series.prototype.toggleDisplay = function(ev, callback) {
var s, speed;
@@ -1515,22 +1515,22 @@
}
}
};
-
+
/**
* Class: Grid
- *
+ *
* Object representing the grid on which the plot is drawn. The grid in this
* context is the area bounded by the axes, the area which will contain the series.
* Note, the series are drawn on their own canvas.
- * The Grid object cannot be instantiated directly, but is created by the Plot oject.
+ * The Grid object cannot be instantiated directly, but is created by the Plot oject.
* Grid properties can be set or overriden by the options passed in from the user.
*/
function Grid() {
$.jqplot.ElemContainer.call(this);
// Group: Properties
-
+
// prop: drawGridlines
// wether to draw the gridlines on the plot.
this.drawGridlines = true;
@@ -1590,34 +1590,34 @@
this.rendererOptions = {};
this._offsets = {top:null, bottom:null, left:null, right:null};
}
-
+
Grid.prototype = new $.jqplot.ElemContainer();
Grid.prototype.constructor = Grid;
-
+
Grid.prototype.init = function() {
if ($.isFunction(this.renderer)) {
- this.renderer = new this.renderer();
+ this.renderer = new this.renderer();
}
this.renderer.init.call(this, this.rendererOptions);
};
-
+
Grid.prototype.createElement = function(offsets,plot) {
this._offsets = offsets;
return this.renderer.createElement.call(this, plot);
};
-
+
Grid.prototype.draw = function() {
this.renderer.draw.call(this);
};
-
+
$.jqplot.GenericCanvas = function() {
$.jqplot.ElemContainer.call(this);
- this._ctx;
+ this._ctx;
};
-
+
$.jqplot.GenericCanvas.prototype = new $.jqplot.ElemContainer();
$.jqplot.GenericCanvas.prototype.constructor = $.jqplot.GenericCanvas;
-
+
$.jqplot.GenericCanvas.prototype.createElement = function(offsets, clss, plotDimensions, plot) {
this._offsets = offsets;
var klass = 'jqplot';
@@ -1627,49 +1627,49 @@
var elem;
elem = plot.canvasManager.getCanvas();
-
+
// if new plotDimensions supplied, use them.
if (plotDimensions != null) {
this._plotDimensions = plotDimensions;
}
-
+
elem.width = this._plotDimensions.width - this._offsets.left - this._offsets.right;
elem.height = this._plotDimensions.height - this._offsets.top - this._offsets.bottom;
this._elem = $(elem);
this._elem.css({ position: 'absolute', left: this._offsets.left, top: this._offsets.top });
-
+
this._elem.addClass(klass);
-
+
elem = plot.canvasManager.initCanvas(elem);
-
+
elem = null;
return this._elem;
};
-
+
$.jqplot.GenericCanvas.prototype.setContext = function() {
this._ctx = this._elem.get(0).getContext("2d");
return this._ctx;
};
-
+
// Memory Leaks patch
$.jqplot.GenericCanvas.prototype.resetCanvas = function() {
if (this._elem) {
if ($.jqplot.use_excanvas && window.G_vmlCanvasManager.uninitElement !== undefined) {
window.G_vmlCanvasManager.uninitElement(this._elem.get(0));
}
-
+
//this._elem.remove();
this._elem.emptyForce();
}
-
+
this._ctx = null;
};
-
+
$.jqplot.HooksManager = function () {
this.hooks =[];
this.args = [];
};
-
+
$.jqplot.HooksManager.prototype.addOnce = function(fn, args) {
args = args || [];
var havehook = false;
@@ -1683,17 +1683,17 @@
this.args.push(args);
}
};
-
+
$.jqplot.HooksManager.prototype.add = function(fn, args) {
args = args || [];
this.hooks.push(fn);
this.args.push(args);
};
-
+
$.jqplot.EventListenerManager = function () {
this.hooks =[];
};
-
+
$.jqplot.EventListenerManager.prototype.addOnce = function(ev, fn) {
var havehook = false, h, i;
for (var i=0, l=this.hooks.length; i for axis specific options.
this.axes = {xaxis: new Axis('xaxis'), yaxis: new Axis('yaxis'), x2axis: new Axis('x2axis'), y2axis: new Axis('y2axis'), y3axis: new Axis('y3axis'), y4axis: new Axis('y4axis'), y5axis: new Axis('y5axis'), y6axis: new Axis('y6axis'), y7axis: new Axis('y7axis'), y8axis: new Axis('y8axis'), y9axis: new Axis('y9axis'), yMidAxis: new Axis('yMidAxis')};
this.baseCanvas = new $.jqplot.GenericCanvas();
@@ -1751,7 +1751,7 @@
// prop: data
// user's data. Data should *NOT* be specified in the options object,
// but be passed in as the second argument to the $.jqplot() function.
- // The data property is described here soley for reference.
+ // The data property is described here soley for reference.
// The data should be in the form of an array of 2D or 1D arrays like
// > [ [[x1, y1], [x2, y2],...], [y1, y2, ...] ].
this.data = [];
@@ -1821,7 +1821,7 @@
// prop: noDataIndicator
// Options to set up a mock plot with a data loading indicator if no data is specified.
this.negativeSeriesColors = $.jqplot.config.defaultNegativeColors;
- this.noDataIndicator = {
+ this.noDataIndicator = {
show: false,
indicator: 'Loading Data...',
axes: {
@@ -1872,7 +1872,7 @@
// a shortcut for axis syncTicks options. Not implemented yet.
this.syncYTicks = true;
// the jquery object for the dom target.
- this.target = null;
+ this.target = null;
// The id of the dom element to render the plot into
this.targetId = null;
// prop textColor
@@ -1902,7 +1902,7 @@
// merged with the the appropriate data from _stackData according to the stackAxis.
this._plotData = [];
this._width = null;
- this._height = null;
+ this._height = null;
this._plotDimensions = {height:null, width:null};
this._gridPadding = {top:null, right:null, bottom:null, left:null};
this._defaultGridPadding = {top:10, right:10, bottom:23, left:10};
@@ -1926,14 +1926,14 @@
this.eventListenerHooks = new $.jqplot.EventListenerManager();
this.preDrawSeriesShadowHooks = new $.jqplot.HooksManager();
this.postDrawSeriesShadowHooks = new $.jqplot.HooksManager();
-
+
this.colorGenerator = new $.jqplot.ColorGenerator();
this.negativeColorGenerator = new $.jqplot.ColorGenerator();
this.canvasManager = new $.jqplot.CanvasManager();
this.themeEngine = new $.jqplot.ThemeEngine();
-
+
var seriesColorsIndex = 0;
// Group: methods
@@ -1950,7 +1950,7 @@
for (var i=0; i');
temp.append(temp2);
temp2.html(this.noDataIndicator.indicator);
@@ -2076,12 +2076,12 @@
}
}
-
+
// make a copy of the data
this.data = $.extend(true, [], data);
-
+
this.parseOptions(options);
-
+
if (this.textColor) {
this.target.css('color', this.textColor);
}
@@ -2091,7 +2091,7 @@
if (this.fontSize) {
this.target.css('font-size', this.fontSize);
}
-
+
this.title.init();
this.legend.init();
this._sumy = 0;
@@ -2138,13 +2138,13 @@
}
}
}
-
+
if (this.sortData) {
sortData(this.series);
}
this.grid.init();
this.grid._axes = this.axes;
-
+
this.legend._series = this.series;
for (var i=0; i<$.jqplot.postInitHooks.length; i++) {
@@ -2154,8 +2154,8 @@
for (var i=0; i s._innerRadius) {
for (j=0; j= cv[0][1] && y <= cv[3][1] && x >= lex[0] && x <= rex[0]) {
return {seriesIndex:s.index, pointIndex:j, gridData:null, data:s.data[j]};
}
- }
- break;
-
+ }
+ break;
+
case $.jqplot.LineRenderer:
x = gridpos.x;
y = gridpos.y;
@@ -3406,14 +3406,14 @@
if ((s.fill || (s.renderer.bands.show && s.renderer.bands.fill)) && (!plot.plugins.highlighter || !plot.plugins.highlighter.show)) {
// first check if it is in bounding box
var inside = false;
- if (x>s._boundingBox[0][0] && xs._boundingBox[1][1] && ys._boundingBox[0][0] && xs._boundingBox[1][1] && y 0) {
return colors[idx--];
}
@@ -3832,17 +3832,17 @@
return colors[idx];
}
};
-
+
// get a color by index without advancing pointer.
this.get = function(i) {
var idx = i - colors.length * Math.floor(i/colors.length);
return colors[idx];
};
-
+
this.setColors = function(c) {
colors = c;
};
-
+
this.reset = function() {
idx = 0;
};
@@ -3872,7 +3872,7 @@
rgb += ')';
return rgb;
};
-
+
// convert an rgb color spec to a hex spec. ignore any alpha specification.
$.jqplot.rgb2hex = function(s) {
var pat = /rgba?\( *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *(?:, *[0-9.]*)?\)/;
@@ -3896,11 +3896,11 @@
}
return h;
};
-
+
// given a css color spec, return an rgb css color spec
$.jqplot.normalize2rgb = function(s, a) {
if (s.search(/^ *rgba?\(/) != -1) {
- return s;
+ return s;
}
else if (s.search(/^ *#?[0-9a-fA-F]?[0-9a-fA-F]/) != -1) {
return $.jqplot.hex2rgb(s, a);
@@ -3909,7 +3909,7 @@
throw 'invalid color spec';
}
};
-
+
// extract the r, g, b, a color components out of a css color spec.
$.jqplot.getColorComponents = function(s) {
// check to see if a color keyword.
@@ -3929,7 +3929,7 @@
ret[3] = parseFloat(m[4]) ? parseFloat(m[4]) : 1.0;
return ret;
};
-
+
$.jqplot.colorKeywordMap = {
aliceblue: 'rgb(240, 248, 255)',
antiquewhite: 'rgb(250, 235, 215)',
@@ -4080,7 +4080,7 @@
yellowgreen: 'rgb(154, 205, 50)'
};
-
+
// class: $.jqplot.AxisLabelRenderer
// Renderer to place labels on the axes.
@@ -4102,17 +4102,17 @@
// prop: escapeHTML
// true to escape HTML entities in the label.
this.escapeHTML = false;
-
+
$.extend(true, this, options);
};
-
+
$.jqplot.AxisLabelRenderer.prototype = new $.jqplot.ElemContainer();
$.jqplot.AxisLabelRenderer.prototype.constructor = $.jqplot.AxisLabelRenderer;
-
+
$.jqplot.AxisLabelRenderer.prototype.init = function(options) {
$.extend(true, this, options);
};
-
+
$.jqplot.AxisLabelRenderer.prototype.draw = function(ctx, plot) {
// Memory Leaks patch
if (this._elem) {
@@ -4121,11 +4121,11 @@
}
this._elem = $('');
-
+
if (Number(this.label)) {
this._elem.css('white-space', 'nowrap');
}
-
+
if (!this.escapeHTML) {
this._elem.html(this.label);
}
@@ -4141,10 +4141,10 @@
if (this.textColor) {
this._elem.css('color', this.textColor);
}
-
+
return this._elem;
};
-
+
$.jqplot.AxisLabelRenderer.prototype.pack = function() {
};
@@ -4214,17 +4214,17 @@
this.escapeHTML = false;
this._elem;
this._breakTick = false;
-
+
$.extend(true, this, options);
};
-
+
$.jqplot.AxisTickRenderer.prototype.init = function(options) {
$.extend(true, this, options);
};
-
+
$.jqplot.AxisTickRenderer.prototype = new $.jqplot.ElemContainer();
$.jqplot.AxisTickRenderer.prototype.constructor = $.jqplot.AxisTickRenderer;
-
+
$.jqplot.AxisTickRenderer.prototype.setTick = function(value, axisName, isMinor) {
this.value = value;
this.axis = axisName;
@@ -4233,7 +4233,7 @@
}
return this;
};
-
+
$.jqplot.AxisTickRenderer.prototype.draw = function() {
if (this.label === null) {
this.label = this.prefix + this.formatter(this.formatString, this.value) + this.suffix;
@@ -4242,7 +4242,7 @@
if (Number(this.label)) {
style['whitSpace'] = 'nowrap';
}
-
+
// Memory Leaks patch
if (this._elem) {
this._elem.emptyForce();
@@ -4251,14 +4251,14 @@
this._elem = $(document.createElement('div'));
this._elem.addClass("jqplot-"+this.axis+"-tick");
-
+
if (!this.escapeHTML) {
this._elem.html(this.label);
}
else {
this._elem.text(this.label);
}
-
+
this._elem.css(style);
for (var s in this._styles) {
@@ -4276,10 +4276,10 @@
if (this._breakTick) {
this._elem.addClass('jqplot-breakTick');
}
-
+
return this._elem;
};
-
+
$.jqplot.DefaultTickFormatter = function (format, val) {
if (typeof val == 'number') {
if (!format) {
@@ -4291,7 +4291,7 @@
return String(val);
}
};
-
+
$.jqplot.PercentTickFormatter = function (format, val) {
if (typeof val == 'number') {
val = 100 * val;
@@ -4304,17 +4304,17 @@
return String(val);
}
};
-
+
$.jqplot.AxisTickRenderer.prototype.pack = function() {
};
-
+
// Class: $.jqplot.CanvasGridRenderer
// The default jqPlot grid renderer, creating a grid on a canvas element.
// The renderer has no additional options beyond the class.
$.jqplot.CanvasGridRenderer = function(){
this.shadowRenderer = new $.jqplot.ShadowRenderer();
};
-
+
// called with context of Grid object
$.jqplot.CanvasGridRenderer.prototype.init = function(options) {
this._ctx;
@@ -4323,7 +4323,7 @@
var sopts = {lineJoin:'miter', lineCap:'round', fill:false, isarc:false, angle:this.shadowAngle, offset:this.shadowOffset, alpha:this.shadowAlpha, depth:this.shadowDepth, lineWidth:this.shadowWidth, closePath:false, strokeStyle:this.shadowColor};
this.renderer.shadowRenderer.init(sopts);
};
-
+
// called with context of Grid.
$.jqplot.CanvasGridRenderer.prototype.createElement = function(plot) {
var elem;
@@ -4334,11 +4334,11 @@
window.G_vmlCanvasManager.uninitElement(elem);
elem = null;
}
-
+
this._elem.emptyForce();
this._elem = null;
}
-
+
elem = plot.canvasManager.getCanvas();
var w = this._plotDimensions.width;
@@ -4348,7 +4348,7 @@
this._elem = $(elem);
this._elem.addClass('jqplot-grid-canvas');
this._elem.css({ position: 'absolute', left: 0, top: 0 });
-
+
elem = plot.canvasManager.initCanvas(elem);
this._top = this._offsets.top;
@@ -4361,7 +4361,7 @@
elem = null;
return this._elem;
};
-
+
$.jqplot.CanvasGridRenderer.prototype.draw = function() {
this._ctx = this._elem.get(0).getContext("2d");
var ctx = this._ctx;
@@ -4371,7 +4371,7 @@
ctx.clearRect(0, 0, this._plotDimensions.width, this._plotDimensions.height);
ctx.fillStyle = this.backgroundColor || this.background;
ctx.fillRect(this._left, this._top, this._width, this._height);
-
+
ctx.save();
ctx.lineJoin = 'miter';
ctx.lineCap = 'butt';
@@ -4623,9 +4623,9 @@
axis = null;
ticks = null;
}
-
+
ctx.restore();
-
+
function drawLine(bx, by, ex, ey, opts) {
ctx.save();
opts = opts || {};
@@ -4638,7 +4638,7 @@
ctx.restore();
}
}
-
+
if (this.shadow) {
var points = [[this._left, this._bottom], [this._right, this._bottom], [this._right, this._top]];
this.renderer.shadowRenderer.draw(ctx, points);
@@ -4654,21 +4654,21 @@
// ctx.lineWidth = this.borderWidth;
// ctx.strokeStyle = this.borderColor;
// ctx.strokeRect(this._left, this._top, this._width, this._height);
-
+
ctx.restore();
ctx = null;
axes = null;
};
-
+
// Class: $.jqplot.DivTitleRenderer
- // The default title renderer for jqPlot. This class has no options beyond the class.
+ // The default title renderer for jqPlot. This class has no options beyond the class.
$.jqplot.DivTitleRenderer = function() {
};
-
+
$.jqplot.DivTitleRenderer.prototype.init = function(options) {
$.extend(true, this, options);
};
-
+
$.jqplot.DivTitleRenderer.prototype.draw = function() {
// Memory Leaks patch
if (this._elem) {
@@ -4741,14 +4741,14 @@
}
elem = null;
-
+
return this._elem;
};
-
+
$.jqplot.DivTitleRenderer.prototype.pack = function() {
// nothing to do here
};
-
+
var dotlen = 0.1;
@@ -4866,7 +4866,7 @@
this.shapeRenderer = new $.jqplot.ShapeRenderer();
this.shadowRenderer = new $.jqplot.ShadowRenderer();
};
-
+
// called with scope of series.
$.jqplot.LineRenderer.prototype.init = function(options, plot) {
// Group: Properties
@@ -4905,7 +4905,7 @@
//
// bandData can be input in 3 forms. jqPlot will figure out which is the
// low band line and which is the high band line for all forms:
- //
+ //
// A 2 dimensional array like [[yl1, yl2, ...], [yu1, yu2, ...]] where
// [yl1, yl2, ...] are y values of the lower line and
// [yu1, yu2, ...] are y values of the upper line.
@@ -4920,7 +4920,7 @@
//
// Can be of form [[yl1, yu1], [yl2, yu2], [yl3, yu3], ...] where
// there must be 3 or more arrays and there must be the same number of arrays
- // as there are data points in the series. In this case,
+ // as there are data points in the series. In this case,
// [yl1, yu1] specifies the lower and upper y values for the 1st
// data point and so on. The bands will inherit the x
// values from the series.
@@ -4951,18 +4951,18 @@
_max: null,
// prop: interval
// User specified interval above and below line for bands [default: '3%''].
- // Can be a value like 3 or a string like '3%'
+ // Can be a value like 3 or a string like '3%'
// or an upper/lower array like [1, -2] or ['2%', '-1.5%']
interval: '3%'
};
var lopts = {highlightMouseOver: options.highlightMouseOver, highlightMouseDown: options.highlightMouseDown, highlightColor: options.highlightColor};
-
+
delete (options.highlightMouseOver);
delete (options.highlightMouseDown);
delete (options.highlightColor);
-
+
$.extend(true, this.renderer, options);
this.renderer.options = options;
@@ -5009,15 +5009,15 @@
shadow_offset = 1.25 * Math.atan((this.lineWidth/2.5))/0.785398163;
}
}
-
+
var sopts = {lineJoin:this.lineJoin, lineCap:this.lineCap, fill:this.fill, isarc:false, angle:this.shadowAngle, offset:shadow_offset, alpha:this.shadowAlpha, depth:this.shadowDepth, lineWidth:this.lineWidth, linePattern:this.linePattern, closePath:this.fill};
this.renderer.shadowRenderer.init(sopts);
this._areaPoints = [];
this._boundingBox = [[],[]];
-
+
if (!this.isTrendline && this.fill || this.renderer.bands.show) {
// Group: Properties
- //
+ //
// prop: highlightMouseOver
// True to highlight area on a filled plot when moused over.
// This must be false to enable highlightMouseDown to highlight when clicking on an area on a filled plot.
@@ -5033,9 +5033,9 @@
if (lopts.highlightMouseDown && lopts.highlightMouseOver == null) {
lopts.highlightMouseOver = false;
}
-
+
$.extend(true, this, {highlightMouseOver: lopts.highlightMouseOver, highlightMouseDown: lopts.highlightMouseDown, highlightColor: lopts.highlightColor});
-
+
if (!this.highlightColor) {
var fc = (this.renderer.bands.show) ? this.renderer.bands.fillColor : this.fillColor;
this.highlightColor = $.jqplot.computeHighlightColors(fc);
@@ -5045,7 +5045,7 @@
this.highlighter.show = false;
}
}
-
+
if (!this.isTrendline && plot) {
plot.plugins.lineRenderer = {};
plot.postInitHooks.addOnce(postInit);
@@ -5285,7 +5285,7 @@
var smooth = this.renderer.smooth;
var dim = this.canvas.getWidth();
var xp = this._xaxis.series_p2u;
- var yp = this._yaxis.series_p2u;
+ var yp = this._yaxis.series_p2u;
var steps =null;
var _steps = null;
var dist = gd.length/dim;
@@ -5352,7 +5352,7 @@
else if (num == nmax) {
// Last point has 0 2nd derivative
gxx[1] = 3 / 2 * (yy[nmax] - yy[nmax - 1]) / dxx(xx[nmax], xx[nmax - 1]) - gxx[0] / 2;
- }
+ }
// Calc second derivative at points
ggxx[0] = -2 * (gxx[1] + 2 * gxx[0]) / dxx(xx[num], xx[num - 1]) + 6 * (yy[num] - yy[num - 1]) / Math.pow(dxx(xx[num], xx[num - 1]), 2);
@@ -5406,7 +5406,7 @@
var tension = this.renderer.tension;
var dim = this.canvas.getWidth();
var xp = this._xaxis.series_p2u;
- var yp = this._yaxis.series_p2u;
+ var yp = this._yaxis.series_p2u;
var steps =null;
var _steps = null;
var a = null;
@@ -5449,7 +5449,7 @@
a1 = stretch * tanh(temp) - stretch * tanh(shift) + min;
- // if have both left and right line segments, will use minimum tension.
+ // if have both left and right line segments, will use minimum tension.
if (i > 0) {
slope2 = Math.abs((gd[i][1] - gd[i-1][1]) / (gd[i][0] - gd[i-1][0]));
}
@@ -5468,23 +5468,23 @@
h1 = (1 + 2*s)*Math.pow((1-s),2);
h2 = s*Math.pow((1-s),2);
h3 = Math.pow(s,2)*(3-2*s);
- h4 = Math.pow(s,2)*(s-1);
-
- if (gd[i-1]) {
- TiX = a * (gd[i+1][0] - gd[i-1][0]);
+ h4 = Math.pow(s,2)*(s-1);
+
+ if (gd[i-1]) {
+ TiX = a * (gd[i+1][0] - gd[i-1][0]);
TiY = a * (gd[i+1][1] - gd[i-1][1]);
} else {
- TiX = a * (gd[i+1][0] - gd[i][0]);
- TiY = a * (gd[i+1][1] - gd[i][1]);
+ TiX = a * (gd[i+1][0] - gd[i][0]);
+ TiY = a * (gd[i+1][1] - gd[i][1]);
}
- if (gd[i+2]) {
- Ti1X = a * (gd[i+2][0] - gd[i][0]);
+ if (gd[i+2]) {
+ Ti1X = a * (gd[i+2][0] - gd[i][0]);
Ti1Y = a * (gd[i+2][1] - gd[i][1]);
} else {
- Ti1X = a * (gd[i+1][0] - gd[i][0]);
- Ti1Y = a * (gd[i+1][1] - gd[i][1]);
+ Ti1X = a * (gd[i+1][0] - gd[i][0]);
+ Ti1Y = a * (gd[i+1][1] - gd[i][1]);
}
-
+
pX = h1*gd[i][0] + h3*gd[i+1][0] + h2*TiX + h4*Ti1X;
pY = h1*gd[i][1] + h3*gd[i+1][1] + h2*TiY + h4*Ti1Y;
p = [pX, pY];
@@ -5498,7 +5498,7 @@
return [_smoothedData, _smoothedPlotData];
}
-
+
// setGridData
// converts the user data values to grid coordinates and stores them
// in the gridData array.
@@ -5540,7 +5540,7 @@
// else if there is a null, preserve it.
else if (pdata[i] != null && pdata[i][0] == null) {
this._prevGridData.push([null, yp.call(this._yaxis, pdata[i][1])]);
- }
+ }
else if (pdata[i] != null && pdata[i][0] != null && pdata[i][1] == null) {
this._prevGridData.push([xp.call(this._xaxis, pdata[i][0]), null]);
}
@@ -5596,7 +5596,7 @@
}
}
};
-
+
// makeGridData
// converts any arbitrary data values to grid coordinates and
// returns them. This method exists so that plugins can use a series'
@@ -5683,7 +5683,7 @@
}
return gd;
};
-
+
// called within scope of series.
$.jqplot.LineRenderer.prototype.draw = function(ctx, gd, options, plot) {
@@ -5700,7 +5700,7 @@
if (showLine) {
// if we fill, we'll have to add points to close the curve.
if (fill) {
- if (this.fillToZero) {
+ if (this.fillToZero) {
// have to break line up into shapes at axis crossings
var negativeColor = this.negativeColor;
if (! this.useNegativeColors) {
@@ -5708,14 +5708,14 @@
}
var isnegative = false;
var posfs = opts.fillStyle;
-
+
// if stoking line as well as filling, get a copy of line data.
if (fillAndStroke) {
var fasgd = gd.slice(0);
}
// if not stacked, fill down to axis
if (this.index == 0 || !this._stack) {
-
+
var tempgd = [];
var pd = (this.renderer.smooth) ? this.renderer._smoothedPlotData : this._plotData;
this._areaPoints = [];
@@ -5723,11 +5723,11 @@
var pxzero = this._xaxis.series_u2p(this.fillToValue);
opts.closePath = true;
-
+
if (this.fillAxis == 'y') {
tempgd.push([gd[0][0], pyzero]);
this._areaPoints.push([gd[0][0], pyzero]);
-
+
for (var i=0; i0; i--) {
@@ -5798,7 +5798,7 @@
/////////////////////////
// Not filled to zero
////////////////////////
- else {
+ else {
// if stoking line as well as filling, get a copy of line data.
if (fillAndStroke) {
var fasgd = gd.slice(0);
@@ -5810,9 +5810,9 @@
// IE doesn't return new length on unshift
gd.unshift([gd[0][0], gridymin]);
var len = gd.length;
- gd.push([gd[len - 1][0], gridymin]);
+ gd.push([gd[len - 1][0], gridymin]);
}
- // if stacked, fill to line below
+ // if stacked, fill to line below
else {
var prev = this._prevGridData;
for (var i=prev.length; i>0; i--) {
@@ -5820,12 +5820,12 @@
}
}
this._areaPoints = gd;
-
+
if (shadow) {
this.renderer.shadowRenderer.draw(ctx, gd, opts);
}
-
- this.renderer.shapeRenderer.draw(ctx, gd, opts);
+
+ this.renderer.shapeRenderer.draw(ctx, gd, opts);
}
if (fillAndStroke) {
var fasopts = $.extend(true, {}, opts, {fill:false, closePath:false});
@@ -5876,7 +5876,7 @@
if (shadow) {
this.renderer.shadowRenderer.draw(ctx, gd, opts);
}
-
+
this.renderer.shapeRenderer.draw(ctx, gd, opts);
}
}
@@ -5904,7 +5904,7 @@
}
this._boundingBox = [[xmin, ymax], [xmax, ymin]];
-
+
// now draw the markers
if (this.markerRenderer.show && !fill) {
if (this.renderer.smooth) {
@@ -5917,14 +5917,14 @@
}
}
}
-
+
ctx.restore();
- };
-
+ };
+
$.jqplot.LineRenderer.prototype.drawShadow = function(ctx, gd, options) {
// This is a no-op, shadows drawn with lines.
};
-
+
// called with scope of plot.
// make sure to not leave anything highlighted.
function postInit(target, data, options) {
@@ -5936,26 +5936,26 @@
}
}
}
- }
-
+ }
+
// called within context of plot
// create a canvas which we can draw on.
// insert it before the eventCanvas, so eventCanvas will still capture events.
function postPlotDraw() {
- // Memory Leaks patch
+ // Memory Leaks patch
if (this.plugins.lineRenderer && this.plugins.lineRenderer.highlightCanvas) {
this.plugins.lineRenderer.highlightCanvas.resetCanvas();
this.plugins.lineRenderer.highlightCanvas = null;
}
-
+
this.plugins.lineRenderer.highlightedSeriesIndex = null;
this.plugins.lineRenderer.highlightCanvas = new $.jqplot.GenericCanvas();
-
+
this.eventCanvas._elem.before(this.plugins.lineRenderer.highlightCanvas.createElement(this._gridPadding, 'jqplot-lineRenderer-highlight-canvas', this._plotDimensions, this));
this.plugins.lineRenderer.highlightCanvas.setContext();
this.eventCanvas._elem.bind('mouseleave', {plot:this}, function (ev) { unhighlight(ev.data.plot); });
- }
-
+ }
+
function highlight (plot, sidx, pidx, points) {
var s = plot.series[sidx];
var canvas = plot.plugins.lineRenderer.highlightCanvas;
@@ -5970,7 +5970,7 @@
s.renderer.shapeRenderer.draw(canvas._ctx, points, opts);
canvas = null;
}
-
+
function unhighlight (plot) {
var canvas = plot.plugins.lineRenderer.highlightCanvas;
canvas._ctx.clearRect(0,0, canvas._ctx.canvas.width, canvas._ctx.canvas.height);
@@ -5981,8 +5981,8 @@
plot.target.trigger('jqplotDataUnhighlight');
canvas = null;
}
-
-
+
+
function handleMove(ev, gridpos, datapos, neighbor, plot) {
if (neighbor) {
var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data];
@@ -6003,7 +6003,7 @@
unhighlight (plot);
}
}
-
+
function handleMouseDown(ev, gridpos, datapos, neighbor, plot) {
if (neighbor) {
var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data];
@@ -6020,14 +6020,14 @@
unhighlight (plot);
}
}
-
+
function handleMouseUp(ev, gridpos, datapos, neighbor, plot) {
var idx = plot.plugins.lineRenderer.highlightedSeriesIndex;
if (idx != null && plot.series[idx].highlightMouseDown) {
unhighlight(plot);
}
}
-
+
function handleClick(ev, gridpos, datapos, neighbor, plot) {
if (neighbor) {
var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data];
@@ -6038,7 +6038,7 @@
plot.target.trigger(evt, ins);
}
}
-
+
function handleRightClick(ev, gridpos, datapos, neighbor, plot) {
if (neighbor) {
var ins = [neighbor.seriesIndex, neighbor.pointIndex, neighbor.data];
@@ -6053,20 +6053,20 @@
plot.target.trigger(evt, ins);
}
}
-
-
+
+
// class: $.jqplot.LinearAxisRenderer
// The default jqPlot axis renderer, creating a numeric axis.
$.jqplot.LinearAxisRenderer = function() {
};
-
+
// called with scope of axis object.
$.jqplot.LinearAxisRenderer.prototype.init = function(options){
// prop: breakPoints
// EXPERIMENTAL!! Use at your own risk!
// Works only with linear axes and the default tick renderer.
// Array of [start, stop] points to create a broken axis.
- // Broken axes have a "jump" in them, which is an immediate
+ // Broken axes have a "jump" in them, which is an immediate
// transition from a smaller value to a larger value.
// Currently, axis ticks MUST be manually assigned if using breakPoints
// by using the axis ticks array option.
@@ -6102,7 +6102,7 @@
// are set: autoscale, min, max, numberTicks or tickInterval.
this.forceTickAt100 = false;
// prop: tickInset
- // Controls the amount to inset the first and last ticks from
+ // Controls the amount to inset the first and last ticks from
// the edges of the grid, in multiples of the tick interval.
// 0 is no inset, 0.5 is one half a tick interval, 1 is a full
// tick interval, etc.
@@ -6133,7 +6133,7 @@
}
this.resetDataBounds();
};
-
+
// called with scope of axis
$.jqplot.LinearAxisRenderer.prototype.draw = function(ctx, plot) {
if (this.show) {
@@ -6153,19 +6153,19 @@
this._elem.emptyForce();
this._elem = null;
}
-
+
this._elem = $(document.createElement('div'));
this._elem.addClass('jqplot-axis jqplot-'+this.name);
this._elem.css('position', 'absolute');
-
+
if (this.name == 'xaxis' || this.name == 'x2axis') {
this._elem.width(this._plotDimensions.width);
}
else {
this._elem.height(this._plotDimensions.height);
}
-
+
// create a _label object.
this.labelOptions.axis = this.name;
this._label = new this.labelRenderer(this.labelOptions);
@@ -6174,7 +6174,7 @@
elem.appendTo(this._elem);
elem = null;
}
-
+
var t = this._ticks;
var tick;
for (var i=0; i= 0 && (s.fillToZero || dp > 0.1)) {
@@ -6509,7 +6509,7 @@
forceZeroLine = false;
}
}
-
+
// if not a bar and not filling, only change existing state
// if it doesn't make sense
else if (vmin < 0) {
@@ -6517,7 +6517,7 @@
}
}
}
-
+
// check if we need make axis min at 0.
if (forceMinZero) {
// compute number of ticks
@@ -6534,7 +6534,7 @@
this.tickInterval = Math.ceil(ti/temp) * temp;
this.max = this.tickInterval * (this.numberTicks - 1);
}
-
+
// check if we need to make sure there is a tick at 0.
else if (forceZeroLine) {
// compute number of ticks
@@ -6547,9 +6547,9 @@
this.max = this.tickInterval * ntmax;
this.min = -this.tickInterval * ntmin;
}
-
+
// if nothing else, do autoscaling which will try to line up ticks across axes.
- else {
+ else {
if (this.numberTicks == null){
if (this.tickInterval) {
this.numberTicks = 3 + Math.ceil(range / this.tickInterval);
@@ -6558,7 +6558,7 @@
this.numberTicks = 2 + Math.ceil((dim-(this.tickSpacing-1))/this.tickSpacing);
}
}
-
+
if (this.tickInterval == null) {
// get a tick interval
ti = range/(this.numberTicks - 1);
@@ -6574,13 +6574,13 @@
else {
temp = 1 / this.tickInterval;
}
-
+
// try to compute a nicer, more even tick interval
// temp = Math.pow(10, Math.floor(Math.log(ti)/Math.LN10));
// this.tickInterval = Math.ceil(ti/temp) * temp;
rrange = this.tickInterval * (this.numberTicks - 1);
margin = (rrange - range)/2;
-
+
if (this.min == null) {
this.min = Math.floor(temp*(min-margin))/temp;
}
@@ -6608,7 +6608,7 @@
this._autoFormatString = fstr;
}
-
+
// Use the default algorithm which pads each axis to make the chart
// centered nicely on the grid.
else {
@@ -6616,7 +6616,7 @@
rmin = (this.min != null) ? this.min : min - range*(this.padMin - 1);
rmax = (this.max != null) ? this.max : max + range*(this.padMax - 1);
range = rmax - rmin;
-
+
if (this.numberTicks == null){
// if tickInterval is specified by user, we will ignore computed maximum.
// max will be equal or greater to fit even # of ticks.
@@ -6630,14 +6630,14 @@
this.numberTicks = 2;
}
}
-
+
if (this.tickInterval == null) {
this.tickInterval = range / (this.numberTicks-1);
}
-
+
if (this.max == null) {
rmax = rmin + this.tickInterval*(this.numberTicks - 1);
- }
+ }
if (this.min == null) {
rmin = rmax - this.tickInterval*(this.numberTicks - 1);
}
@@ -6664,14 +6664,14 @@
this.min = rmin;
this.max = rmax;
}
-
+
if (this.renderer.constructor == $.jqplot.LinearAxisRenderer && this._autoFormatString == '') {
// fix for misleading tick display with small range and low precision.
range = this.max - this.min;
// figure out precision
var temptick = new this.tickRenderer(this.tickOptions);
// use the tick formatString or, the default.
- var fs = temptick.formatString || $.jqplot.config.defaultTickFormatString;
+ var fs = temptick.formatString || $.jqplot.config.defaultTickFormatString;
var fs = fs.match($.jqplot.sprintf.regex)[0];
var precision = 0;
if (fs) {
@@ -6738,9 +6738,9 @@
}
}
}
-
+
}
-
+
if (this._overrideFormatString && this._autoFormatString != '') {
this.tickOptions = this.tickOptions || {};
this.tickOptions.formatString = this._autoFormatString;
@@ -6774,9 +6774,9 @@
ticks = null;
};
-
+
// Used to reset just the values of the ticks and then repack, which will
- // recalculate the positioning functions. It is assuemd that the
+ // recalculate the positioning functions. It is assuemd that the
// number of ticks is the same and the values of the new array are at the
// proper interval.
// This method needs to be called with the scope of an axis object, like:
@@ -6800,40 +6800,40 @@
}
// Not implemented yet.
// else if ($.isPlainObject(opts)) {
- //
+ //
// }
};
-
+
// called with scope of axis
$.jqplot.LinearAxisRenderer.prototype.pack = function(pos, offsets) {
// Add defaults for repacking from resetTickValues function.
pos = pos || {};
offsets = offsets || this._offsets;
-
+
var ticks = this._ticks;
var max = this.max;
var min = this.min;
var offmax = offsets.max;
var offmin = offsets.min;
var lshow = (this._label == null) ? false : this._label.show;
-
+
for (var p in pos) {
this._elem.css(p, pos[p]);
}
-
+
this._offsets = offsets;
// pixellength will be + for x axes and - for y axes becasue pixels always measured from top left.
var pixellength = offmax - offmin;
var unitlength = max - min;
-
+
// point to unit and unit to point conversions references to Plot DOM element top left corner.
if (this.breakPoints) {
unitlength = unitlength - this.breakPoints[1] + this.breakPoints[0];
-
+
this.p2u = function(p){
return (p - offmin) * unitlength / pixellength + min;
};
-
+
this.u2p = function(u){
if (u > this.breakPoints[0] && u < this.breakPoints[1]){
u = this.breakPoints[0];
@@ -6845,7 +6845,7 @@
return (u - this.breakPoints[1] + this.breakPoints[0] - min) * pixellength / unitlength + offmin;
}
};
-
+
if (this.name.charAt(0) == 'x'){
this.series_u2p = function(u){
if (u > this.breakPoints[0] && u < this.breakPoints[1]){
@@ -6862,7 +6862,7 @@
return p * unitlength / pixellength + min;
};
}
-
+
else {
this.series_u2p = function(u){
if (u > this.breakPoints[0] && u < this.breakPoints[1]){
@@ -6884,11 +6884,11 @@
this.p2u = function(p){
return (p - offmin) * unitlength / pixellength + min;
};
-
+
this.u2p = function(u){
return (u - min) * pixellength / unitlength + offmin;
};
-
+
if (this.name == 'xaxis' || this.name == 'x2axis'){
this.series_u2p = function(u){
return (u - min) * pixellength / unitlength;
@@ -6897,7 +6897,7 @@
return p * unitlength / pixellength + min;
};
}
-
+
else {
this.series_u2p = function(u){
return (u - max) * pixellength / unitlength;
@@ -6907,14 +6907,14 @@
};
}
}
-
+
if (this.show) {
if (this.name == 'xaxis' || this.name == 'x2axis') {
for (var i=0; i 5) {
interval = 10 * magnitude;
@@ -7176,7 +7176,7 @@
}
}
// for large ranges (whole integers), allow intervals like 3, 4 or powers of these.
- // this helps a lot with poor choices for number of ticks.
+ // this helps a lot with poor choices for number of ticks.
else {
if (residual > 5) {
interval = 10 * magnitude;
@@ -7233,9 +7233,9 @@
}
else {
fact = 5;
- }
+ }
- return fact*magnitude;
+ return fact*magnitude;
}
function bestLinearComponents(range, scalefact) {
@@ -7274,7 +7274,7 @@
// }
else {
fact = 5;
- }
+ }
interval = fact * magnitude;
@@ -7308,7 +7308,7 @@
var ss = bestLinearInterval(axis_max - axis_min, scalefact);
var gsf = $.jqplot.getSignificantFigures;
-
+
if (numberTicks == null) {
// Figure out the axis min, max and number of ticks
@@ -7397,7 +7397,7 @@
// The default jqPlot marker renderer, rendering the points on the line.
$.jqplot.MarkerRenderer = function(options){
// Group: Properties
-
+
// prop: show
// wether or not to show the marker.
this.show = true;
@@ -7434,10 +7434,10 @@
// prop: shapeRenderer
// Renderer that will draw the marker.
this.shapeRenderer = new $.jqplot.ShapeRenderer();
-
+
$.extend(true, this, options);
};
-
+
$.jqplot.MarkerRenderer.prototype.init = function(options) {
$.extend(true, this, options);
var sdopt = {angle:this.shadowAngle, offset:this.shadowOffset, alpha:this.shadowAlpha, lineWidth:this.lineWidth, depth:this.shadowDepth, closePath:true};
@@ -7449,7 +7449,7 @@
sdopt.closePath = false;
}
this.shadowRenderer.init(sdopt);
-
+
var shopt = {fill:false, isarc:false, strokeStyle:this.color, fillStyle:this.color, lineWidth:this.lineWidth, closePath:true};
if (this.style.indexOf('filled') != -1) {
shopt.fill = true;
@@ -7460,7 +7460,7 @@
}
this.shapeRenderer.init(shopt);
};
-
+
$.jqplot.MarkerRenderer.prototype.drawDiamond = function(x, y, ctx, fill, options) {
var stretch = 1.2;
var dx = this.size/2/stretch;
@@ -7471,7 +7471,7 @@
}
this.shapeRenderer.draw(ctx, points, options);
};
-
+
$.jqplot.MarkerRenderer.prototype.drawPlus = function(x, y, ctx, fill, options) {
var stretch = 1.0;
var dx = this.size/2*stretch;
@@ -7486,7 +7486,7 @@
this.shapeRenderer.draw(ctx, points1, opts);
this.shapeRenderer.draw(ctx, points2, opts);
};
-
+
$.jqplot.MarkerRenderer.prototype.drawX = function(x, y, ctx, fill, options) {
var stretch = 1.0;
var dx = this.size/2*stretch;
@@ -7501,7 +7501,7 @@
this.shapeRenderer.draw(ctx, points1, opts);
this.shapeRenderer.draw(ctx, points2, opts);
};
-
+
$.jqplot.MarkerRenderer.prototype.drawDash = function(x, y, ctx, fill, options) {
var stretch = 1.0;
var dx = this.size/2*stretch;
@@ -7512,7 +7512,7 @@
}
this.shapeRenderer.draw(ctx, points, options);
};
-
+
$.jqplot.MarkerRenderer.prototype.drawLine = function(p1, p2, ctx, fill, options) {
var points = [p1, p2];
if (this.shadow) {
@@ -7520,7 +7520,7 @@
}
this.shapeRenderer.draw(ctx, points, options);
};
-
+
$.jqplot.MarkerRenderer.prototype.drawSquare = function(x, y, ctx, fill, options) {
var stretch = 1.0;
var dx = this.size/2/stretch;
@@ -7531,7 +7531,7 @@
}
this.shapeRenderer.draw(ctx, points, options);
};
-
+
$.jqplot.MarkerRenderer.prototype.drawCircle = function(x, y, ctx, fill, options) {
var radius = this.size/2;
var end = 2*Math.PI;
@@ -7541,7 +7541,7 @@
}
this.shapeRenderer.draw(ctx, points, options);
};
-
+
$.jqplot.MarkerRenderer.prototype.draw = function(x, y, ctx, options) {
options = options || {};
// hack here b/c shape renderer uses canvas based color style options
@@ -7590,12 +7590,12 @@
}
}
};
-
+
// class: $.jqplot.shadowRenderer
// The default jqPlot shadow renderer, rendering shadows behind shapes.
- $.jqplot.ShadowRenderer = function(options){
+ $.jqplot.ShadowRenderer = function(options){
// Group: Properties
-
+
// prop: angle
// Angle of the shadow in degrees. Measured counter-clockwise from the x axis.
this.angle = 45;
@@ -7627,14 +7627,14 @@
// prop: isarc
// wether the shadow is an arc or not.
this.isarc = false;
-
+
$.extend(true, this, options);
};
-
+
$.jqplot.ShadowRenderer.prototype.init = function(options) {
$.extend(true, this, options);
};
-
+
// function: draw
// draws an transparent black (i.e. gray) shadow.
//
@@ -7661,7 +7661,7 @@
ctx.translate(Math.cos(this.angle*Math.PI/180)*offset, Math.sin(this.angle*Math.PI/180)*offset);
ctxPattern.beginPath();
if (isarc) {
- ctx.arc(points[0], points[1], points[2], points[3], points[4], true);
+ ctx.arc(points[0], points[1], points[2], points[3], points[4], true);
}
else if (fillRect) {
if (fillRect) {
@@ -7685,7 +7685,7 @@
move = true;
}
}
-
+
}
if (closePath) {
ctxPattern.closePath();
@@ -7699,19 +7699,19 @@
}
ctx.restore();
};
-
+
// class: $.jqplot.shapeRenderer
// The default jqPlot shape renderer. Given a set of points will
// plot them and either stroke a line (fill = false) or fill them (fill = true).
// If a filled shape is desired, closePath = true must also be set to close
// the shape.
$.jqplot.ShapeRenderer = function(options){
-
+
this.lineWidth = 1.5;
// prop: linePattern
// line pattern 'dashed', 'dotted', 'solid', some combination
- // of '-' and '.' characters such as '.-.' or a numerical array like
- // [draw, skip, draw, skip, ...] such as [1, 10] to draw a dotted line,
+ // of '-' and '.' characters such as '.-.' or a numerical array like
+ // [draw, skip, draw, skip, ...] such as [1, 10] to draw a dotted line,
// [1, 10, 20, 10] to draw a dot-dash line, and so on.
this.linePattern = 'solid';
// prop: lineJoin
@@ -7743,20 +7743,20 @@
this.strokeStyle = '#999999';
// prop: fillStyle
// css color spec for the fill style.
- this.fillStyle = '#999999';
-
+ this.fillStyle = '#999999';
+
$.extend(true, this, options);
};
-
+
$.jqplot.ShapeRenderer.prototype.init = function(options) {
$.extend(true, this, options);
};
-
+
// function: draw
// draws the shape.
//
// ctx - canvas drawing context
- // points - array of points for shapes or
+ // points - array of points for shapes or
// [x, y, width, height] for rectangles or
// [x, y, radius, start angle (rad), end angle (rad)] for circles and arcs.
$.jqplot.ShapeRenderer.prototype.draw = function(ctx, points, options) {
@@ -7777,7 +7777,7 @@
ctx.fillStyle = opts.fillStyle || this.fillStyle;
ctx.beginPath();
if (isarc) {
- ctx.arc(points[0], points[1], points[2], points[3], points[4], true);
+ ctx.arc(points[0], points[1], points[2], points[3], points[4], true);
if (closePath) {
ctx.closePath();
}
@@ -7834,17 +7834,17 @@
}
ctx.restore();
};
-
+
// class $.jqplot.TableLegendRenderer
// The default legend renderer for jqPlot.
$.jqplot.TableLegendRenderer = function(){
//
};
-
+
$.jqplot.TableLegendRenderer.prototype.init = function(options) {
$.extend(true, this, options);
};
-
+
$.jqplot.TableLegendRenderer.prototype.addrow = function (label, color, pad, reverse) {
var rs = (pad) ? this.rowSpacing+'px' : '0px';
var tr;
@@ -7903,7 +7903,7 @@
tr = null;
elem = null;
};
-
+
// called with scope of legend
$.jqplot.TableLegendRenderer.prototype.draw = function() {
if (this._elem) {
@@ -7946,9 +7946,9 @@
if (this.marginRight != null) {
ss['marginRight'] = this.marginRight;
}
-
-
- var pad = false,
+
+
+ var pad = false,
reverse = false,
s;
for (var i = 0; i< series.length; i++) {
@@ -7975,7 +7975,7 @@
if (item) {
this.renderer.addrow.call(this, item.label, item.color, pad);
pad = true;
- }
+ }
}
lt = null;
}
@@ -7983,9 +7983,9 @@
}
return this._elem;
};
-
+
$.jqplot.TableLegendRenderer.prototype.pack = function(offsets) {
- if (this.show) {
+ if (this.show) {
if (this.placement == 'insideGrid') {
switch (this.location) {
case 'nw':
@@ -8036,7 +8036,7 @@
this._elem.css({right:a, bottom:b});
break;
}
-
+
}
else if (this.placement == 'outside'){
switch (this.location) {
@@ -8124,7 +8124,7 @@
break;
}
}
- }
+ }
};
/**
@@ -8132,19 +8132,19 @@
* Theme Engine provides a programatic way to change some of the more
* common jqplot styling options such as fonts, colors and grid options.
* A theme engine instance is created with each plot. The theme engine
- * manages a collection of themes which can be modified, added to, or
+ * manages a collection of themes which can be modified, added to, or
* applied to the plot.
- *
+ *
* The themeEngine class is not instantiated directly.
* When a plot is initialized, the current plot options are scanned
* an a default theme named "Default" is created. This theme is
* used as the basis for other themes added to the theme engine and
* is always available.
- *
+ *
* A theme is a simple javascript object with styling parameters for
* various entities of the plot. A theme has the form:
- *
- *
+ *
+ *
* > {
* > _name:f "Default",
* > target: {
@@ -8245,17 +8245,17 @@
* > }
* > }
* > }
- *
+ *
* "seriesStyles" is a style object that will be applied to all series in the plot.
* It will forcibly override any styles applied on the individual series. "axesStyles" is
* a style object that will be applied to all axes in the plot. It will also forcibly
* override any styles on the individual axes.
- *
+ *
* The example shown above has series options for a line series. Options for other
* series types are shown below:
- *
+ *
* Bar Series:
- *
+ *
* > {
* > color: "#4bb2c5",
* > seriesColors: ["#4bb2c5", "#EAA228", "#c5b47f", "#579575", "#839557", "#958c12", "#953579", "#4b5de4", "#d8b83f", "#ff5800", "#0085cc", "#c747a3", "#cddf54", "#FBD178", "#26B4E3", "#bd70c7"],
@@ -8266,9 +8266,9 @@
* > barWidth: 15.09375,
* > highlightColors: ["rgb(129,201,214)", "rgb(129,201,214)", "rgb(129,201,214)", "rgb(129,201,214)", "rgb(129,201,214)", "rgb(129,201,214)", "rgb(129,201,214)", "rgb(129,201,214)"]
* > }
- *
+ *
* Pie Series:
- *
+ *
* > {
* > seriesColors: ["#4bb2c5", "#EAA228", "#c5b47f", "#579575", "#839557", "#958c12", "#953579", "#4b5de4", "#d8b83f", "#ff5800", "#0085cc", "#c747a3", "#cddf54", "#FBD178", "#26B4E3", "#bd70c7"],
* > padding: 20,
@@ -8279,9 +8279,9 @@
* > lineWidth: 2.5,
* > highlightColors: ["rgb(129,201,214)", "rgb(240,189,104)", "rgb(214,202,165)", "rgb(137,180,158)", "rgb(168,180,137)", "rgb(180,174,89)", "rgb(180,113,161)", "rgb(129,141,236)", "rgb(227,205,120)", "rgb(255,138,76)", "rgb(76,169,219)", "rgb(215,126,190)", "rgb(220,232,135)", "rgb(200,167,96)", "rgb(103,202,235)", "rgb(208,154,215)"]
* > }
- *
+ *
* Funnel Series:
- *
+ *
* > {
* > color: "#4bb2c5",
* > lineWidth: 2,
@@ -8296,27 +8296,27 @@
* > seriesColors: ["#4bb2c5", "#EAA228", "#c5b47f", "#579575", "#839557", "#958c12", "#953579", "#4b5de4", "#d8b83f", "#ff5800", "#0085cc", "#c747a3", "#cddf54", "#FBD178", "#26B4E3", "#bd70c7"],
* > highlightColors: ["rgb(147,208,220)", "rgb(242,199,126)", "rgb(220,210,178)", "rgb(154,191,172)", "rgb(180,191,154)", "rgb(191,186,112)", "rgb(191,133,174)", "rgb(147,157,238)", "rgb(231,212,139)", "rgb(255,154,102)", "rgb(102,181,224)", "rgb(221,144,199)", "rgb(225,235,152)", "rgb(200,167,96)", "rgb(124,210,238)", "rgb(215,169,221)"]
* > }
- *
+ *
*/
$.jqplot.ThemeEngine = function(){
// Group: Properties
//
// prop: themes
- // hash of themes managed by the theme engine.
+ // hash of themes managed by the theme engine.
// Indexed by theme name.
this.themes = {};
// prop: activeTheme
// Pointer to currently active theme
this.activeTheme=null;
-
+
};
-
+
// called with scope of plot
$.jqplot.ThemeEngine.prototype.init = function() {
// get the Default theme from the current plot settings.
var th = new $.jqplot.Theme({_name:'Default'});
var n, i, nn;
-
+
for (n in th.target) {
if (n == "textColor") {
th.target[n] = this.target.css('color');
@@ -8325,7 +8325,7 @@
th.target[n] = this.target.css(n);
}
}
-
+
if (this.title.show && this.title._elem) {
for (n in th.title) {
if (n == "textColor") {
@@ -8336,7 +8336,7 @@
}
}
}
-
+
for (n in th.grid) {
th.grid[n] = this.grid[n];
}
@@ -8354,7 +8354,7 @@
}
}
var s;
-
+
for (i=0; iObject with extended date parsing and formatting capabilities.
- * This library borrows many concepts and ideas from the Date Instance
+ * This library borrows many concepts and ideas from the Date Instance
* Methods by Ken Snyder along with some parts of Ken's actual code.
*
- *
jsDate takes a different approach by not extending the built-in
- * Date Object, improving date parsing, allowing for multiple formatting
+ *
jsDate takes a different approach by not extending the built-in
+ * Date Object, improving date parsing, allowing for multiple formatting
* syntaxes and multiple and more easily expandable localization.
- *
+ *
* @author Chris Leonello
* @date #date#
* @version #VERSION#
* @copyright (c) 2010 Chris Leonello
- * jsDate is currently available for use in all personal or commercial projects
- * under both the MIT and GPL version 2.0 licenses. This means that you can
+ * jsDate is currently available for use in all personal or commercial projects
+ * under both the MIT and GPL version 2.0 licenses. This means that you can
* choose the license that best suits your project and use it accordingly.
- *
+ *
*
Ken's origianl Date Instance Methods and copyright notice:
*
* Ken Snyder (ken d snyder at gmail dot com)
* 2008-09-10
- * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
+ * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
* Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)
*
- *
+ *
* @class
* @name jsDate
* @param {String | Number | Array | Date Object | Options Object} arguments Optional arguments, either a parsable date/time string,
* a JavaScript timestamp, an array of numbers of form [year, month, day, hours, minutes, seconds, milliseconds],
* a Date object, or an options object of form {syntax: "perl", date:some Date} where all options are optional.
*/
-
+
var jsDate = function () {
-
+
this.syntax = jsDate.config.syntax;
this._type = "jsDate";
this.proxy = new Date();
@@ -9384,7 +9384,7 @@
break;
}
};
-
+
/**
* @namespace Configuration options that will be used as defaults for all instances on the page.
* @property {String} defaultLocale The default locale to use [en].
@@ -9396,15 +9396,15 @@
syntax: 'perl',
defaultCentury: 1900
};
-
+
/**
* Add an arbitrary amount to the currently stored date
- *
- * @param {Number} number
+ *
+ * @param {Number} number
* @param {String} unit
- * @returns {jsDate}
+ * @returns {jsDate}
*/
-
+
jsDate.prototype.add = function(number, unit) {
var factor = multipliers[unit] || multipliers.day;
if (typeof factor == 'number') {
@@ -9414,13 +9414,13 @@
}
return this;
};
-
+
/**
* Create a new jqplot.date object with the same date
- *
+ *
* @returns {jsDate}
- */
-
+ */
+
jsDate.prototype.clone = function() {
return new jsDate(this.proxy.getTime());
};
@@ -9437,13 +9437,13 @@
/**
* Find the difference between this jsDate and another date.
- *
+ *
* @param {String| Number| Array| jsDate Object| Date Object} dateObj
* @param {String} unit
* @param {Boolean} allowDecimal
* @returns {Number} Number of units difference between dates.
*/
-
+
jsDate.prototype.diff = function(dateObj, unit, allowDecimal) {
// ensure we have a Date object
dateObj = new jsDate(dateObj);
@@ -9460,85 +9460,85 @@
var unitDiff = factor.diff(this.proxy, dateObj.proxy);
}
// if decimals are not allowed, round toward zero
- return (allowDecimal ? unitDiff : Math[unitDiff > 0 ? 'floor' : 'ceil'](unitDiff));
+ return (allowDecimal ? unitDiff : Math[unitDiff > 0 ? 'floor' : 'ceil'](unitDiff));
};
-
+
/**
* Get the abbreviated name of the current week day
- *
+ *
* @returns {String}
- */
-
+ */
+
jsDate.prototype.getAbbrDayName = function() {
return jsDate.regional[this.locale]["dayNamesShort"][this.proxy.getDay()];
};
-
+
/**
* Get the abbreviated name of the current month
- *
+ *
* @returns {String}
*/
-
+
jsDate.prototype.getAbbrMonthName = function() {
return jsDate.regional[this.locale]["monthNamesShort"][this.proxy.getMonth()];
};
-
+
/**
* Get UPPER CASE AM or PM for the current time
- *
+ *
* @returns {String}
*/
-
+
jsDate.prototype.getAMPM = function() {
return this.proxy.getHours() >= 12 ? 'PM' : 'AM';
};
-
+
/**
* Get lower case am or pm for the current time
- *
+ *
* @returns {String}
*/
-
+
jsDate.prototype.getAmPm = function() {
return this.proxy.getHours() >= 12 ? 'pm' : 'am';
};
-
+
/**
* Get the century (19 for 20th Century)
*
* @returns {Integer} Century (19 for 20th century).
*/
- jsDate.prototype.getCentury = function() {
+ jsDate.prototype.getCentury = function() {
return parseInt(this.proxy.getFullYear()/100, 10);
};
-
+
/**
* Implements Date functionality
*/
jsDate.prototype.getDate = function() {
return this.proxy.getDate();
};
-
+
/**
* Implements Date functionality
*/
jsDate.prototype.getDay = function() {
return this.proxy.getDay();
};
-
+
/**
* Get the Day of week 1 (Monday) thru 7 (Sunday)
- *
+ *
* @returns {Integer} Day of week 1 (Monday) thru 7 (Sunday)
*/
- jsDate.prototype.getDayOfWeek = function() {
- var dow = this.proxy.getDay();
- return dow===0?7:dow;
+ jsDate.prototype.getDayOfWeek = function() {
+ var dow = this.proxy.getDay();
+ return dow===0?7:dow;
};
-
+
/**
* Get the day of the year
- *
+ *
* @returns {Integer} 1 - 366, day of the year
*/
jsDate.prototype.getDayOfYear = function() {
@@ -9548,17 +9548,17 @@
d = null;
return parseInt(ms/60000/60/24, 10)+1;
};
-
+
/**
* Get the name of the current week day
- *
+ *
* @returns {String}
- */
-
+ */
+
jsDate.prototype.getDayName = function() {
return jsDate.regional[this.locale]["dayNames"][this.proxy.getDay()];
};
-
+
/**
* Get the week number of the given year, starting with the first Sunday as the first week
* @returns {Integer} Week number (13 for the 13th full week of the year).
@@ -9570,20 +9570,20 @@
var woy = parseInt((doy+rdow)/7, 10);
return woy;
};
-
+
/**
* Implements Date functionality
*/
jsDate.prototype.getFullYear = function() {
return this.proxy.getFullYear();
};
-
+
/**
* Get the GMT offset in hours and minutes (e.g. +06:30)
- *
+ *
* @returns {String}
*/
-
+
jsDate.prototype.getGmtOffset = function() {
// divide the minutes offset by 60
var hours = this.proxy.getTimezoneOffset() / 60;
@@ -9594,26 +9594,26 @@
// add the +/- to the padded number of hours to : to the padded minutes
return prefix + addZeros(Math.floor(hours), 2) + ':' + addZeros((hours % 1) * 60, 2);
};
-
+
/**
* Implements Date functionality
*/
jsDate.prototype.getHours = function() {
return this.proxy.getHours();
};
-
+
/**
* Get the current hour on a 12-hour scheme
- *
+ *
* @returns {Integer}
*/
-
+
jsDate.prototype.getHours12 = function() {
var hours = this.proxy.getHours();
return hours > 12 ? hours - 12 : (hours == 0 ? 12 : hours);
};
-
-
+
+
jsDate.prototype.getIsoWeek = function() {
var d = this.proxy;
var woy = d.getWeekOfYear();
@@ -9621,7 +9621,7 @@
// First week is 01 and not 00 as in the case of %U and %W,
// so we add 1 to the final result except if day 1 of the year
// is a Monday (then %W returns 01).
- // We also need to subtract 1 if the day 1 of the year is
+ // We also need to subtract 1 if the day 1 of the year is
// Friday-Sunday, so the resulting equation becomes:
var idow = woy + (dow1_1 > 4 || dow1_1 <= 1 ? 0 : 1);
if(idow == 53 && (new Date('' + d.getFullYear() + '/12/31')).getDay() < 4)
@@ -9636,99 +9636,99 @@
d = null;
return idow;
};
-
+
/**
* Implements Date functionality
*/
jsDate.prototype.getMilliseconds = function() {
return this.proxy.getMilliseconds();
};
-
+
/**
* Implements Date functionality
*/
jsDate.prototype.getMinutes = function() {
return this.proxy.getMinutes();
};
-
+
/**
* Implements Date functionality
*/
jsDate.prototype.getMonth = function() {
return this.proxy.getMonth();
};
-
+
/**
* Get the name of the current month
- *
+ *
* @returns {String}
*/
-
+
jsDate.prototype.getMonthName = function() {
return jsDate.regional[this.locale]["monthNames"][this.proxy.getMonth()];
};
-
+
/**
* Get the number of the current month, 1-12
- *
+ *
* @returns {Integer}
*/
-
+
jsDate.prototype.getMonthNumber = function() {
return this.proxy.getMonth() + 1;
};
-
+
/**
* Implements Date functionality
*/
jsDate.prototype.getSeconds = function() {
return this.proxy.getSeconds();
};
-
+
/**
* Return a proper two-digit year integer
- *
+ *
* @returns {Integer}
*/
-
+
jsDate.prototype.getShortYear = function() {
return this.proxy.getYear() % 100;
};
-
+
/**
* Implements Date functionality
*/
jsDate.prototype.getTime = function() {
return this.proxy.getTime();
};
-
+
/**
* Get the timezone abbreviation
*
* @returns {String} Abbreviation for the timezone
*/
jsDate.prototype.getTimezoneAbbr = function() {
- return this.proxy.toString().replace(/^.*\(([^)]+)\)$/, '$1');
+ return this.proxy.toString().replace(/^.*\(([^)]+)\)$/, '$1');
};
-
+
/**
* Get the browser-reported name for the current timezone (e.g. MDT, Mountain Daylight Time)
- *
+ *
* @returns {String}
*/
jsDate.prototype.getTimezoneName = function() {
var match = /(?:\((.+)\)$| ([A-Z]{3}) )/.exec(this.toString());
return match[1] || match[2] || 'GMT' + this.getGmtOffset();
- };
-
+ };
+
/**
* Implements Date functionality
*/
jsDate.prototype.getTimezoneOffset = function() {
return this.proxy.getTimezoneOffset();
};
-
-
+
+
/**
* Get the week number of the given year, starting with the first Monday as the first week
* @returns {Integer} Week number (13 for the 13th week of the year).
@@ -9739,40 +9739,40 @@
var woy = parseInt((doy+rdow)/7, 10);
return woy;
};
-
+
/**
* Get the current date as a Unix timestamp
- *
+ *
* @returns {Integer}
*/
-
+
jsDate.prototype.getUnix = function() {
return Math.round(this.proxy.getTime() / 1000, 0);
- };
-
+ };
+
/**
* Implements Date functionality
*/
jsDate.prototype.getYear = function() {
return this.proxy.getYear();
};
-
+
/**
* Return a date one day ahead (or any other unit)
- *
+ *
* @param {String} unit Optional, year | month | day | week | hour | minute | second | millisecond
* @returns {jsDate}
*/
-
+
jsDate.prototype.next = function(unit) {
unit = unit || 'day';
return this.clone().add(1, unit);
};
-
+
/**
* Set the jsDate instance to a new date.
*
- * @param {String | Number | Array | Date Object | jsDate Object | Options Object} arguments Optional arguments,
+ * @param {String | Number | Array | Date Object | jsDate Object | Options Object} arguments Optional arguments,
* either a parsable date/time string,
* a JavaScript timestamp, an array of numbers of form [year, month, day, hours, minutes, seconds, milliseconds],
* a Date object, jsDate Object or an options object of form {syntax: "perl", date:some Date} where all options are optional.
@@ -9811,129 +9811,129 @@
}
return this;
};
-
+
/**
* Sets the day of the month for a specified date according to local time.
- * @param {Integer} dayValue An integer from 1 to 31, representing the day of the month.
+ * @param {Integer} dayValue An integer from 1 to 31, representing the day of the month.
*/
jsDate.prototype.setDate = function(n) {
this.proxy.setDate(n);
return this;
};
-
+
/**
* Sets the full year for a specified date according to local time.
- * @param {Integer} yearValue The numeric value of the year, for example, 1995.
- * @param {Integer} monthValue Optional, between 0 and 11 representing the months January through December.
- * @param {Integer} dayValue Optional, between 1 and 31 representing the day of the month. If you specify the dayValue parameter, you must also specify the monthValue.
+ * @param {Integer} yearValue The numeric value of the year, for example, 1995.
+ * @param {Integer} monthValue Optional, between 0 and 11 representing the months January through December.
+ * @param {Integer} dayValue Optional, between 1 and 31 representing the day of the month. If you specify the dayValue parameter, you must also specify the monthValue.
*/
jsDate.prototype.setFullYear = function() {
this.proxy.setFullYear.apply(this.proxy, arguments);
return this;
};
-
+
/**
* Sets the hours for a specified date according to local time.
- *
- * @param {Integer} hoursValue An integer between 0 and 23, representing the hour.
- * @param {Integer} minutesValue Optional, An integer between 0 and 59, representing the minutes.
- * @param {Integer} secondsValue Optional, An integer between 0 and 59, representing the seconds.
- * If you specify the secondsValue parameter, you must also specify the minutesValue.
- * @param {Integer} msValue Optional, A number between 0 and 999, representing the milliseconds.
- * If you specify the msValue parameter, you must also specify the minutesValue and secondsValue.
+ *
+ * @param {Integer} hoursValue An integer between 0 and 23, representing the hour.
+ * @param {Integer} minutesValue Optional, An integer between 0 and 59, representing the minutes.
+ * @param {Integer} secondsValue Optional, An integer between 0 and 59, representing the seconds.
+ * If you specify the secondsValue parameter, you must also specify the minutesValue.
+ * @param {Integer} msValue Optional, A number between 0 and 999, representing the milliseconds.
+ * If you specify the msValue parameter, you must also specify the minutesValue and secondsValue.
*/
jsDate.prototype.setHours = function() {
this.proxy.setHours.apply(this.proxy, arguments);
return this;
};
-
+
/**
* Implements Date functionality
- */
+ */
jsDate.prototype.setMilliseconds = function(n) {
this.proxy.setMilliseconds(n);
return this;
};
-
+
/**
* Implements Date functionality
- */
+ */
jsDate.prototype.setMinutes = function() {
this.proxy.setMinutes.apply(this.proxy, arguments);
return this;
};
-
+
/**
* Implements Date functionality
- */
+ */
jsDate.prototype.setMonth = function() {
this.proxy.setMonth.apply(this.proxy, arguments);
return this;
};
-
+
/**
* Implements Date functionality
- */
+ */
jsDate.prototype.setSeconds = function() {
this.proxy.setSeconds.apply(this.proxy, arguments);
return this;
};
-
+
/**
* Implements Date functionality
- */
+ */
jsDate.prototype.setTime = function(n) {
this.proxy.setTime(n);
return this;
};
-
+
/**
* Implements Date functionality
- */
+ */
jsDate.prototype.setYear = function() {
this.proxy.setYear.apply(this.proxy, arguments);
return this;
};
-
+
/**
* Provide a formatted string representation of this date.
- *
- * @param {String} formatString A format string.
+ *
+ * @param {String} formatString A format string.
* See: {@link jsDate.formats}.
* @returns {String} Date String.
*/
-
+
jsDate.prototype.strftime = function(formatString) {
formatString = formatString || this.formatString || jsDate.regional[this.locale]['formatString'];
return jsDate.strftime(this, formatString, this.syntax);
};
-
+
/**
* Return a String representation of this jsDate object.
* @returns {String} Date string.
*/
-
+
jsDate.prototype.toString = function() {
return this.proxy.toString();
};
-
+
/**
* Convert the current date to an 8-digit integer (%Y%m%d)
- *
+ *
* @returns {Integer}
*/
-
+
jsDate.prototype.toYmdInt = function() {
return (this.proxy.getFullYear() * 10000) + (this.getMonthNumber() * 100) + this.proxy.getDate();
};
-
+
/**
* @namespace Holds localizations for month/day names.
*
jsDate attempts to detect locale when loaded and defaults to 'en'.
* If a localization is detected which is not available, jsDate defaults to 'en'.
* Additional localizations can be added after jsDate loads. After adding a localization,
* call the jsDate.regional.getLocale() method. Currently, en, fr and de are defined.
- *
+ *
*
Localizations must be an object and have the following properties defined: monthNames, monthNamesShort, dayNames, dayNamesShort and Localizations are added like:
After adding localizations, call jsDate.regional.getLocale(); to update the locale setting with the
* new localizations.
*/
-
+
jsDate.regional = {
'en': {
monthNames: ['January','February','March','April','May','June','July','August','September','October','November','December'],
@@ -9955,7 +9955,7 @@
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
formatString: '%Y-%m-%d %H:%M:%S'
},
-
+
'fr': {
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun','Jul','Aoû','Sep','Oct','Nov','Déc'],
@@ -9963,7 +9963,7 @@
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
formatString: '%Y-%m-%d %H:%M:%S'
},
-
+
'de': {
monthNames: ['Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],
monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],
@@ -9971,7 +9971,7 @@
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
formatString: '%Y-%m-%d %H:%M:%S'
},
-
+
'es': {
monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio', 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun', 'Jul','Ago','Sep','Oct','Nov','Dic'],
@@ -9979,7 +9979,7 @@
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
formatString: '%Y-%m-%d %H:%M:%S'
},
-
+
'ru': {
monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь','Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн','Июл','Авг','Сен','Окт','Ноя','Дек'],
@@ -9987,7 +9987,7 @@
dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
formatString: '%Y-%m-%d %H:%M:%S'
},
-
+
'ar': {
monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران','تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
@@ -9995,15 +9995,15 @@
dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
formatString: '%Y-%m-%d %H:%M:%S'
},
-
+
'pt': {
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'],
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'],
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
- formatString: '%Y-%m-%d %H:%M:%S'
+ formatString: '%Y-%m-%d %H:%M:%S'
},
-
+
'pt-BR': {
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho', 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'],
@@ -10011,35 +10011,35 @@
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
formatString: '%Y-%m-%d %H:%M:%S'
}
-
-
+
+
};
-
+
// Set english variants to 'en'
jsDate.regional['en-US'] = jsDate.regional['en-GB'] = jsDate.regional['en'];
-
+
/**
* Try to determine the users locale based on the lang attribute of the html page. Defaults to 'en'
* if it cannot figure out a locale of if the locale does not have a localization defined.
* @returns {String} locale
*/
-
+
jsDate.regional.getLocale = function () {
var l = jsDate.config.defaultLocale;
-
+
if ( document && document.getElementsByTagName('html') && document.getElementsByTagName('html')[0].lang ) {
l = document.getElementsByTagName('html')[0].lang;
if (!jsDate.regional.hasOwnProperty(l)) {
l = jsDate.config.defaultLocale;
}
}
-
+
return l;
};
-
+
// ms in day
var day = 24 * 60 * 60 * 1000;
-
+
// padd a number with zeros
var addZeros = function(num, digits) {
num = String(num);
@@ -10096,7 +10096,7 @@
diff: function(d1, d2) {
return multipliers.month.diff(d1, d2) / 12;
}
- }
+ }
};
//
// Alias each multiplier with an 's' to allow 'year' and 'years' for example.
@@ -10107,7 +10107,7 @@
multipliers[unit + 's'] = multipliers[unit];
}
}
-
+
//
// take a jsDate instance and a format code and return the formatted value.
// This is a somewhat modified version of Ken Snyder's method.
@@ -10124,9 +10124,9 @@
nbr = addZeros(nbr, getter[1]);
}
return nbr;
- }
+ }
};
-
+
/**
* @static
* Static function for convert a date to a string according to a given format. Also acts as namespace for strftime format codes.
@@ -10135,8 +10135,8 @@
* var formattedDate = jsDate.strftime('Feb 8, 2006 8:48:32', '%Y-%m-%d %H:%M:%S');
*
* @param {String | Number | Array | jsDate Object | Date Object} date A parsable date string, JavaScript time stamp, Array of form [year, month, day, hours, minutes, seconds, milliseconds], jsDate Object or Date object.
- * @param {String} formatString String with embedded date formatting codes.
- * See: {@link jsDate.formats}.
+ * @param {String} formatString String with embedded date formatting codes.
+ * See: {@link jsDate.formats}.
* @param {String} syntax Optional syntax to use [default perl].
* @param {String} locale Optional locale to use.
* @returns {String} Formatted representation of the date.
@@ -10147,7 +10147,7 @@
jsDate.strftime = function(d, formatString, syntax, locale) {
var syn = 'perl';
var loc = jsDate.regional.getLocale();
-
+
// check if syntax and locale are available or reversed
if (syntax && jsDate.formats.hasOwnProperty(syntax)) {
syn = syntax;
@@ -10155,14 +10155,14 @@
else if (syntax && jsDate.regional.hasOwnProperty(syntax)) {
loc = syntax;
}
-
+
if (locale && jsDate.formats.hasOwnProperty(locale)) {
syn = locale;
}
else if (locale && jsDate.regional.hasOwnProperty(locale)) {
loc = locale;
}
-
+
if (get_type(d) != "[object Object]" || d._type != "jsDate") {
d = new jsDate(d);
d.locale = loc;
@@ -10171,8 +10171,8 @@
formatString = d.formatString || jsDate.regional[loc]['formatString'];
}
// default the format string to year-month-day
- var source = formatString || '%Y-%m-%d',
- result = '',
+ var source = formatString || '%Y-%m-%d',
+ result = '',
match;
// replace each format code
while (source.length > 0) {
@@ -10187,13 +10187,13 @@
}
return result;
};
-
+
/**
* @namespace
- * Namespace to hold format codes and format shortcuts. "perl" and "php" format codes
+ * Namespace to hold format codes and format shortcuts. "perl" and "php" format codes
* and shortcuts are defined by default. Additional codes and shortcuts can be
* added like:
- *
+ *
*
Additionally, ISO and SQL shortcuts are defined and can be accesses via:
* jsDate.formats.ISO and jsDate.formats.SQL
*/
-
+
jsDate.formats = {
ISO:'%Y-%m-%dT%H:%M:%S.%N%G',
SQL:'%Y-%m-%d %H:%M:%S'
};
-
+
/**
* Perl format codes and shortcuts for strftime.
- *
- * A hash (object) of codes where each code must be an array where the first member is
+ *
+ * A hash (object) of codes where each code must be an array where the first member is
* the name of a Date.prototype or jsDate.prototype function to call
* and optionally a second member indicating the number to pass to addZeros()
- *
+ *
*
The following format codes are defined:
- *
+ *
*
* Code Result Description
- * == Years ==
+ * == Years ==
* %Y 2008 Four-digit year
* %y 08 Two-digit year
- *
- * == Months ==
+ *
+ * == Months ==
* %m 09 Two-digit month
* %#m 9 One or two-digit month
* %B September Full month name
* %b Sep Abbreviated month name
- *
- * == Days ==
+ *
+ * == Days ==
* %d 05 Two-digit day of month
* %#d 5 One or two-digit day of month
* %e 5 One or two-digit day of month
* %A Sunday Full name of the day of the week
* %a Sun Abbreviated name of the day of the week
* %w 0 Number of the day of the week (0 = Sunday, 6 = Saturday)
- *
- * == Hours ==
+ *
+ * == Hours ==
* %H 23 Hours in 24-hour format (two digits)
* %#H 3 Hours in 24-hour integer format (one or two digits)
* %I 11 Hours in 12-hour format (two digits)
* %#I 3 Hours in 12-hour integer format (one or two digits)
* %p PM AM or PM
- *
- * == Minutes ==
+ *
+ * == Minutes ==
* %M 09 Minutes (two digits)
* %#M 9 Minutes (one or two digits)
- *
- * == Seconds ==
+ *
+ * == Seconds ==
* %S 02 Seconds (two digits)
* %#S 2 Seconds (one or two digits)
* %s 1206567625723 Unix timestamp (Seconds past 1970-01-01 00:00:00)
- *
- * == Milliseconds ==
+ *
+ * == Milliseconds ==
* %N 008 Milliseconds (three digits)
* %#N 8 Milliseconds (one to three digits)
- *
- * == Timezone ==
+ *
+ * == Timezone ==
* %O 360 difference in minutes between local time and GMT
* %Z Mountain Standard Time Name of timezone as reported by browser
* %G 06:00 Hours and minutes between GMT
- *
- * == Shortcuts ==
+ *
+ * == Shortcuts ==
* %F 2008-03-26 %Y-%m-%d
* %T 05:06:30 %H:%M:%S
* %X 05:06:30 %H:%M:%S
@@ -10281,29 +10281,29 @@
* %v 3-Sep-2008 %e-%b-%Y
* %R 15:31 %H:%M
* %r 03:31:00 PM %I:%M:%S %p
- *
- * == Characters ==
+ *
+ * == Characters ==
* %n \n Newline
* %t \t Tab
* %% % Percent Symbol
*
- *
+ *
*
Formatting shortcuts that will be translated into their longer version.
* Be sure that format shortcuts do not refer to themselves: this will cause an infinite loop.
- *
+ *
*
Format codes and format shortcuts can be redefined after the jsDate
* module is imported.
- *
+ *
*
Note that if you redefine the whole hash (object), you must supply a "matcher"
* regex for the parser. The default matcher is:
- *
+ *
* /()%(#?(%|[a-z]))/i
- *
+ *
*
which corresponds to the Perl syntax used by default.
- *
+ *
*
By customizing the matcher and format codes, nearly any strftime functionality is possible.
*/
-
+
jsDate.formats.perl = {
codes: {
//
@@ -10347,9 +10347,9 @@
// timezone
O: 'TimezoneOffset',
Z: 'TimezoneName',
- G: 'GmtOffset'
+ G: 'GmtOffset'
},
-
+
shortcuts: {
// date
F: '%Y-%m-%d',
@@ -10371,19 +10371,19 @@
'%': '%'
}
};
-
+
/**
* PHP format codes and shortcuts for strftime.
- *
- * A hash (object) of codes where each code must be an array where the first member is
+ *
+ * A hash (object) of codes where each code must be an array where the first member is
* the name of a Date.prototype or jsDate.prototype function to call
* and optionally a second member indicating the number to pass to addZeros()
- *
+ *
*
The following format codes are defined:
- *
+ *
*
* Code Result Description
- * === Days ===
+ * === Days ===
* %a Sun through Sat An abbreviated textual representation of the day
* %A Sunday - Saturday A full textual representation of the day
* %d 01 to 31 Two-digit day of the month (with leading zeros)
@@ -10391,25 +10391,25 @@
* %j 001 to 366 Day of the year, 3 digits with leading zeros
* %u 1 - 7 (Mon - Sun) ISO-8601 numeric representation of the day of the week
* %w 0 - 6 (Sun - Sat) Numeric representation of the day of the week
- *
- * === Week ===
+ *
+ * === Week ===
* %U 13 Full Week number, starting with the first Sunday as the first week
- * %V 01 through 53 ISO-8601:1988 week number, starting with the first week of the year
+ * %V 01 through 53 ISO-8601:1988 week number, starting with the first week of the year
* with at least 4 weekdays, with Monday being the start of the week
- * %W 46 A numeric representation of the week of the year,
+ * %W 46 A numeric representation of the week of the year,
* starting with the first Monday as the first week
- * === Month ===
+ * === Month ===
* %b Jan through Dec Abbreviated month name, based on the locale
* %B January - December Full month name, based on the locale
* %h Jan through Dec Abbreviated month name, based on the locale (an alias of %b)
* %m 01 - 12 (Jan - Dec) Two digit representation of the month
- *
- * === Year ===
+ *
+ * === Year ===
* %C 19 Two digit century (year/100, truncated to an integer)
* %y 09 for 2009 Two digit year
* %Y 2038 Four digit year
- *
- * === Time ===
+ *
+ * === Time ===
* %H 00 through 23 Two digit representation of the hour in 24-hour format
* %I 01 through 12 Two digit representation of the hour in 12-hour format
* %l 1 through 12 Hour in 12-hour format, with a space preceeding single digits
@@ -10423,20 +10423,20 @@
* %X 03:59:16 Preferred time representation based on locale, without the date
* %z -0500 or EST Either the time zone offset from UTC or the abbreviation
* %Z -0500 or EST The time zone offset/abbreviation option NOT given by %z
- *
- * === Time and Date ===
+ *
+ * === Time and Date ===
* %D 02/05/09 Same as %m/%d/%y
* %F 2009-02-05 Same as %Y-%m-%d (commonly used in database datestamps)
* %s 305815200 Unix Epoch Time timestamp (same as the time() function)
* %x 02/05/09 Preferred date representation, without the time
- *
- * === Miscellaneous ===
+ *
+ * === Miscellaneous ===
* %n --- A newline character (\n)
* %t --- A Tab character (\t)
* %% --- A literal percentage character (%)
*
*/
-
+
jsDate.formats.php = {
codes: {
//
@@ -10480,7 +10480,7 @@
z: 'GmtOffset',
Z: 'TimezoneAbbr'
},
-
+
shortcuts: {
D: '%m/%d/%y',
F: '%Y-%m-%d',
@@ -10493,7 +10493,7 @@
n: '\n',
'%': '%'
}
- };
+ };
//
// Conceptually, the logic implemented here is similar to Ken Snyder's Date Instance Methods.
// I use his idea of a set of parsers which can be regular expressions or functions,
@@ -10516,87 +10516,87 @@
if (typeof date == 'number') {
return new Date(date);
}
-
+
// Before passing strings into Date.parse(), have to normalize them for certain conditions.
- // If strings are not formatted staccording to the EcmaScript spec, results from Date parse will be implementation dependent.
- //
- // For example:
- // * FF and Opera assume 2 digit dates are pre y2k, Chome assumes <50 is pre y2k, 50+ is 21st century.
+ // If strings are not formatted staccording to the EcmaScript spec, results from Date parse will be implementation dependent.
+ //
+ // For example:
+ // * FF and Opera assume 2 digit dates are pre y2k, Chome assumes <50 is pre y2k, 50+ is 21st century.
// * Chrome will correctly parse '1984-1-25' into localtime, FF and Opera will not parse.
// * Both FF, Chrome and Opera will parse '1984/1/25' into localtime.
-
+
// remove leading and trailing spaces
var parsable = String(date).replace(/^\s*(.+)\s*$/g, '$1');
-
+
// replace dahses (-) with slashes (/) in dates like n[nnn]/n[n]/n[nnn]
parsable = parsable.replace(/^([0-9]{1,4})-([0-9]{1,2})-([0-9]{1,4})/, "$1/$2/$3");
-
+
/////////
// Need to check for '15-Dec-09' also.
// FF will not parse, but Chrome will.
// Chrome will set date to 2009 as well.
/////////
-
+
// first check for 'dd-mmm-yyyy' or 'dd/mmm/yyyy' like '15-Dec-2010'
parsable = parsable.replace(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{4})/i, "$1 $2 $3");
-
+
// Now check for 'dd-mmm-yy' or 'dd/mmm/yy' and normalize years to default century.
var match = parsable.match(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{2})\D*/i);
if (match && match.length > 3) {
var m3 = parseFloat(match[3]);
var ny = jsDate.config.defaultCentury + m3;
ny = String(ny);
-
+
// now replace 2 digit year with 4 digit year
parsable = parsable.replace(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{2})\D*/i, match[1] +' '+ match[2] +' '+ ny);
-
+
}
-
+
// Check for '1/19/70 8:14PM'
// where starts with mm/dd/yy or yy/mm/dd and have something after
// Check if 1st postiion is greater than 31, assume it is year.
// Assme all 2 digit years are 1900's.
// Finally, change them into US style mm/dd/yyyy representations.
match = parsable.match(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})[^0-9]/);
-
+
function h1(parsable, match) {
var m1 = parseFloat(match[1]);
var m2 = parseFloat(match[2]);
var m3 = parseFloat(match[3]);
var cent = jsDate.config.defaultCentury;
var ny, nd, nm, str;
-
+
if (m1 > 31) { // first number is a year
nd = m3;
nm = m2;
ny = cent + m1;
}
-
+
else { // last number is the year
nd = m2;
nm = m1;
ny = cent + m3;
}
-
+
str = nm+'/'+nd+'/'+ny;
-
+
// now replace 2 digit year with 4 digit year
return parsable.replace(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})/, str);
-
+
}
-
+
if (match && match.length > 3) {
parsable = h1(parsable, match);
}
-
+
// Now check for '1/19/70' with nothing after and do as above
var match = parsable.match(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})$/);
-
+
if (match && match.length > 3) {
parsable = h1(parsable, match);
}
-
-
+
+
var i = 0;
var length = jsDate.matchers.length;
var pattern,
@@ -10621,7 +10621,7 @@
}
return NaN;
};
-
+
/**
* @static
@@ -10632,7 +10632,7 @@
*/
//
// handy utility method Borrowed right from Ken Snyder's Date Instance Mehtods.
- //
+ //
jsDate.daysInMonth = function(year, month) {
if (month == 2) {
return new Date(year, 1, 29).getDate() == 29 ? 29 : 28;
@@ -10651,7 +10651,7 @@
// convert yyyy-mm-dd to mm/dd/yyyy (ISO date to US date).
[/([1-9]\d{3})\s*-\s*(1[0-2]|0\d)\s*-\s*(3[01]|[0-2]\d)/, '$2/$3/$1'],
// Handle 12 hour or 24 hour time with milliseconds am/pm and optional date part.
- function(str) {
+ function(str) {
var match = str.match(/^(?:(.+)\s+)?([012]?\d)(?:\s*\:\s*(\d\d))?(?:\s*\:\s*(\d\d(\.\d*)?))?\s*(am|pm)?\s*$/i);
// opt. date hour opt. minute opt. second opt. msec opt. am or pm
if (match) {
@@ -10711,27 +10711,27 @@
nd = m3;
ny = cent + m1;
}
-
+
else { // last number is the year
nd = m1;
ny = cent + m3;
}
-
+
var nm = inArray(match[2], jsDate.regional[jsDate.regional.getLocale()]["monthNamesShort"]);
-
+
if (nm == -1) {
nm = inArray(match[2], jsDate.regional[jsDate.regional.getLocale()]["monthNames"]);
}
-
+
d.setFullYear(ny, nm, nd);
d.setHours(0,0,0,0);
return d;
}
-
+
else {
return str;
}
- }
+ }
];
//
@@ -10750,7 +10750,7 @@
return -1;
}
-
+
//
// Thanks to Kangax, Christian Sciberras and Stack Overflow for this method.
//
@@ -10758,18 +10758,18 @@
if(thing===null) return "[object Null]"; // special case
return Object.prototype.toString.call(thing);
}
-
+
$.jsDate = jsDate;
-
+
/**
* JavaScript printf/sprintf functions.
- *
+ *
* This code has been adapted from the publicly available sprintf methods
* by Ash Searle. His original header follows:
*
* This code is unrestricted: you are free to use it however you like.
- *
+ *
* The functions should work as expected, performing left or right alignment,
* truncating strings, outputting numbers with a required precision etc.
*
@@ -10792,22 +10792,22 @@
* Not implemented (yet):
* - vector flag
* - size (bytes, words, long-words etc.)
- *
+ *
* Will not implement:
* - %n or %p (no pass-by-reference in JavaScript)
*
* @version 2007.04.27
- * @author Ash Searle
- *
+ * @author Ash Searle
+ *
* You can see the original work and comments on his blog:
* http://hexmen.com/blog/2007/03/printf-sprintf/
* http://hexmen.com/js/sprintf.js
*/
-
+
/**
* @Modifications 2009.05.26
* @author Chris Leonello
- *
+ *
* Added %p %P specifier
* Acts like %g or %G but will not add more significant digits to the output than present in the input.
* Example:
@@ -10817,7 +10817,7 @@
* Format: '%.4g', Input: 12.0, Output: 12.00
* Format: '%.4p', Input: 4.321e-5, Output: 4.321e-5
* Format: '%.4g', Input: 4.321e-5, Output: 4.3210e-5
- *
+ *
* Example:
* >>> $.jqplot.sprintf('%.2f, %d', 23.3452, 43.23)
* "23.35, 43"
@@ -10836,7 +10836,7 @@
for (var i=10; i>0; i--) {
if (value_str == (value_str = value_str.replace(/^(\d+)(\d{3})/, "$1"+$.jqplot.sprintf.thousandsSeparator+"$2"))) break;
}
- return value_str;
+ return value_str;
}
function justify(value, prefix, leftJustify, minWidth, zeroPad, htmlSpace) {
@@ -10890,13 +10890,13 @@
if (!minWidth) {
minWidth = 0;
- }
+ }
else if (minWidth == '*') {
minWidth = +a[i++];
- }
+ }
else if (minWidth.charAt(0) == '*') {
minWidth = +a[minWidth.slice(1, -1)];
- }
+ }
else {
minWidth = +minWidth;
}
@@ -10913,13 +10913,13 @@
if (!precision) {
precision = 'fFeE'.indexOf(type) > -1 ? 6 : (type == 'd') ? 0 : void(0);
- }
+ }
else if (precision == '*') {
precision = +a[i++];
- }
+ }
else if (precision.charAt(0) == '*') {
precision = +a[precision.slice(1, -1)];
- }
+ }
else {
precision = +precision;
}
@@ -10999,7 +10999,7 @@
var parts = String(Number(Math.abs(number)).toExponential()).split(/e|E/);
var sd = (parts[0].indexOf('.') != -1) ? parts[0].length - 1 : parts[0].length;
var zeros = (parts[1] < 0) ? -parts[1] - 1 : 0;
-
+
if (Math.abs(number) < 1) {
if (sd + zeros <= precision) {
value = prefix + Math.abs(number).toPrecision(sd);
@@ -11032,7 +11032,7 @@
// change the thousands separator or else this won't work since a simple String
// replace is used (replacing all periods with the mark specified here).
$.jqplot.sprintf.decimalMark = '.';
-
+
$.jqplot.sprintf.regex = /%%|%(\d+\$)?([-+#0&\' ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([nAscboxXuidfegpEGP])/g;
$.jqplot.getSignificantFigures = function(number) {
@@ -11053,7 +11053,7 @@
return $.jqplot.getSignificantFigures(number).digitsRight;
};
-})(jQuery);
+})(jQuery);
var backCompat = $.uiBackCompat !== false;
diff --git a/wqflask/wqflask/static/packages/jqplot/jquery.jqplot.min.js b/wqflask/wqflask/static/packages/jqplot/jquery.jqplot.min.js
index 79c35d06..1def2792 100755
--- a/wqflask/wqflask/static/packages/jqplot/jquery.jqplot.min.js
+++ b/wqflask/wqflask/static/packages/jqplot/jquery.jqplot.min.js
@@ -5,13 +5,13 @@
* Version: 1.0.4r1121
*
* Copyright (c) 2009-2011 Chris Leonello
- * jqPlot is currently available for use in all personal or commercial projects
- * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
- * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
- * choose the license that best suits your project and use it accordingly.
+ * jqPlot is currently available for use in all personal or commercial projects
+ * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
+ * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
+ * choose the license that best suits your project and use it accordingly.
*
- * Although not required, the author would appreciate an email letting him
- * know of any substantial use of jqPlot. You can reach the author at:
+ * Although not required, the author would appreciate an email letting him
+ * know of any substantial use of jqPlot. You can reach the author at:
* chris at jqplot dot com or see http://www.jqplot.com/info.php .
*
* If you are feeling kind and generous, consider supporting the project by
@@ -30,18 +30,18 @@
*
* Copyright (c) 2010-2011 Chris Leonello
*
- * jsDate is currently available for use in all personal or commercial projects
- * under both the MIT and GPL version 2.0 licenses. This means that you can
+ * jsDate is currently available for use in all personal or commercial projects
+ * under both the MIT and GPL version 2.0 licenses. This means that you can
* choose the license that best suits your project and use it accordingly.
*
- * jsDate borrows many concepts and ideas from the Date Instance
+ * jsDate borrows many concepts and ideas from the Date Instance
* Methods by Ken Snyder along with some parts of Ken's actual code.
- *
+ *
* Ken's origianl Date Instance Methods and copyright notice:
- *
+ *
* Ken Snyder (ken d snyder at gmail dot com)
* 2008-09-10
- * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
+ * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
* Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)
*
* jqplotToImage function based on Larry Siden's export-jqplot-to-png.js.
@@ -51,7 +51,7 @@
* Larry's original code can be found here:
*
* https://github.com/lsiden/export-jqplot-to-png
- *
- *
+ *
+ *
*/
(function(H){var r;H.fn.emptyForce=function(){for(var ab=0,ac;(ac=H(this)[ab])!=null;ab++){if(ac.nodeType===1){H.cleanData(ac.getElementsByTagName("*"))}if(H.jqplot.use_excanvas){ac.outerHTML=""}else{while(ac.firstChild){ac.removeChild(ac.firstChild)}}ac=null}return H(this)};H.fn.removeChildForce=function(ab){while(ab.firstChild){this.removeChildForce(ab.firstChild);ab.removeChild(ab.firstChild)}};H.fn.jqplot=function(){var ab=[];var ad=[];for(var ae=0,ac=arguments.length;ae'+ai+"");H("#"+ah).addClass("jqplot-error");document.getElementById(ah).style.background=H.jqplot.config.errorBackground;document.getElementById(ah).style.border=H.jqplot.config.errorBorder;document.getElementById(ah).style.fontFamily=H.jqplot.config.errorFontFamily;document.getElementById(ah).style.fontSize=H.jqplot.config.errorFontSize;document.getElementById(ah).style.fontStyle=H.jqplot.config.errorFontStyle;document.getElementById(ah).style.fontWeight=H.jqplot.config.errorFontWeight}}else{ag.init(ah,ad,ab);ag.draw();ag.themeEngine.init.call(ag);return ag}};H.jqplot.version="1.0.4";H.jqplot.revision="1121";H.jqplot.targetCounter=1;H.jqplot.CanvasManager=function(){if(typeof H.jqplot.CanvasManager.canvases=="undefined"){H.jqplot.CanvasManager.canvases=[];H.jqplot.CanvasManager.free=[]}var ab=[];this.getCanvas=function(){var ae;var ad=true;if(!H.jqplot.use_excanvas){for(var af=0,ac=H.jqplot.CanvasManager.canvases.length;af887){H.jqplot.support_canvas_text.result=true}else{H.jqplot.support_canvas_text.result=!!(document.createElement("canvas").getContext&&typeof document.createElement("canvas").getContext("2d").fillText=="function")}}return H.jqplot.support_canvas_text.result};H.jqplot.use_excanvas=(H.browser.msie&&!H.jqplot.support_canvas())?true:false;H.jqplot.preInitHooks=[];H.jqplot.postInitHooks=[];H.jqplot.preParseOptionsHooks=[];H.jqplot.postParseOptionsHooks=[];H.jqplot.preDrawHooks=[];H.jqplot.postDrawHooks=[];H.jqplot.preDrawSeriesHooks=[];H.jqplot.postDrawSeriesHooks=[];H.jqplot.preDrawLegendHooks=[];H.jqplot.addLegendRowHooks=[];H.jqplot.preSeriesInitHooks=[];H.jqplot.postSeriesInitHooks=[];H.jqplot.preParseSeriesOptionsHooks=[];H.jqplot.postParseSeriesOptionsHooks=[];H.jqplot.eventListenerHooks=[];H.jqplot.preDrawSeriesShadowHooks=[];H.jqplot.postDrawSeriesShadowHooks=[];H.jqplot.ElemContainer=function(){this._elem;this._plotWidth;this._plotHeight;this._plotDimensions={height:null,width:null}};H.jqplot.ElemContainer.prototype.createElement=function(ae,ag,ac,ad,ah){this._offsets=ag;var ab=ac||"jqplot";var af=document.createElement(ae);this._elem=H(af);this._elem.addClass(ab);this._elem.css(ad);this._elem.attr(ah);af=null;return this._elem};H.jqplot.ElemContainer.prototype.getWidth=function(){if(this._elem){return this._elem.outerWidth(true)}else{return null}};H.jqplot.ElemContainer.prototype.getHeight=function(){if(this._elem){return this._elem.outerHeight(true)}else{return null}};H.jqplot.ElemContainer.prototype.getPosition=function(){if(this._elem){return this._elem.position()}else{return{top:null,left:null,bottom:null,right:null}}};H.jqplot.ElemContainer.prototype.getTop=function(){return this.getPosition().top};H.jqplot.ElemContainer.prototype.getLeft=function(){return this.getPosition().left};H.jqplot.ElemContainer.prototype.getBottom=function(){return this._elem.css("bottom")};H.jqplot.ElemContainer.prototype.getRight=function(){return this._elem.css("right")};function s(ab){H.jqplot.ElemContainer.call(this);this.name=ab;this._series=[];this.show=false;this.tickRenderer=H.jqplot.AxisTickRenderer;this.tickOptions={};this.labelRenderer=H.jqplot.AxisLabelRenderer;this.labelOptions={};this.label=null;this.showLabel=true;this.min=null;this.max=null;this.autoscale=false;this.pad=1.2;this.padMax=null;this.padMin=null;this.ticks=[];this.numberTicks;this.tickInterval;this.renderer=H.jqplot.LinearAxisRenderer;this.rendererOptions={};this.showTicks=true;this.showTickMarks=true;this.showMinorTicks=true;this.drawMajorGridlines=true;this.drawMinorGridlines=false;this.drawMajorTickMarks=true;this.drawMinorTickMarks=true;this.useSeriesColor=false;this.borderWidth=null;this.borderColor=null;this.scaleToHiddenSeries=false;this._dataBounds={min:null,max:null};this._intervalStats=[];this._offsets={min:null,max:null};this._ticks=[];this._label=null;this.syncTicks=null;this.tickSpacing=75;this._min=null;this._max=null;this._tickInterval=null;this._numberTicks=null;this.__ticks=null;this._options={}}s.prototype=new H.jqplot.ElemContainer();s.prototype.constructor=s;s.prototype.init=function(){if(H.isFunction(this.renderer)){this.renderer=new this.renderer()}this.tickOptions.axis=this.name;if(this.tickOptions.showMark==null){this.tickOptions.showMark=this.showTicks}if(this.tickOptions.showMark==null){this.tickOptions.showMark=this.showTickMarks}if(this.tickOptions.showLabel==null){this.tickOptions.showLabel=this.showTicks}if(this.label==null||this.label==""){this.showLabel=false}else{this.labelOptions.label=this.label}if(this.showLabel==false){this.labelOptions.show=false}if(this.pad==0){this.pad=1}if(this.padMax==0){this.padMax=1}if(this.padMin==0){this.padMin=1}if(this.padMax==null){this.padMax=(this.pad-1)/2+1}if(this.padMin==null){this.padMin=(this.pad-1)/2+1}this.pad=this.padMax+this.padMin-1;if(this.min!=null||this.max!=null){this.autoscale=false}if(this.syncTicks==null&&this.name.indexOf("y")>-1){this.syncTicks=true}else{if(this.syncTicks==null){this.syncTicks=false}}this.renderer.init.call(this,this.rendererOptions)};s.prototype.draw=function(ab,ac){if(this.__ticks){this.__ticks=null}return this.renderer.draw.call(this,ab,ac)};s.prototype.set=function(){this.renderer.set.call(this)};s.prototype.pack=function(ac,ab){if(this.show){this.renderer.pack.call(this,ac,ab)}if(this._min==null){this._min=this.min;this._max=this.max;this._tickInterval=this.tickInterval;this._numberTicks=this.numberTicks;this.__ticks=this._ticks}};s.prototype.reset=function(){this.renderer.reset.call(this)};s.prototype.resetScale=function(ab){H.extend(true,this,{min:null,max:null,numberTicks:null,tickInterval:null,_ticks:[],ticks:[]},ab);this.resetDataBounds()};s.prototype.resetDataBounds=function(){var ai=this._dataBounds;ai.min=null;ai.max=null;var ac,aj,ag;var ad=(this.show)?true:false;for(var af=0;afai.max)||ai.max==null){ai.max=ag[ae][0]}}else{if((ag[ae][ab]!=null&&ag[ae][ab]ai.max)||ai.max==null){ai.max=ag[ae][ah]}}}if(ad&&aj.renderer.constructor!==H.jqplot.BarRenderer){ad=false}else{if(ad&&this._options.hasOwnProperty("forceTickAt0")&&this._options.forceTickAt0==false){ad=false}else{if(ad&&aj.renderer.constructor===H.jqplot.BarRenderer){if(aj.barDirection=="vertical"&&this.name!="xaxis"&&this.name!="x2axis"){if(this._options.pad!=null||this._options.padMin!=null){ad=false}}else{if(aj.barDirection=="horizontal"&&(this.name=="xaxis"||this.name=="x2axis")){if(this._options.pad!=null||this._options.padMin!=null){ad=false}}}}}}}}if(ad&&this.renderer.constructor===H.jqplot.LinearAxisRenderer&&ai.min>=0){this.padMin=1;this.forceTickAt0=true}};function n(ab){H.jqplot.ElemContainer.call(this);this.show=false;this.location="ne";this.labels=[];this.showLabels=true;this.showSwatches=true;this.placement="insideGrid";this.xoffset=0;this.yoffset=0;this.border;this.background;this.textColor;this.fontFamily;this.fontSize;this.rowSpacing="0.5em";this.renderer=H.jqplot.TableLegendRenderer;this.rendererOptions={};this.preDraw=false;this.marginTop=null;this.marginRight=null;this.marginBottom=null;this.marginLeft=null;this.escapeHtml=false;this._series=[];H.extend(true,this,ab)}n.prototype=new H.jqplot.ElemContainer();n.prototype.constructor=n;n.prototype.setOptions=function(ab){H.extend(true,this,ab);if(this.placement=="inside"){this.placement="insideGrid"}if(this.xoffset>0){if(this.placement=="insideGrid"){switch(this.location){case"nw":case"w":case"sw":if(this.marginLeft==null){this.marginLeft=this.xoffset+"px"}this.marginRight="0px";break;case"ne":case"e":case"se":default:if(this.marginRight==null){this.marginRight=this.xoffset+"px"}this.marginLeft="0px";break}}else{if(this.placement=="outside"){switch(this.location){case"nw":case"w":case"sw":if(this.marginRight==null){this.marginRight=this.xoffset+"px"}this.marginLeft="0px";break;case"ne":case"e":case"se":default:if(this.marginLeft==null){this.marginLeft=this.xoffset+"px"}this.marginRight="0px";break}}}this.xoffset=0}if(this.yoffset>0){if(this.placement=="outside"){switch(this.location){case"sw":case"s":case"se":if(this.marginTop==null){this.marginTop=this.yoffset+"px"}this.marginBottom="0px";break;case"ne":case"n":case"nw":default:if(this.marginBottom==null){this.marginBottom=this.yoffset+"px"}this.marginTop="0px";break}}else{if(this.placement=="insideGrid"){switch(this.location){case"sw":case"s":case"se":if(this.marginBottom==null){this.marginBottom=this.yoffset+"px"}this.marginTop="0px";break;case"ne":case"n":case"nw":default:if(this.marginTop==null){this.marginTop=this.yoffset+"px"}this.marginBottom="0px";break}}}this.yoffset=0}};n.prototype.init=function(){if(H.isFunction(this.renderer)){this.renderer=new this.renderer()}this.renderer.init.call(this,this.rendererOptions)};n.prototype.draw=function(ac,ad){for(var ab=0;ab');this.target.append(at);at.height(ax);at.width(au);at.css("top",this.eventCanvas._offsets.top);at.css("left",this.eventCanvas._offsets.left);var aw=H('');at.append(aw);aw.html(this.noDataIndicator.indicator);var av=aw.height();var ar=aw.width();aw.height(av);aw.width(ar);aw.css("top",(ax-av)/2+"px")})}}this.data=H.extend(true,[],al);this.parseOptions(aq);if(this.textColor){this.target.css("color",this.textColor)}if(this.fontFamily){this.target.css("font-family",this.fontFamily)}if(this.fontSize){this.target.css("font-size",this.fontSize)}this.title.init();this.legend.init();this._sumy=0;this._sumx=0;this.computePlotData();for(var am=0;am0){for(var ak=an;ak--;){var ah=this._plotData[ak][aj][ao];if(ap*ah>=0){this._plotData[an][aj][ao]+=ah;this._stackData[an][aj][ao]+=ah;break}}}}}else{for(var al=0;al0){am._prevPlotData=this.series[an-1]._plotData}am._sumy=0;am._sumx=0;for(al=am.data.length-1;al>-1;al--){am._sumy+=am.data[al][1];am._sumx+=am.data[al][0]}}};this.populatePlotData=function(an,ao){this._plotData=[];this._stackData=[];an._stackData=[];an._plotData=[];var ar={x:[],y:[]};if(this.stackSeries&&!an.disableStack){an._stack=true;var aq=(an._stackAxis==="x")?0:1;var at=H.extend(true,[],an.data);var au=H.extend(true,[],an.data);var ah,ag,ai,ap,af;for(var al=0;al=0){au[ak][aq]+=ap}}}for(var am=0;am0){an._prevPlotData=this.series[ao-1]._plotData}an._sumy=0;an._sumx=0;for(am=an.data.length-1;am>-1;am--){an._sumy+=an.data[am][1];an._sumx+=an.data[am][0]}};this.getNextSeriesColor=(function(ag){var af=0;var ah=ag.seriesColors;return function(){if(af=0&&ah>=0){af.top+=aE;af.bottom+=aE;af.left+=ah;af.right+=ah}}var ag=["top","bottom","left","right"];for(var au in ag){if(this._gridPadding[ag[au]]==null&&af[ag[au]]>0){this._gridPadding[ag[au]]=af[ag[au]]}else{if(this._gridPadding[ag[au]]==null){this._gridPadding[ag[au]]=this._defaultGridPadding[ag[au]]}}}var at=this._gridPadding;if(this.legend.placement==="outsideGrid"){at={top:this.title.getHeight(),left:0,right:0,bottom:0};if(this.legend.location==="s"){at.left=this._gridPadding.left;at.right=this._gridPadding.right}}al.xaxis.pack({position:"absolute",bottom:this._gridPadding.bottom-al.xaxis.getHeight(),left:0,width:this._width},{min:this._gridPadding.left,max:this._width-this._gridPadding.right});al.yaxis.pack({position:"absolute",top:0,left:this._gridPadding.left-al.yaxis.getWidth(),height:this._height},{min:this._height-this._gridPadding.bottom,max:this._gridPadding.top});al.x2axis.pack({position:"absolute",top:this._gridPadding.top-al.x2axis.getHeight(),left:0,width:this._width},{min:this._gridPadding.left,max:this._width-this._gridPadding.right});for(aB=8;aB>0;aB--){al[aA[aB-1]].pack({position:"absolute",top:0,right:this._gridPadding.right-ar[aB-1]},{min:this._height-this._gridPadding.bottom,max:this._gridPadding.top})}var an=(this._width-this._gridPadding.left-this._gridPadding.right)/2+this._gridPadding.left-al.yMidAxis.getWidth()/2;al.yMidAxis.pack({position:"absolute",top:0,left:an,zIndex:9,textAlign:"center"},{min:this._height-this._gridPadding.bottom,max:this._gridPadding.top});this.target.append(this.grid.createElement(this._gridPadding,this));this.grid.draw();var ak=this.series;var aD=ak.length;for(aB=0,ay=aD;aBaq)?ao:aq;var al=this.series[ap];var ak=this.series[an];if(ak.renderer.smooth){var aj=ak.renderer._smoothedData.slice(0).reverse()}else{var aj=ak.gridData.slice(0).reverse()}if(al.renderer.smooth){var am=al.renderer._smoothedData.concat(aj)}else{var am=al.gridData.concat(aj)}var ai=(ah.color!==null)?ah.color:this.series[aq].fillColor;var ar=(ah.baseSeries!==null)?ah.baseSeries:ap;var ag=this.series[ar].renderer.shapeRenderer;var af={fillStyle:ai,fill:true,closePath:true};ag.draw(al.shadowCanvas._ctx,am,af)};this.bindCustomEvents=function(){this.eventCanvas._elem.bind("click",{plot:this},this.onClick);this.eventCanvas._elem.bind("dblclick",{plot:this},this.onDblClick);this.eventCanvas._elem.bind("mousedown",{plot:this},this.onMouseDown);this.eventCanvas._elem.bind("mousemove",{plot:this},this.onMouseMove);this.eventCanvas._elem.bind("mouseenter",{plot:this},this.onMouseEnter);this.eventCanvas._elem.bind("mouseleave",{plot:this},this.onMouseLeave);if(this.captureRightClick){this.eventCanvas._elem.bind("mouseup",{plot:this},this.onRightClick);this.eventCanvas._elem.get(0).oncontextmenu=function(){return false}}else{this.eventCanvas._elem.bind("mouseup",{plot:this},this.onMouseUp)}};function ac(ao){var am=ao.data.plot;var ai=am.eventCanvas._elem.offset();var al={x:ao.pageX-ai.left,y:ao.pageY-ai.top};var aj={xaxis:null,yaxis:null,x2axis:null,y2axis:null,y3axis:null,y4axis:null,y5axis:null,y6axis:null,y7axis:null,y8axis:null,y9axis:null,yMidAxis:null};var ak=["xaxis","yaxis","x2axis","y2axis","y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis","yMidAxis"];var af=am.axes;var ag,ah;for(ag=11;ag>0;ag--){ah=ak[ag-1];if(af[ah].show){aj[ah]=af[ah].series_p2u(al[ah.charAt(0)])}}return{offsets:ai,gridPos:al,dataPos:aj}}function ae(af,ag){var ak=ag.series;var aQ,aO,aN,aI,aJ,aD,aC,ap,an,at,au,aE;var aM,aR,aK,al,aB,aG,aP;var ah,aH;for(aN=ag.seriesStack.length-1;aN>=0;aN--){aQ=ag.seriesStack[aN];aI=ak[aQ];aP=aI._highlightThreshold;switch(aI.renderer.constructor){case H.jqplot.BarRenderer:aD=af.x;aC=af.y;for(aO=0;aOaB[0][0]&&aDaB[2][1]&&aCaB[0][0]+aP[0][0]&&aDaB[2][1]&&aC0&&-aC>=0){ap=2*Math.PI-Math.atan(-aC/aD)}else{if(aD>0&&-aC<0){ap=-Math.atan(-aC/aD)}else{if(aD<0){ap=Math.PI-Math.atan(-aC/aD)}else{if(aD==0&&-aC>0){ap=3*Math.PI/2}else{if(aD==0&&-aC<0){ap=Math.PI/2}else{if(aD==0&&aC==0){ap=0}}}}}}if(at){ap-=at;if(ap<0){ap+=2*Math.PI}else{if(ap>2*Math.PI){ap-=2*Math.PI}}}an=aI.sliceMargin/180*Math.PI;if(aJaI._innerRadius){for(aO=0;aO0)?aI.gridData[aO-1][1]+an:an;aE=aI.gridData[aO][1];if(ap>au&&ap0&&-aC>=0){ap=2*Math.PI-Math.atan(-aC/aD)}else{if(aD>0&&-aC<0){ap=-Math.atan(-aC/aD)}else{if(aD<0){ap=Math.PI-Math.atan(-aC/aD)}else{if(aD==0&&-aC>0){ap=3*Math.PI/2}else{if(aD==0&&-aC<0){ap=Math.PI/2}else{if(aD==0&&aC==0){ap=0}}}}}}if(at){ap-=at;if(ap<0){ap+=2*Math.PI}else{if(ap>2*Math.PI){ap-=2*Math.PI}}}an=aI.sliceMargin/180*Math.PI;if(aJ0)?aI.gridData[aO-1][1]+an:an;aE=aI.gridData[aO][1];if(ap>au&&ap=ar[0][1]&&aC<=ar[3][1]&&aD>=am[0]&&aD<=ay[0]){return{seriesIndex:aI.index,pointIndex:aO,gridData:null,data:aI.data[aO]}}}break;case H.jqplot.LineRenderer:aD=af.x;aC=af.y;aJ=aI.renderer;if(aI.show){if((aI.fill||(aI.renderer.bands.show&&aI.renderer.bands.fill))&&(!ag.plugins.highlighter||!ag.plugins.highlighter.show)){var aq=false;if(aD>aI._boundingBox[0][0]&&aDaI._boundingBox[1][1]&&aC=aC||av[1]=aC){if(aw[0]+(aC-aw[1])/(av[1]-aw[1])*(av[0]-aw[0])0)?aH:0;for(var aO=0;aO=aK[0]-aJ._bodyWidth/2&&aD<=aK[0]+aJ._bodyWidth/2&&aC>=ao(aI.data[aO][2])&&aC<=ao(aI.data[aO][3])){return{seriesIndex:aQ,pointIndex:aO,gridData:aK,data:aI.data[aO]}}}else{if(!aJ.hlc){var ao=aI._yaxis.series_u2p;if(aD>=aK[0]-aJ._tickLength&&aD<=aK[0]+aJ._tickLength&&aC>=ao(aI.data[aO][2])&&aC<=ao(aI.data[aO][3])){return{seriesIndex:aQ,pointIndex:aO,gridData:aK,data:aI.data[aO]}}}else{var ao=aI._yaxis.series_u2p;if(aD>=aK[0]-aJ._tickLength&&aD<=aK[0]+aJ._tickLength&&aC>=ao(aI.data[aO][1])&&aC<=ao(aI.data[aO][2])){return{seriesIndex:aQ,pointIndex:aO,gridData:aK,data:aI.data[aO]}}}}}else{if(aK[0]!=null&&aK[1]!=null){aR=Math.sqrt((aD-aK[0])*(aD-aK[0])+(aC-aK[1])*(aC-aK[1]));if(aR<=ah&&(aR<=aM||aM==null)){aM=aR;return{seriesIndex:aQ,pointIndex:aO,gridData:aK,data:aI.data[aO]}}}}}}}break;default:aD=af.x;aC=af.y;aJ=aI.renderer;if(aI.show){aH=aI.markerRenderer.size/2+aI.neighborThreshold;ah=(aH>0)?aH:0;for(var aO=0;aO=aK[0]-aJ._bodyWidth/2&&aD<=aK[0]+aJ._bodyWidth/2&&aC>=ao(aI.data[aO][2])&&aC<=ao(aI.data[aO][3])){return{seriesIndex:aQ,pointIndex:aO,gridData:aK,data:aI.data[aO]}}}else{if(!aJ.hlc){var ao=aI._yaxis.series_u2p;if(aD>=aK[0]-aJ._tickLength&&aD<=aK[0]+aJ._tickLength&&aC>=ao(aI.data[aO][2])&&aC<=ao(aI.data[aO][3])){return{seriesIndex:aQ,pointIndex:aO,gridData:aK,data:aI.data[aO]}}}else{var ao=aI._yaxis.series_u2p;if(aD>=aK[0]-aJ._tickLength&&aD<=aK[0]+aJ._tickLength&&aC>=ao(aI.data[aO][1])&&aC<=ao(aI.data[aO][2])){return{seriesIndex:aQ,pointIndex:aO,gridData:aK,data:aI.data[aO]}}}}}else{aR=Math.sqrt((aD-aK[0])*(aD-aK[0])+(aC-aK[1])*(aC-aK[1]));if(aR<=ah&&(aR<=aM||aM==null)){aM=aR;return{seriesIndex:aQ,pointIndex:aO,gridData:aK,data:aI.data[aO]}}}}}break}}return null}this.onClick=function(ah){var ag=ac(ah);var aj=ah.data.plot;var ai=ae(ag.gridPos,aj);var af=H.Event("jqplotClick");af.pageX=ah.pageX;af.pageY=ah.pageY;H(this).trigger(af,[ag.gridPos,ag.dataPos,ai,aj])};this.onDblClick=function(ah){var ag=ac(ah);var aj=ah.data.plot;var ai=ae(ag.gridPos,aj);var af=H.Event("jqplotDblClick");af.pageX=ah.pageX;af.pageY=ah.pageY;H(this).trigger(af,[ag.gridPos,ag.dataPos,ai,aj])};this.onMouseDown=function(ah){var ag=ac(ah);var aj=ah.data.plot;var ai=ae(ag.gridPos,aj);var af=H.Event("jqplotMouseDown");af.pageX=ah.pageX;af.pageY=ah.pageY;H(this).trigger(af,[ag.gridPos,ag.dataPos,ai,aj])};this.onMouseUp=function(ah){var ag=ac(ah);var af=H.Event("jqplotMouseUp");af.pageX=ah.pageX;af.pageY=ah.pageY;H(this).trigger(af,[ag.gridPos,ag.dataPos,null,ah.data.plot])};this.onRightClick=function(ah){var ag=ac(ah);var aj=ah.data.plot;var ai=ae(ag.gridPos,aj);if(aj.captureRightClick){if(ah.which==3){var af=H.Event("jqplotRightClick");af.pageX=ah.pageX;af.pageY=ah.pageY;H(this).trigger(af,[ag.gridPos,ag.dataPos,ai,aj])}else{var af=H.Event("jqplotMouseUp");af.pageX=ah.pageX;af.pageY=ah.pageY;H(this).trigger(af,[ag.gridPos,ag.dataPos,ai,aj])}}};this.onMouseMove=function(ah){var ag=ac(ah);var aj=ah.data.plot;var ai=ae(ag.gridPos,aj);var af=H.Event("jqplotMouseMove");af.pageX=ah.pageX;af.pageY=ah.pageY;H(this).trigger(af,[ag.gridPos,ag.dataPos,ai,aj])};this.onMouseEnter=function(ah){var ag=ac(ah);var ai=ah.data.plot;var af=H.Event("jqplotMouseEnter");af.pageX=ah.pageX;af.pageY=ah.pageY;af.relatedTarget=ah.relatedTarget;H(this).trigger(af,[ag.gridPos,ag.dataPos,null,ai])};this.onMouseLeave=function(ah){var ag=ac(ah);var ai=ah.data.plot;var af=H.Event("jqplotMouseLeave");af.pageX=ah.pageX;af.pageY=ah.pageY;af.relatedTarget=ah.relatedTarget;H(this).trigger(af,[ag.gridPos,ag.dataPos,null,ai])};this.drawSeries=function(ah,af){var aj,ai,ag;af=(typeof(ah)==="number"&&af==null)?ah:af;ah=(typeof(ah)==="object")?ah:{};if(af!=r){ai=this.series[af];ag=ai.shadowCanvas._ctx;ag.clearRect(0,0,ag.canvas.width,ag.canvas.height);ai.drawShadow(ag,ah,this);ag=ai.canvas._ctx;ag.clearRect(0,0,ag.canvas.width,ag.canvas.height);ai.draw(ag,ah,this);if(ai.renderer.constructor==H.jqplot.BezierCurveRenderer){if(af660)?ab[ad]*0.85:0.73*ab[ad]+90;ab[ad]=parseInt(ab[ad],10);(ab[ad]>255)?255:ab[ad]}ab[3]=0.3+0.35*af[3];ae.push("rgba("+ab[0]+","+ab[1]+","+ab[2]+","+ab[3]+")")}}else{var af=H.jqplot.getColorComponents(ac);var ab=[af[0],af[1],af[2]];var ah=ab[0]+ab[1]+ab[2];for(var ad=0;ad<3;ad++){ab[ad]=(ah>660)?ab[ad]*0.85:0.73*ab[ad]+90;ab[ad]=parseInt(ab[ad],10);(ab[ad]>255)?255:ab[ad]}ab[3]=0.3+0.35*af[3];ae="rgba("+ab[0]+","+ab[1]+","+ab[2]+","+ab[3]+")"}return ae};H.jqplot.ColorGenerator=function(ac){ac=ac||H.jqplot.config.defaultColors;var ab=0;this.next=function(){if(ab0){return ac[ab--]}else{ab=ac.length-1;return ac[ab]}};this.get=function(ae){var ad=ae-ac.length*Math.floor(ae/ac.length);return ac[ad]};this.setColors=function(ad){ac=ad};this.reset=function(){ab=0};this.getIndex=function(){return ab};this.setIndex=function(ad){ab=ad}};H.jqplot.hex2rgb=function(ad,ab){ad=ad.replace("#","");if(ad.length==3){ad=ad.charAt(0)+ad.charAt(0)+ad.charAt(1)+ad.charAt(1)+ad.charAt(2)+ad.charAt(2)}var ac;ac="rgba("+parseInt(ad.slice(0,2),16)+", "+parseInt(ad.slice(2,4),16)+", "+parseInt(ad.slice(4,6),16);if(ab){ac+=", "+ab}ac+=")";return ac};H.jqplot.rgb2hex=function(ag){var ad=/rgba?\( *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *(?:, *[0-9.]*)?\)/;var ab=ag.match(ad);var af="#";for(var ae=1;ae<4;ae++){var ac;if(ab[ae].search(/%/)!=-1){ac=parseInt(255*ab[ae]/100,10).toString(16);if(ac.length==1){ac="0"+ac}}else{ac=parseInt(ab[ae],10).toString(16);if(ac.length==1){ac="0"+ac}}af+=ac}return af};H.jqplot.normalize2rgb=function(ac,ab){if(ac.search(/^ *rgba?\(/)!=-1){return ac}else{if(ac.search(/^ *#?[0-9a-fA-F]?[0-9a-fA-F]/)!=-1){return H.jqplot.hex2rgb(ac,ab)}else{throw"invalid color spec"}}};H.jqplot.getColorComponents=function(ag){ag=H.jqplot.colorKeywordMap[ag]||ag;var ae=H.jqplot.normalize2rgb(ag);var ad=/rgba?\( *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *, *([0-9]{1,3}\.?[0-9]*%?) *,? *([0-9.]* *)?\)/;var ab=ae.match(ad);var ac=[];for(var af=1;af<4;af++){if(ab[af].search(/%/)!=-1){ac[af-1]=parseInt(255*ab[af]/100,10)}else{ac[af-1]=parseInt(ab[af],10)}}ac[3]=parseFloat(ab[4])?parseFloat(ab[4]):1;return ac};H.jqplot.colorKeywordMap={aliceblue:"rgb(240, 248, 255)",antiquewhite:"rgb(250, 235, 215)",aqua:"rgb( 0, 255, 255)",aquamarine:"rgb(127, 255, 212)",azure:"rgb(240, 255, 255)",beige:"rgb(245, 245, 220)",bisque:"rgb(255, 228, 196)",black:"rgb( 0, 0, 0)",blanchedalmond:"rgb(255, 235, 205)",blue:"rgb( 0, 0, 255)",blueviolet:"rgb(138, 43, 226)",brown:"rgb(165, 42, 42)",burlywood:"rgb(222, 184, 135)",cadetblue:"rgb( 95, 158, 160)",chartreuse:"rgb(127, 255, 0)",chocolate:"rgb(210, 105, 30)",coral:"rgb(255, 127, 80)",cornflowerblue:"rgb(100, 149, 237)",cornsilk:"rgb(255, 248, 220)",crimson:"rgb(220, 20, 60)",cyan:"rgb( 0, 255, 255)",darkblue:"rgb( 0, 0, 139)",darkcyan:"rgb( 0, 139, 139)",darkgoldenrod:"rgb(184, 134, 11)",darkgray:"rgb(169, 169, 169)",darkgreen:"rgb( 0, 100, 0)",darkgrey:"rgb(169, 169, 169)",darkkhaki:"rgb(189, 183, 107)",darkmagenta:"rgb(139, 0, 139)",darkolivegreen:"rgb( 85, 107, 47)",darkorange:"rgb(255, 140, 0)",darkorchid:"rgb(153, 50, 204)",darkred:"rgb(139, 0, 0)",darksalmon:"rgb(233, 150, 122)",darkseagreen:"rgb(143, 188, 143)",darkslateblue:"rgb( 72, 61, 139)",darkslategray:"rgb( 47, 79, 79)",darkslategrey:"rgb( 47, 79, 79)",darkturquoise:"rgb( 0, 206, 209)",darkviolet:"rgb(148, 0, 211)",deeppink:"rgb(255, 20, 147)",deepskyblue:"rgb( 0, 191, 255)",dimgray:"rgb(105, 105, 105)",dimgrey:"rgb(105, 105, 105)",dodgerblue:"rgb( 30, 144, 255)",firebrick:"rgb(178, 34, 34)",floralwhite:"rgb(255, 250, 240)",forestgreen:"rgb( 34, 139, 34)",fuchsia:"rgb(255, 0, 255)",gainsboro:"rgb(220, 220, 220)",ghostwhite:"rgb(248, 248, 255)",gold:"rgb(255, 215, 0)",goldenrod:"rgb(218, 165, 32)",gray:"rgb(128, 128, 128)",grey:"rgb(128, 128, 128)",green:"rgb( 0, 128, 0)",greenyellow:"rgb(173, 255, 47)",honeydew:"rgb(240, 255, 240)",hotpink:"rgb(255, 105, 180)",indianred:"rgb(205, 92, 92)",indigo:"rgb( 75, 0, 130)",ivory:"rgb(255, 255, 240)",khaki:"rgb(240, 230, 140)",lavender:"rgb(230, 230, 250)",lavenderblush:"rgb(255, 240, 245)",lawngreen:"rgb(124, 252, 0)",lemonchiffon:"rgb(255, 250, 205)",lightblue:"rgb(173, 216, 230)",lightcoral:"rgb(240, 128, 128)",lightcyan:"rgb(224, 255, 255)",lightgoldenrodyellow:"rgb(250, 250, 210)",lightgray:"rgb(211, 211, 211)",lightgreen:"rgb(144, 238, 144)",lightgrey:"rgb(211, 211, 211)",lightpink:"rgb(255, 182, 193)",lightsalmon:"rgb(255, 160, 122)",lightseagreen:"rgb( 32, 178, 170)",lightskyblue:"rgb(135, 206, 250)",lightslategray:"rgb(119, 136, 153)",lightslategrey:"rgb(119, 136, 153)",lightsteelblue:"rgb(176, 196, 222)",lightyellow:"rgb(255, 255, 224)",lime:"rgb( 0, 255, 0)",limegreen:"rgb( 50, 205, 50)",linen:"rgb(250, 240, 230)",magenta:"rgb(255, 0, 255)",maroon:"rgb(128, 0, 0)",mediumaquamarine:"rgb(102, 205, 170)",mediumblue:"rgb( 0, 0, 205)",mediumorchid:"rgb(186, 85, 211)",mediumpurple:"rgb(147, 112, 219)",mediumseagreen:"rgb( 60, 179, 113)",mediumslateblue:"rgb(123, 104, 238)",mediumspringgreen:"rgb( 0, 250, 154)",mediumturquoise:"rgb( 72, 209, 204)",mediumvioletred:"rgb(199, 21, 133)",midnightblue:"rgb( 25, 25, 112)",mintcream:"rgb(245, 255, 250)",mistyrose:"rgb(255, 228, 225)",moccasin:"rgb(255, 228, 181)",navajowhite:"rgb(255, 222, 173)",navy:"rgb( 0, 0, 128)",oldlace:"rgb(253, 245, 230)",olive:"rgb(128, 128, 0)",olivedrab:"rgb(107, 142, 35)",orange:"rgb(255, 165, 0)",orangered:"rgb(255, 69, 0)",orchid:"rgb(218, 112, 214)",palegoldenrod:"rgb(238, 232, 170)",palegreen:"rgb(152, 251, 152)",paleturquoise:"rgb(175, 238, 238)",palevioletred:"rgb(219, 112, 147)",papayawhip:"rgb(255, 239, 213)",peachpuff:"rgb(255, 218, 185)",peru:"rgb(205, 133, 63)",pink:"rgb(255, 192, 203)",plum:"rgb(221, 160, 221)",powderblue:"rgb(176, 224, 230)",purple:"rgb(128, 0, 128)",red:"rgb(255, 0, 0)",rosybrown:"rgb(188, 143, 143)",royalblue:"rgb( 65, 105, 225)",saddlebrown:"rgb(139, 69, 19)",salmon:"rgb(250, 128, 114)",sandybrown:"rgb(244, 164, 96)",seagreen:"rgb( 46, 139, 87)",seashell:"rgb(255, 245, 238)",sienna:"rgb(160, 82, 45)",silver:"rgb(192, 192, 192)",skyblue:"rgb(135, 206, 235)",slateblue:"rgb(106, 90, 205)",slategray:"rgb(112, 128, 144)",slategrey:"rgb(112, 128, 144)",snow:"rgb(255, 250, 250)",springgreen:"rgb( 0, 255, 127)",steelblue:"rgb( 70, 130, 180)",tan:"rgb(210, 180, 140)",teal:"rgb( 0, 128, 128)",thistle:"rgb(216, 191, 216)",tomato:"rgb(255, 99, 71)",turquoise:"rgb( 64, 224, 208)",violet:"rgb(238, 130, 238)",wheat:"rgb(245, 222, 179)",white:"rgb(255, 255, 255)",whitesmoke:"rgb(245, 245, 245)",yellow:"rgb(255, 255, 0)",yellowgreen:"rgb(154, 205, 50)"};H.jqplot.AxisLabelRenderer=function(ab){H.jqplot.ElemContainer.call(this);this.axis;this.show=true;this.label="";this.fontFamily=null;this.fontSize=null;this.textColor=null;this._elem;this.escapeHTML=false;H.extend(true,this,ab)};H.jqplot.AxisLabelRenderer.prototype=new H.jqplot.ElemContainer();H.jqplot.AxisLabelRenderer.prototype.constructor=H.jqplot.AxisLabelRenderer;H.jqplot.AxisLabelRenderer.prototype.init=function(ab){H.extend(true,this,ab)};H.jqplot.AxisLabelRenderer.prototype.draw=function(ab,ac){if(this._elem){this._elem.emptyForce();this._elem=null}this._elem=H('');if(Number(this.label)){this._elem.css("white-space","nowrap")}if(!this.escapeHTML){this._elem.html(this.label)}else{this._elem.text(this.label)}if(this.fontFamily){this._elem.css("font-family",this.fontFamily)}if(this.fontSize){this._elem.css("font-size",this.fontSize)}if(this.textColor){this._elem.css("color",this.textColor)}return this._elem};H.jqplot.AxisLabelRenderer.prototype.pack=function(){};H.jqplot.AxisTickRenderer=function(ab){H.jqplot.ElemContainer.call(this);this.mark="outside";this.axis;this.showMark=true;this.showGridline=true;this.isMinorTick=false;this.size=4;this.markSize=6;this.show=true;this.showLabel=true;this.label=null;this.value=null;this._styles={};this.formatter=H.jqplot.DefaultTickFormatter;this.prefix="";this.suffix="";this.formatString="";this.fontFamily;this.fontSize;this.textColor;this.escapeHTML=false;this._elem;this._breakTick=false;H.extend(true,this,ab)};H.jqplot.AxisTickRenderer.prototype.init=function(ab){H.extend(true,this,ab)};H.jqplot.AxisTickRenderer.prototype=new H.jqplot.ElemContainer();H.jqplot.AxisTickRenderer.prototype.constructor=H.jqplot.AxisTickRenderer;H.jqplot.AxisTickRenderer.prototype.setTick=function(ab,ad,ac){this.value=ab;this.axis=ad;if(ac){this.isMinorTick=true}return this};H.jqplot.AxisTickRenderer.prototype.draw=function(){if(this.label===null){this.label=this.prefix+this.formatter(this.formatString,this.value)+this.suffix}var ac={position:"absolute"};if(Number(this.label)){ac.whitSpace="nowrap"}if(this._elem){this._elem.emptyForce();this._elem=null}this._elem=H(document.createElement("div"));this._elem.addClass("jqplot-"+this.axis+"-tick");if(!this.escapeHTML){this._elem.html(this.label)}else{this._elem.text(this.label)}this._elem.css(ac);for(var ab in this._styles){this._elem.css(ab,this._styles[ab])}if(this.fontFamily){this._elem.css("font-family",this.fontFamily)}if(this.fontSize){this._elem.css("font-size",this.fontSize)}if(this.textColor){this._elem.css("color",this.textColor)}if(this._breakTick){this._elem.addClass("jqplot-breakTick")}return this._elem};H.jqplot.DefaultTickFormatter=function(ab,ac){if(typeof ac=="number"){if(!ab){ab=H.jqplot.config.defaultTickFormatString}return H.jqplot.sprintf(ab,ac)}else{return String(ac)}};H.jqplot.PercentTickFormatter=function(ab,ac){if(typeof ac=="number"){ac=100*ac;if(!ab){ab=H.jqplot.config.defaultTickFormatString}return H.jqplot.sprintf(ab,ac)}else{return String(ac)}};H.jqplot.AxisTickRenderer.prototype.pack=function(){};H.jqplot.CanvasGridRenderer=function(){this.shadowRenderer=new H.jqplot.ShadowRenderer()};H.jqplot.CanvasGridRenderer.prototype.init=function(ac){this._ctx;H.extend(true,this,ac);var ab={lineJoin:"miter",lineCap:"round",fill:false,isarc:false,angle:this.shadowAngle,offset:this.shadowOffset,alpha:this.shadowAlpha,depth:this.shadowDepth,lineWidth:this.shadowWidth,closePath:false,strokeStyle:this.shadowColor};this.renderer.shadowRenderer.init(ab)};H.jqplot.CanvasGridRenderer.prototype.createElement=function(ae){var ad;if(this._elem){if(H.jqplot.use_excanvas&&window.G_vmlCanvasManager.uninitElement!==r){ad=this._elem.get(0);window.G_vmlCanvasManager.uninitElement(ad);ad=null}this._elem.emptyForce();this._elem=null}ad=ae.canvasManager.getCanvas();var ab=this._plotDimensions.width;var ac=this._plotDimensions.height;ad.width=ab;ad.height=ac;this._elem=H(ad);this._elem.addClass("jqplot-grid-canvas");this._elem.css({position:"absolute",left:0,top:0});ad=ae.canvasManager.initCanvas(ad);this._top=this._offsets.top;this._bottom=ac-this._offsets.bottom;this._left=this._offsets.left;this._right=ab-this._offsets.right;this._width=this._right-this._left;this._height=this._bottom-this._top;ad=null;return this._elem};H.jqplot.CanvasGridRenderer.prototype.draw=function(){this._ctx=this._elem.get(0).getContext("2d");var am=this._ctx;var ap=this._axes;am.save();am.clearRect(0,0,this._plotDimensions.width,this._plotDimensions.height);am.fillStyle=this.backgroundColor||this.background;am.fillRect(this._left,this._top,this._width,this._height);am.save();am.lineJoin="miter";am.lineCap="butt";am.lineWidth=this.gridLineWidth;am.strokeStyle=this.gridLineColor;var at,ar,aj,ak;var ag=["xaxis","yaxis","x2axis","y2axis"];for(var aq=4;aq>0;aq--){var aw=ag[aq-1];var ab=ap[aw];var au=ab._ticks;var al=au.length;if(ab.show){if(ab.drawBaseline){var av={};if(ab.baselineWidth!==null){av.lineWidth=ab.baselineWidth}if(ab.baselineColor!==null){av.strokeStyle=ab.baselineColor}switch(aw){case"xaxis":ai(this._left,this._bottom,this._right,this._bottom,av);break;case"yaxis":ai(this._left,this._bottom,this._left,this._top,av);break;case"x2axis":ai(this._left,this._bottom,this._right,this._bottom,av);break;case"y2axis":ai(this._right,this._bottom,this._right,this._top,av);break}}for(var an=al;an>0;an--){var ah=au[an-1];if(ah.show){var ae=Math.round(ab.u2p(ah.value))+0.5;switch(aw){case"xaxis":if(ah.showGridline&&this.drawGridlines&&((!ah.isMinorTick&&ab.drawMajorGridlines)||(ah.isMinorTick&&ab.drawMinorGridlines))){ai(ae,this._top,ae,this._bottom)}if(ah.showMark&&ah.mark&&((!ah.isMinorTick&&ab.drawMajorTickMarks)||(ah.isMinorTick&&ab.drawMinorTickMarks))){aj=ah.markSize;ak=ah.mark;var ae=Math.round(ab.u2p(ah.value))+0.5;switch(ak){case"outside":at=this._bottom;ar=this._bottom+aj;break;case"inside":at=this._bottom-aj;ar=this._bottom;break;case"cross":at=this._bottom-aj;ar=this._bottom+aj;break;default:at=this._bottom;ar=this._bottom+aj;break}if(this.shadow){this.renderer.shadowRenderer.draw(am,[[ae,at],[ae,ar]],{lineCap:"butt",lineWidth:this.gridLineWidth,offset:this.gridLineWidth*0.75,depth:2,fill:false,closePath:false})}ai(ae,at,ae,ar)}break;case"yaxis":if(ah.showGridline&&this.drawGridlines&&((!ah.isMinorTick&&ab.drawMajorGridlines)||(ah.isMinorTick&&ab.drawMinorGridlines))){ai(this._right,ae,this._left,ae)}if(ah.showMark&&ah.mark&&((!ah.isMinorTick&&ab.drawMajorTickMarks)||(ah.isMinorTick&&ab.drawMinorTickMarks))){aj=ah.markSize;ak=ah.mark;var ae=Math.round(ab.u2p(ah.value))+0.5;switch(ak){case"outside":at=this._left-aj;ar=this._left;break;case"inside":at=this._left;ar=this._left+aj;break;case"cross":at=this._left-aj;ar=this._left+aj;break;default:at=this._left-aj;ar=this._left;break}if(this.shadow){this.renderer.shadowRenderer.draw(am,[[at,ae],[ar,ae]],{lineCap:"butt",lineWidth:this.gridLineWidth*1.5,offset:this.gridLineWidth*0.75,fill:false,closePath:false})}ai(at,ae,ar,ae,{strokeStyle:ab.borderColor})}break;case"x2axis":if(ah.showGridline&&this.drawGridlines&&((!ah.isMinorTick&&ab.drawMajorGridlines)||(ah.isMinorTick&&ab.drawMinorGridlines))){ai(ae,this._bottom,ae,this._top)}if(ah.showMark&&ah.mark&&((!ah.isMinorTick&&ab.drawMajorTickMarks)||(ah.isMinorTick&&ab.drawMinorTickMarks))){aj=ah.markSize;ak=ah.mark;var ae=Math.round(ab.u2p(ah.value))+0.5;switch(ak){case"outside":at=this._top-aj;ar=this._top;break;case"inside":at=this._top;ar=this._top+aj;break;case"cross":at=this._top-aj;ar=this._top+aj;break;default:at=this._top-aj;ar=this._top;break}if(this.shadow){this.renderer.shadowRenderer.draw(am,[[ae,at],[ae,ar]],{lineCap:"butt",lineWidth:this.gridLineWidth,offset:this.gridLineWidth*0.75,depth:2,fill:false,closePath:false})}ai(ae,at,ae,ar)}break;case"y2axis":if(ah.showGridline&&this.drawGridlines&&((!ah.isMinorTick&&ab.drawMajorGridlines)||(ah.isMinorTick&&ab.drawMinorGridlines))){ai(this._left,ae,this._right,ae)}if(ah.showMark&&ah.mark&&((!ah.isMinorTick&&ab.drawMajorTickMarks)||(ah.isMinorTick&&ab.drawMinorTickMarks))){aj=ah.markSize;ak=ah.mark;var ae=Math.round(ab.u2p(ah.value))+0.5;switch(ak){case"outside":at=this._right;ar=this._right+aj;break;case"inside":at=this._right-aj;ar=this._right;break;case"cross":at=this._right-aj;ar=this._right+aj;break;default:at=this._right;ar=this._right+aj;break}if(this.shadow){this.renderer.shadowRenderer.draw(am,[[at,ae],[ar,ae]],{lineCap:"butt",lineWidth:this.gridLineWidth*1.5,offset:this.gridLineWidth*0.75,fill:false,closePath:false})}ai(at,ae,ar,ae,{strokeStyle:ab.borderColor})}break;default:break}}}ah=null}ab=null;au=null}ag=["y3axis","y4axis","y5axis","y6axis","y7axis","y8axis","y9axis","yMidAxis"];for(var aq=7;aq>0;aq--){var ab=ap[ag[aq-1]];var au=ab._ticks;if(ab.show){var ac=au[ab.numberTicks-1];var af=au[0];var ad=ab.getLeft();var ao=[[ad,ac.getTop()+ac.getHeight()/2],[ad,af.getTop()+af.getHeight()/2+1]];if(this.shadow){this.renderer.shadowRenderer.draw(am,ao,{lineCap:"butt",fill:false,closePath:false})}ai(ao[0][0],ao[0][1],ao[1][0],ao[1][1],{lineCap:"butt",strokeStyle:ab.borderColor,lineWidth:ab.borderWidth});for(var an=au.length;an>0;an--){var ah=au[an-1];aj=ah.markSize;ak=ah.mark;var ae=Math.round(ab.u2p(ah.value))+0.5;if(ah.showMark&&ah.mark){switch(ak){case"outside":at=ad;ar=ad+aj;break;case"inside":at=ad-aj;ar=ad;break;case"cross":at=ad-aj;ar=ad+aj;break;default:at=ad;ar=ad+aj;break}ao=[[at,ae],[ar,ae]];if(this.shadow){this.renderer.shadowRenderer.draw(am,ao,{lineCap:"butt",lineWidth:this.gridLineWidth*1.5,offset:this.gridLineWidth*0.75,fill:false,closePath:false})}ai(at,ae,ar,ae,{strokeStyle:ab.borderColor})}ah=null}af=null}ab=null;au=null}am.restore();function ai(aB,aA,ay,ax,az){am.save();az=az||{};if(az.lineWidth==null||az.lineWidth!=0){H.extend(true,am,az);am.beginPath();am.moveTo(aB,aA);am.lineTo(ay,ax);am.stroke();am.restore()}}if(this.shadow){var ao=[[this._left,this._bottom],[this._right,this._bottom],[this._right,this._top]];this.renderer.shadowRenderer.draw(am,ao)}if(this.borderWidth!=0&&this.drawBorder){ai(this._left,this._top,this._right,this._top,{lineCap:"round",strokeStyle:ap.x2axis.borderColor,lineWidth:ap.x2axis.borderWidth});ai(this._right,this._top,this._right,this._bottom,{lineCap:"round",strokeStyle:ap.y2axis.borderColor,lineWidth:ap.y2axis.borderWidth});ai(this._right,this._bottom,this._left,this._bottom,{lineCap:"round",strokeStyle:ap.xaxis.borderColor,lineWidth:ap.xaxis.borderWidth});ai(this._left,this._bottom,this._left,this._top,{lineCap:"round",strokeStyle:ap.yaxis.borderColor,lineWidth:ap.yaxis.borderWidth})}am.restore();am=null;ap=null};H.jqplot.DivTitleRenderer=function(){};H.jqplot.DivTitleRenderer.prototype.init=function(ab){H.extend(true,this,ab)};H.jqplot.DivTitleRenderer.prototype.draw=function(){if(this._elem){this._elem.emptyForce();this._elem=null}var ae=this.renderer;var ad=document.createElement("div");this._elem=H(ad);this._elem.addClass("jqplot-title");if(!this.text){this.show=false;this._elem.height(0);this._elem.width(0)}else{if(this.text){var ab;if(this.color){ab=this.color}else{if(this.textColor){ab=this.textColor}}var ac={position:"absolute",top:"0px",left:"0px"};if(this._plotWidth){ac.width=this._plotWidth+"px"}if(this.fontSize){ac.fontSize=this.fontSize}if(typeof this.textAlign==="string"){ac.textAlign=this.textAlign}else{ac.textAlign="center"}if(ab){ac.color=ab}if(this.paddingBottom){ac.paddingBottom=this.paddingBottom}if(this.fontFamily){ac.fontFamily=this.fontFamily}this._elem.css(ac);if(this.escapeHtml){this._elem.text(this.text)}else{this._elem.html(this.text)}}}ad=null;return this._elem};H.jqplot.DivTitleRenderer.prototype.pack=function(){};var o=0.1;H.jqplot.LinePattern=function(ap,ak){var aj={dotted:[o,H.jqplot.config.dotGapLength],dashed:[H.jqplot.config.dashLength,H.jqplot.config.gapLength],solid:null};if(typeof ak==="string"){if(ak[0]==="."||ak[0]==="-"){var aq=ak;ak=[];for(var ai=0,af=aq.length;ai0)&&(aw>0)){au/=av;at/=av;while(true){var ax=aw*al;if(ax=ak.length){ae=0}al=ak[ae]}else{an=ar;am=ay;if((ae&1)==0){ap.lineTo(an,am)}else{ap.moveTo(an,am)}al-=av/aw;break}}}};var ac=function(){ap.beginPath()};var ag=function(){ad(ah,ab)};return{moveTo:ao,lineTo:ad,beginPath:ac,closePath:ag}};H.jqplot.LineRenderer=function(){this.shapeRenderer=new H.jqplot.ShapeRenderer();this.shadowRenderer=new H.jqplot.ShadowRenderer()};H.jqplot.LineRenderer.prototype.init=function(ac,ah){ac=ac||{};this._type="line";this.renderer.animation={show:false,direction:"left",speed:2500,_supported:true};this.renderer.smooth=false;this.renderer.tension=null;this.renderer.constrainSmoothing=true;this.renderer._smoothedData=[];this.renderer._smoothedPlotData=[];this.renderer._hiBandGridData=[];this.renderer._lowBandGridData=[];this.renderer._hiBandSmoothedData=[];this.renderer._lowBandSmoothedData=[];this.renderer.bandData=[];this.renderer.bands={show:false,hiData:[],lowData:[],color:this.color,showLines:false,fill:true,fillColor:null,_min:null,_max:null,interval:"3%"};var af={highlightMouseOver:ac.highlightMouseOver,highlightMouseDown:ac.highlightMouseDown,highlightColor:ac.highlightColor};delete (ac.highlightMouseOver);delete (ac.highlightMouseDown);delete (ac.highlightColor);H.extend(true,this.renderer,ac);this.renderer.options=ac;if(this.renderer.bandData.length>1&&(!ac.bands||ac.bands.show==null)){this.renderer.bands.show=true}else{if(ac.bands&&ac.bands.show==null&&ac.bands.interval!=null){this.renderer.bands.show=true}}if(this.fill){this.renderer.bands.show=false}if(this.renderer.bands.show){this.renderer.initBands.call(this,this.renderer.options,ah)}if(this._stack){this.renderer.smooth=false}var ag={lineJoin:this.lineJoin,lineCap:this.lineCap,fill:this.fill,isarc:false,strokeStyle:this.color,fillStyle:this.fillColor,lineWidth:this.lineWidth,linePattern:this.linePattern,closePath:this.fill};this.renderer.shapeRenderer.init(ag);var ad=ac.shadowOffset;if(ad==null){if(this.lineWidth>2.5){ad=1.25*(1+(Math.atan((this.lineWidth/2.5))/0.785398163-1)*0.6)}else{ad=1.25*Math.atan((this.lineWidth/2.5))/0.785398163}}var ab={lineJoin:this.lineJoin,lineCap:this.lineCap,fill:this.fill,isarc:false,angle:this.shadowAngle,offset:ad,alpha:this.shadowAlpha,depth:this.shadowDepth,lineWidth:this.lineWidth,linePattern:this.linePattern,closePath:this.fill};this.renderer.shadowRenderer.init(ab);this._areaPoints=[];this._boundingBox=[[],[]];if(!this.isTrendline&&this.fill||this.renderer.bands.show){this.highlightMouseOver=true;this.highlightMouseDown=false;this.highlightColor=null;if(af.highlightMouseDown&&af.highlightMouseOver==null){af.highlightMouseOver=false}H.extend(true,this,{highlightMouseOver:af.highlightMouseOver,highlightMouseDown:af.highlightMouseDown,highlightColor:af.highlightColor});if(!this.highlightColor){var ae=(this.renderer.bands.show)?this.renderer.bands.fillColor:this.fillColor;this.highlightColor=H.jqplot.computeHighlightColors(ae)}if(this.highlighter){this.highlighter.show=false}}if(!this.isTrendline&&ah){ah.plugins.lineRenderer={};ah.postInitHooks.addOnce(v);ah.postDrawHooks.addOnce(Z);ah.eventListenerHooks.addOnce("jqplotMouseMove",g);ah.eventListenerHooks.addOnce("jqplotMouseDown",d);ah.eventListenerHooks.addOnce("jqplotMouseUp",Y);ah.eventListenerHooks.addOnce("jqplotClick",f);ah.eventListenerHooks.addOnce("jqplotRightClick",p)}};H.jqplot.LineRenderer.prototype.initBands=function(ae,ao){var af=ae.bandData||[];var ah=this.renderer.bands;ah.hiData=[];ah.lowData=[];var av=this.data;ah._max=null;ah._min=null;if(af.length==2){if(H.isArray(af[0][0])){var ai;var ab=0,al=0;for(var ap=0,am=af[0].length;apah._max)||ah._max==null){ah._max=ai[1]}if((ai[1]!=null&&ai[1]ah._max)||ah._max==null){ah._max=ai[1];al=1}if((ai[1]!=null&&ai[1]af[1][0])?0:1;var aw=(ad)?0:1;for(var ap=0,am=av.length;ap2&&!H.isArray(af[0][0])){var ad=(af[0][0]>af[0][1])?0:1;var aw=(ad)?0:1;for(var ap=0,am=af.length;apah._max)||ah._max==null){ah._max=ag[ap][1]}}for(var ap=0,am=aj.length;ap0){aL=Math.abs((aj[aK][1]-aj[aK-1][1])/(aj[aK][0]-aj[aK-1][0]))}ag=aL/aA+ay;aG=az*w(ag)-az*w(ay)+aM;aN=(aI+aG)/2}else{aN=aO}for(aE=0;aE2){var ai;if(this.renderer.constrainSmoothing){ai=F.call(this,this.gridData);this.renderer._smoothedData=ai[0];this.renderer._smoothedPlotData=ai[1];if(ae.show){ai=F.call(this,this.renderer._hiBandGridData);this.renderer._hiBandSmoothedData=ai[0];ai=F.call(this,this.renderer._lowBandGridData);this.renderer._lowBandSmoothedData=ai[0]}ai=null}else{ai=B.call(this,this.gridData);this.renderer._smoothedData=ai[0];this.renderer._smoothedPlotData=ai[1];if(ae.show){ai=B.call(this,this.renderer._hiBandGridData);this.renderer._hiBandSmoothedData=ai[0];ai=B.call(this,this.renderer._lowBandGridData);this.renderer._lowBandSmoothedData=ai[0]}ai=null}}};H.jqplot.LineRenderer.prototype.makeGridData=function(ai,ak){var ag=this._xaxis.series_u2p;var ab=this._yaxis.series_u2p;var al=[];var ad=[];this.renderer._smoothedData=[];this.renderer._smoothedPlotData=[];this.renderer._hiBandGridData=[];this.renderer._lowBandGridData=[];this.renderer._hiBandSmoothedData=[];this.renderer._lowBandSmoothedData=[];var af=this.renderer.bands;var ac=false;for(var ah=0;ah2){var aj;if(this.renderer.constrainSmoothing){aj=F.call(this,al);this.renderer._smoothedData=aj[0];this.renderer._smoothedPlotData=aj[1];if(af.show){aj=F.call(this,this.renderer._hiBandGridData);this.renderer._hiBandSmoothedData=aj[0];aj=F.call(this,this.renderer._lowBandGridData);this.renderer._lowBandSmoothedData=aj[0]}aj=null}else{aj=B.call(this,al);this.renderer._smoothedData=aj[0];this.renderer._smoothedPlotData=aj[1];if(af.show){aj=B.call(this,this.renderer._hiBandGridData);this.renderer._hiBandSmoothedData=aj[0];aj=B.call(this,this.renderer._lowBandGridData);this.renderer._lowBandSmoothedData=aj[0]}aj=null}}return al};H.jqplot.LineRenderer.prototype.draw=function(aq,aC,ac,av){var aw;var ak=H.extend(true,{},ac);var ae=(ak.shadow!=r)?ak.shadow:this.shadow;var aD=(ak.showLine!=r)?ak.showLine:this.showLine;var au=(ak.fill!=r)?ak.fill:this.fill;var ab=(ak.fillAndStroke!=r)?ak.fillAndStroke:this.fillAndStroke;var al,ar,ao,ay;aq.save();if(aC.length){if(aD){if(au){if(this.fillToZero){var az=this.negativeColor;if(!this.useNegativeColors){az=ak.fillStyle}var ai=false;var aj=ak.fillStyle;if(ab){var aB=aC.slice(0)}if(this.index==0||!this._stack){var ap=[];var aF=(this.renderer.smooth)?this.renderer._smoothedPlotData:this._plotData;this._areaPoints=[];var aA=this._yaxis.series_u2p(this.fillToValue);var ad=this._xaxis.series_u2p(this.fillToValue);ak.closePath=true;if(this.fillAxis=="y"){ap.push([aC[0][0],aA]);this._areaPoints.push([aC[0][0],aA]);for(var aw=0;aw0;aw--){aC.push(an[aw-1])}if(ae){this.renderer.shadowRenderer.draw(aq,aC,ak)}this._areaPoints=aC;this.renderer.shapeRenderer.draw(aq,aC,ak)}}else{if(ab){var aB=aC.slice(0)}if(this.index==0||!this._stack){var af=aq.canvas.height;aC.unshift([aC[0][0],af]);var ax=aC.length;aC.push([aC[ax-1][0],af])}else{var an=this._prevGridData;for(var aw=an.length;aw>0;aw--){aC.push(an[aw-1])}}this._areaPoints=aC;if(ae){this.renderer.shadowRenderer.draw(aq,aC,ak)}this.renderer.shapeRenderer.draw(aq,aC,ak)}if(ab){var at=H.extend(true,{},ak,{fill:false,closePath:false});this.renderer.shapeRenderer.draw(aq,aB,at);if(this.markerRenderer.show){if(this.renderer.smooth){aB=this.gridData}for(aw=0;awam[0]||al==null){al=am[0]}if(ayam[1]||ar==null){ar=am[1]}}if(this.type==="line"&&this.renderer.bands.show){ay=this._yaxis.series_u2p(this.renderer.bands._min);ar=this._yaxis.series_u2p(this.renderer.bands._max)}this._boundingBox=[[al,ay],[ao,ar]];if(this.markerRenderer.show&&!au){if(this.renderer.smooth){aC=this.gridData}for(aw=0;awai){ai=ad}}}af=null;ag=null;if(ab){ac=this._label._elem.outerWidth(true);ah=this._label._elem.outerHeight(true)}if(this.name=="xaxis"){ai=ai+ah;this._elem.css({height:ai+"px",left:"0px",bottom:"0px"})}else{if(this.name=="x2axis"){ai=ai+ah;this._elem.css({height:ai+"px",left:"0px",top:"0px"})}else{if(this.name=="yaxis"){ai=ai+ac;this._elem.css({width:ai+"px",left:"0px",top:"0px"});if(ab&&this._label.constructor==H.jqplot.AxisLabelRenderer){this._label._elem.css("width",ac+"px")}}else{ai=ai+ac;this._elem.css({width:ai+"px",right:"0px",top:"0px"});if(ab&&this._label.constructor==H.jqplot.AxisLabelRenderer){this._label._elem.css("width",ac+"px")}}}}}};H.jqplot.LinearAxisRenderer.prototype.createTicks=function(ad){var aN=this._ticks;var aE=this.ticks;var at=this.name;var av=this._dataBounds;var ab=(this.name.charAt(0)==="x")?this._plotDimensions.width:this._plotDimensions.height;var ah;var a0,aC;var aj,ai;var aY,aU;var aB=this.min;var aZ=this.max;var aQ=this.numberTicks;var a4=this.tickInterval;var ag=30;this._scalefact=(Math.max(ab,ag+1)-ag)/300;if(aE.length){for(aU=0;aUthis.breakPoints[0]&&aI[0]<=this.breakPoints[1]){aO.show=false;aO.showGridline=false;aO.label=aI[1]}else{aO.label=aI[1]}}}else{aO.label=aI[1]}aO.setTick(aI[0],this.name);this._ticks.push(aO)}else{if(H.isPlainObject(aI)){H.extend(true,aO,aI);aO.axis=this.name;this._ticks.push(aO)}else{aO.value=aI;if(this.breakPoints){if(aI==this.breakPoints[0]){aO.label=this.breakTickLabel;aO._breakTick=true;aO.showGridline=false;aO.showMark=false}else{if(aI>this.breakPoints[0]&&aI<=this.breakPoints[1]){aO.show=false;aO.showGridline=false}}}aO.setTick(aI,this.name);this._ticks.push(aO)}}}this.numberTicks=aE.length;this.min=this._ticks[0].value;this.max=this._ticks[this.numberTicks-1].value;this.tickInterval=(this.max-this.min)/(this.numberTicks-1)}else{if(at=="xaxis"||at=="x2axis"){ab=this._plotDimensions.width}else{ab=this._plotDimensions.height}var aq=this.numberTicks;if(this.alignTicks){if(this.name==="x2axis"&&ad.axes.xaxis.show){aq=ad.axes.xaxis.numberTicks}else{if(this.name.charAt(0)==="y"&&this.name!=="yaxis"&&this.name!=="yMidAxis"&&ad.axes.yaxis.show){aq=ad.axes.yaxis.numberTicks}}}a0=((this.min!=null)?this.min:av.min);aC=((this.max!=null)?this.max:av.max);var ao=aC-a0;var aM,ar;var am;if(this.tickOptions==null||!this.tickOptions.formatString){this._overrideFormatString=true}if(this.min==null||this.max==null&&this.tickInterval==null&&!this.autoscale){if(this.forceTickAt0){if(a0>0){a0=0}if(aC<0){aC=0}}if(this.forceTickAt100){if(a0>100){a0=100}if(aC<100){aC=100}}var ay=false,aV=false;if(this.min!=null){ay=true}else{if(this.max!=null){aV=true}}var aJ=H.jqplot.LinearTickGenerator(a0,aC,this._scalefact,aq,ay,aV);var ap=(this.min!=null)?a0:a0+ao*(this.padMin-1);var aK=(this.max!=null)?aC:aC-ao*(this.padMax-1);if(a0aK){ap=(this.min!=null)?a0:a0-ao*(this.padMin-1);aK=(this.max!=null)?aC:aC+ao*(this.padMax-1);aJ=H.jqplot.LinearTickGenerator(ap,aK,this._scalefact,aq,ay,aV)}this.min=aJ[0];this.max=aJ[1];this.numberTicks=aJ[2];this._autoFormatString=aJ[3];this.tickInterval=aJ[4]}else{if(a0==aC){var ac=0.05;if(a0>0){ac=Math.max(Math.log(a0)/Math.LN10,0.05)}a0-=ac;aC+=ac}if(this.autoscale&&this.min==null&&this.max==null){var ae,af,al;var aw=false;var aH=false;var au={min:null,max:null,average:null,stddev:null};for(var aU=0;aUaW){aW=aL[aT]}}}var an=(aW-aA)/aW;if(aP.renderer.constructor==H.jqplot.BarRenderer){if(aA>=0&&(aP.fillToZero||an>0.1)){aw=true}else{aw=false;if(aP.fill&&aP.fillToZero&&aA<0&&aW>0){aH=true}else{aH=false}}}else{if(aP.fill){if(aA>=0&&(aP.fillToZero||an>0.1)){aw=true}else{if(aA<0&&aW>0&&aP.fillToZero){aw=false;aH=true}else{aw=false;aH=false}}}else{if(aA<0){aw=false}}}}}if(aw){this.numberTicks=2+Math.ceil((ab-(this.tickSpacing-1))/this.tickSpacing);this.min=0;aB=0;af=aC/(this.numberTicks-1);am=Math.pow(10,Math.abs(Math.floor(Math.log(af)/Math.LN10)));if(af/am==parseInt(af/am,10)){af+=am}this.tickInterval=Math.ceil(af/am)*am;this.max=this.tickInterval*(this.numberTicks-1)}else{if(aH){this.numberTicks=2+Math.ceil((ab-(this.tickSpacing-1))/this.tickSpacing);var aD=Math.ceil(Math.abs(a0)/ao*(this.numberTicks-1));var a3=this.numberTicks-1-aD;af=Math.max(Math.abs(a0/aD),Math.abs(aC/a3));am=Math.pow(10,Math.abs(Math.floor(Math.log(af)/Math.LN10)));this.tickInterval=Math.ceil(af/am)*am;this.max=this.tickInterval*a3;this.min=-this.tickInterval*aD}else{if(this.numberTicks==null){if(this.tickInterval){this.numberTicks=3+Math.ceil(ao/this.tickInterval)}else{this.numberTicks=2+Math.ceil((ab-(this.tickSpacing-1))/this.tickSpacing)}}if(this.tickInterval==null){af=ao/(this.numberTicks-1);if(af<1){am=Math.pow(10,Math.abs(Math.floor(Math.log(af)/Math.LN10)))}else{am=1}this.tickInterval=Math.ceil(af*am*this.pad)/am}else{am=1/this.tickInterval}ae=this.tickInterval*(this.numberTicks-1);al=(ae-ao)/2;if(this.min==null){this.min=Math.floor(am*(a0-al))/am}if(this.max==null){this.max=this.min+ae}}}var az=H.jqplot.getSignificantFigures(this.tickInterval);var aG;if(az.digitsLeft>=az.significantDigits){aG="%d"}else{var am=Math.max(0,5-az.digitsLeft);am=Math.min(am,az.digitsRight);aG="%."+am+"f"}this._autoFormatString=aG}else{aM=(this.min!=null)?this.min:a0-ao*(this.padMin-1);ar=(this.max!=null)?this.max:aC+ao*(this.padMax-1);ao=ar-aM;if(this.numberTicks==null){if(this.tickInterval!=null){this.numberTicks=Math.ceil((ar-aM)/this.tickInterval)+1}else{if(ab>100){this.numberTicks=parseInt(3+(ab-100)/75,10)}else{this.numberTicks=2}}}if(this.tickInterval==null){this.tickInterval=ao/(this.numberTicks-1)}if(this.max==null){ar=aM+this.tickInterval*(this.numberTicks-1)}if(this.min==null){aM=ar-this.tickInterval*(this.numberTicks-1)}var az=H.jqplot.getSignificantFigures(this.tickInterval);var aG;if(az.digitsLeft>=az.significantDigits){aG="%d"}else{var am=Math.max(0,5-az.digitsLeft);am=Math.min(am,az.digitsRight);aG="%."+am+"f"}this._autoFormatString=aG;this.min=aM;this.max=ar}if(this.renderer.constructor==H.jqplot.LinearAxisRenderer&&this._autoFormatString==""){ao=this.max-this.min;var a1=new this.tickRenderer(this.tickOptions);var aF=a1.formatString||H.jqplot.config.defaultTickFormatString;var aF=aF.match(H.jqplot.sprintf.regex)[0];var aX=0;if(aF){if(aF.search(/[fFeEgGpP]/)>-1){var aS=aF.match(/\%\.(\d{0,})?[eEfFgGpP]/);if(aS){aX=parseInt(aS[1],10)}else{aX=6}}else{if(aF.search(/[di]/)>-1){aX=0}}var ak=Math.pow(10,-aX);if(this.tickIntervalthis.breakPoints[0]&&authis.breakPoints[0]&&authis.breakPoints[0]&&au=this.breakPoints[1]){return(au-an)*ae/af}else{return(au+this.breakPoints[1]-this.breakPoints[0]-an)*ae/af}};this.series_p2u=function(au){return au*af/ae+an}}}else{this.p2u=function(au){return(au-ag)*af/ae+am};this.u2p=function(au){return(au-am)*ae/af+ag};if(this.name=="xaxis"||this.name=="x2axis"){this.series_u2p=function(au){return(au-am)*ae/af};this.series_p2u=function(au){return au*af/ae+am}}else{this.series_u2p=function(au){return(au-an)*ae/af};this.series_p2u=function(au){return au*af/ae+an}}}if(this.show){if(this.name=="xaxis"||this.name=="x2axis"){for(var ao=0;ao0){ab=-aj._textRenderer.height*Math.cos(-aj._textRenderer.angle)/2}else{ab=-aj.getHeight()+aj._textRenderer.height*Math.cos(aj._textRenderer.angle)/2}break;case"middle":ab=-aj.getHeight()/2;break;default:ab=-aj.getHeight()/2;break}}else{ab=-aj.getHeight()/2}var at=this.u2p(aj.value)+ab+"px";aj._elem.css("top",at);aj.pack()}}if(ak){var ap=this._label._elem.outerHeight(true);this._label._elem.css("top",ai-ae/2-ap/2+"px");if(this.name=="yaxis"){this._label._elem.css("left","0px")}else{this._label._elem.css("right","0px")}this._label.pack()}}}ar=null};function h(ac){var ab;ac=Math.abs(ac);if(ac>=10){ab="%d"}else{if(ac>1){if(ac===parseInt(ac,10)){ab="%d"}else{ab="%.1f"}}else{var ad=-Math.floor(Math.log(ac)/Math.LN10);ab="%."+ad+"f"}}return ab}var a=[0.1,0.2,0.3,0.4,0.5,0.8,1,2,3,4,5];var b=function(ac){var ab=a.indexOf(ac);if(ab>0){return a[ab-1]}else{return a[a.length-1]/100}};var i=function(ac){var ab=a.indexOf(ac);if(ab5){ab=10*ad}else{if(ag>2){ab=5*ad}else{if(ag>1){ab=2*ad}else{ab=ad}}}}else{if(ag>5){ab=10*ad}else{if(ag>4){ab=5*ad}else{if(ag>3){ab=4*ad}else{if(ag>2){ab=3*ad}else{if(ag>1){ab=2*ad}else{ab=ad}}}}}}return ab}function M(ac,ab){ab=ab||1;var ae=Math.floor(Math.log(ac)/Math.LN10);var ag=Math.pow(10,ae);var af=ac/ag;var ad;af=af/ab;if(af<=0.38){ad=0.1}else{if(af<=1.6){ad=0.2}else{if(af<=4){ad=0.5}else{if(af<=8){ad=1}else{if(af<=16){ad=2}else{ad=5}}}}}return ad*ag}function t(ad,ac){var af=Math.floor(Math.log(ad)/Math.LN10);var ah=Math.pow(10,af);var ag=ad/ah;var ab;var ae;ag=ag/ac;if(ag<=0.38){ae=0.1}else{if(ag<=1.6){ae=0.2}else{if(ag<=4){ae=0.5}else{if(ag<=8){ae=1}else{if(ag<=16){ae=2}else{ae=5}}}}}ab=ae*ah;return[ab,ae,ah]}H.jqplot.LinearTickGenerator=function(ah,ak,ad,ae,ai,al){ai=(ai===null)?false:ai;al=(al===null||ai)?false:al;if(ah===ak){ak=(ak)?0:1}ad=ad||1;if(akam){am=av}if(ac>au){au=ac}})}ah.width=am+Number(ao);ah.height=au+Number(aq);var ae=ah.getContext("2d");ae.save();ae.fillStyle=af;ae.fillRect(0,0,ah.width,ah.height);ae.restore();ae.translate(an,al);ae.textAlign="left";ae.textBaseline="top";function aw(ay){var az=parseInt(H(ay).css("line-height"),10);if(isNaN(az)){az=parseInt(H(ay).css("font-size"),10)*1.2}return az}function ax(az,ay,aM,aA,aI,aB){var aK=aw(az);var aE=H(az).innerWidth();var aF=H(az).innerHeight();var aH=aM.split(/\s+/);var aL=aH.length;var aJ="";var aG=[];var aO=aI;var aN=aA;for(var aD=0;aDaE){aG.push(aD);aJ="";aD--}}if(aG.length===0){if(H(az).css("textAlign")==="center"){aN=aA+(aB-ay.measureText(aJ).width)/2-an}ay.fillText(aM,aN,aI)}else{aJ=aH.slice(0,aG[0]).join(" ");if(H(az).css("textAlign")==="center"){aN=aA+(aB-ay.measureText(aJ).width)/2-an}ay.fillText(aJ,aN,aO);aO+=aK;for(var aD=1,aC=aG.length;aD0){ae.strokeRect(aC,aF,H(aA).innerWidth(),H(aA).innerHeight())}H(aA).find("div.jqplot-table-legend-swatch-outline").each(function(){var aO=H(this);ae.strokeStyle=aO.css("border-top-color");var aK=aC+aO.position().left;var aL=aF+aO.position().top;ae.strokeRect(aK,aL,aO.innerWidth(),aO.innerHeight());aK+=parseInt(aO.css("padding-left"),10);aL+=parseInt(aO.css("padding-top"),10);var aN=aO.innerHeight()-2*parseInt(aO.css("padding-top"),10);var aJ=aO.innerWidth()-2*parseInt(aO.css("padding-left"),10);var aM=aO.children("div.jqplot-table-legend-swatch");ae.fillStyle=aM.css("background-color");ae.fillRect(aK,aL,aJ,aN)});H(aA).find("td.jqplot-table-legend-label").each(function(){var aL=H(this);var aJ=aC+aL.position().left;var aK=aF+aL.position().top+parseInt(aL.css("padding-top"),10);ae.font=aL.jqplotGetComputedFontStyle();ae.fillStyle=aL.css("color");ax(aL,ae,aL.text(),aJ,aK,aG)});var aB=null}else{if(aH=="canvas"){ae.drawImage(aA,aC,aF)}}}}H(this).children().each(function(){ap(this,ao,aq)});return ah};H.fn.jqplotToImageStr=function(ac){var ab=H(this).jqplotToImageCanvas(ac);if(ab){return ab.toDataURL("image/png")}else{return null}};H.fn.jqplotToImageElem=function(ab){var ac=document.createElement("img");var ad=H(this).jqplotToImageStr(ab);ac.src=ad;return ac};H.fn.jqplotToImageElemStr=function(ab){var ac="";return ac};H.fn.jqplotSaveImage=function(){var ab=H(this).jqplotToImageStr({});if(ab){window.location.href=ab.replace("image/png","image/octet-stream")}};H.fn.jqplotViewImage=function(){var ac=H(this).jqplotToImageElemStr({});var ad=H(this).jqplotToImageStr({});if(ac){var ab=window.open("");ab.document.open("image/png");ab.document.write(ac);ab.document.close();ab=null}};var aa=function(){this.syntax=aa.config.syntax;this._type="jsDate";this.proxy=new Date();this.options={};this.locale=aa.regional.getLocale();this.formatString="";this.defaultCentury=aa.config.defaultCentury;switch(arguments.length){case 0:break;case 1:if(j(arguments[0])=="[object Object]"&&arguments[0]._type!="jsDate"){var ad=this.options=arguments[0];this.syntax=ad.syntax||this.syntax;this.defaultCentury=ad.defaultCentury||this.defaultCentury;this.proxy=aa.createDate(ad.date)}else{this.proxy=aa.createDate(arguments[0])}break;default:var ab=[];for(var ac=0;ac0?"floor":"ceil"](ae))};aa.prototype.getAbbrDayName=function(){return aa.regional[this.locale]["dayNamesShort"][this.proxy.getDay()]};aa.prototype.getAbbrMonthName=function(){return aa.regional[this.locale]["monthNamesShort"][this.proxy.getMonth()]};aa.prototype.getAMPM=function(){return this.proxy.getHours()>=12?"PM":"AM"};aa.prototype.getAmPm=function(){return this.proxy.getHours()>=12?"pm":"am"};aa.prototype.getCentury=function(){return parseInt(this.proxy.getFullYear()/100,10)};aa.prototype.getDate=function(){return this.proxy.getDate()};aa.prototype.getDay=function(){return this.proxy.getDay()};aa.prototype.getDayOfWeek=function(){var ab=this.proxy.getDay();return ab===0?7:ab};aa.prototype.getDayOfYear=function(){var ac=this.proxy;var ab=ac-new Date(""+ac.getFullYear()+"/1/1 GMT");ab+=ac.getTimezoneOffset()*60000;ac=null;return parseInt(ab/60000/60/24,10)+1};aa.prototype.getDayName=function(){return aa.regional[this.locale]["dayNames"][this.proxy.getDay()]};aa.prototype.getFullWeekOfYear=function(){var ae=this.proxy;var ab=this.getDayOfYear();var ad=6-ae.getDay();var ac=parseInt((ab+ad)/7,10);return ac};aa.prototype.getFullYear=function(){return this.proxy.getFullYear()};aa.prototype.getGmtOffset=function(){var ab=this.proxy.getTimezoneOffset()/60;var ac=ab<0?"+":"-";ab=Math.abs(ab);return ac+J(Math.floor(ab),2)+":"+J((ab%1)*60,2)};aa.prototype.getHours=function(){return this.proxy.getHours()};aa.prototype.getHours12=function(){var ab=this.proxy.getHours();return ab>12?ab-12:(ab==0?12:ab)};aa.prototype.getIsoWeek=function(){var ae=this.proxy;var ad=ae.getWeekOfYear();var ab=(new Date(""+ae.getFullYear()+"/1/1")).getDay();var ac=ad+(ab>4||ab<=1?0:1);if(ac==53&&(new Date(""+ae.getFullYear()+"/12/31")).getDay()<4){ac=1}else{if(ac===0){ae=new aa(new Date(""+(ae.getFullYear()-1)+"/12/31"));ac=ae.getIsoWeek()}}ae=null;return ac};aa.prototype.getMilliseconds=function(){return this.proxy.getMilliseconds()};aa.prototype.getMinutes=function(){return this.proxy.getMinutes()};aa.prototype.getMonth=function(){return this.proxy.getMonth()};aa.prototype.getMonthName=function(){return aa.regional[this.locale]["monthNames"][this.proxy.getMonth()]};aa.prototype.getMonthNumber=function(){return this.proxy.getMonth()+1};aa.prototype.getSeconds=function(){return this.proxy.getSeconds()};aa.prototype.getShortYear=function(){return this.proxy.getYear()%100};aa.prototype.getTime=function(){return this.proxy.getTime()};aa.prototype.getTimezoneAbbr=function(){return this.proxy.toString().replace(/^.*\(([^)]+)\)$/,"$1")};aa.prototype.getTimezoneName=function(){var ab=/(?:\((.+)\)$| ([A-Z]{3}) )/.exec(this.toString());return ab[1]||ab[2]||"GMT"+this.getGmtOffset()};aa.prototype.getTimezoneOffset=function(){return this.proxy.getTimezoneOffset()};aa.prototype.getWeekOfYear=function(){var ab=this.getDayOfYear();var ad=7-this.getDayOfWeek();var ac=parseInt((ab+ad)/7,10);return ac};aa.prototype.getUnix=function(){return Math.round(this.proxy.getTime()/1000,0)};aa.prototype.getYear=function(){return this.proxy.getYear()};aa.prototype.next=function(ab){ab=ab||"day";return this.clone().add(1,ab)};aa.prototype.set=function(){switch(arguments.length){case 0:this.proxy=new Date();break;case 1:if(j(arguments[0])=="[object Object]"&&arguments[0]._type!="jsDate"){var ad=this.options=arguments[0];this.syntax=ad.syntax||this.syntax;this.defaultCentury=ad.defaultCentury||this.defaultCentury;this.proxy=aa.createDate(ad.date)}else{this.proxy=aa.createDate(arguments[0])}break;default:var ab=[];for(var ac=0;ac0?"floor":"ceil"](ab/12));var ac=ad.getMonth()+(ab%12);if(ac==12){ac=0;ad.setYear(ad.getFullYear()+1)}else{if(ac==-1){ac=11;ad.setYear(ad.getFullYear()-1)}}ad.setMonth(ac)},diff:function(af,ad){var ab=af.getFullYear()-ad.getFullYear();var ac=af.getMonth()-ad.getMonth()+(ab*12);var ae=af.getDate()-ad.getDate();return ac+(ae/30)}},year:{add:function(ac,ab){ac.setYear(ac.getFullYear()+Math[ab>0?"floor":"ceil"](ab))},diff:function(ac,ab){return A.month.diff(ac,ab)/12}}};for(var T in A){if(T.substring(T.length-1)!="s"){A[T+"s"]=A[T]}}var D=function(af,ae,ac){if(aa.formats[ac]["shortcuts"][ae]){return aa.strftime(af,aa.formats[ac]["shortcuts"][ae],ac)}else{var ab=(aa.formats[ac]["codes"][ae]||"").split(".");var ad=af["get"+ab[0]]?af["get"+ab[0]]():"";if(ab[1]){ad=J(ad,ab[1])}return ad}};aa.strftime=function(ah,ae,ad,ai){var ac="perl";var ag=aa.regional.getLocale();if(ad&&aa.formats.hasOwnProperty(ad)){ac=ad}else{if(ad&&aa.regional.hasOwnProperty(ad)){ag=ad}}if(ai&&aa.formats.hasOwnProperty(ai)){ac=ai}else{if(ai&&aa.regional.hasOwnProperty(ai)){ag=ai}}if(j(ah)!="[object Object]"||ah._type!="jsDate"){ah=new aa(ah);ah.locale=ag}if(!ae){ae=ah.formatString||aa.regional[ag]["formatString"]}var ab=ae||"%Y-%m-%d",aj="",af;while(ab.length>0){if(af=ab.match(aa.formats[ac].codes.matcher)){aj+=ab.slice(0,af.index);aj+=(af[1]||"")+D(ah,af[2],ac);ab=ab.slice(af.index+af[0].length)}else{aj+=ab;ab=""}}return aj};aa.formats={ISO:"%Y-%m-%dT%H:%M:%S.%N%G",SQL:"%Y-%m-%d %H:%M:%S"};aa.formats.perl={codes:{matcher:/()%(#?(%|[a-z]))/i,Y:"FullYear",y:"ShortYear.2",m:"MonthNumber.2","#m":"MonthNumber",B:"MonthName",b:"AbbrMonthName",d:"Date.2","#d":"Date",e:"Date",A:"DayName",a:"AbbrDayName",w:"Day",H:"Hours.2","#H":"Hours",I:"Hours12.2","#I":"Hours12",p:"AMPM",M:"Minutes.2","#M":"Minutes",S:"Seconds.2","#S":"Seconds",s:"Unix",N:"Milliseconds.3","#N":"Milliseconds",O:"TimezoneOffset",Z:"TimezoneName",G:"GmtOffset"},shortcuts:{F:"%Y-%m-%d",T:"%H:%M:%S",X:"%H:%M:%S",x:"%m/%d/%y",D:"%m/%d/%y","#c":"%a %b %e %H:%M:%S %Y",v:"%e-%b-%Y",R:"%H:%M",r:"%I:%M:%S %p",t:"\t",n:"\n","%":"%"}};aa.formats.php={codes:{matcher:/()%((%|[a-z]))/i,a:"AbbrDayName",A:"DayName",d:"Date.2",e:"Date",j:"DayOfYear.3",u:"DayOfWeek",w:"Day",U:"FullWeekOfYear.2",V:"IsoWeek.2",W:"WeekOfYear.2",b:"AbbrMonthName",B:"MonthName",m:"MonthNumber.2",h:"AbbrMonthName",C:"Century.2",y:"ShortYear.2",Y:"FullYear",H:"Hours.2",I:"Hours12.2",l:"Hours12",p:"AMPM",P:"AmPm",M:"Minutes.2",S:"Seconds.2",s:"Unix",O:"TimezoneOffset",z:"GmtOffset",Z:"TimezoneAbbr"},shortcuts:{D:"%m/%d/%y",F:"%Y-%m-%d",T:"%H:%M:%S",X:"%H:%M:%S",x:"%m/%d/%y",R:"%H:%M",r:"%I:%M:%S %p",t:"\t",n:"\n","%":"%"}};aa.createDate=function(ad){if(ad==null){return new Date()}if(ad instanceof Date){return ad}if(typeof ad=="number"){return new Date(ad)}var ai=String(ad).replace(/^\s*(.+)\s*$/g,"$1");ai=ai.replace(/^([0-9]{1,4})-([0-9]{1,2})-([0-9]{1,4})/,"$1/$2/$3");ai=ai.replace(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{4})/i,"$1 $2 $3");var ah=ai.match(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{2})\D*/i);if(ah&&ah.length>3){var am=parseFloat(ah[3]);var ag=aa.config.defaultCentury+am;ag=String(ag);ai=ai.replace(/^(3[01]|[0-2]?\d)[-\/]([a-z]{3,})[-\/](\d{2})\D*/i,ah[1]+" "+ah[2]+" "+ag)}ah=ai.match(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})[^0-9]/);function al(aq,ap){var aw=parseFloat(ap[1]);var av=parseFloat(ap[2]);var au=parseFloat(ap[3]);var at=aa.config.defaultCentury;var ao,an,ax,ar;if(aw>31){an=au;ax=av;ao=at+aw}else{an=av;ax=aw;ao=at+au}ar=ax+"/"+an+"/"+ao;return aq.replace(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})/,ar)}if(ah&&ah.length>3){ai=al(ai,ah)}var ah=ai.match(/^([0-9]{1,2})[-\/]([0-9]{1,2})[-\/]([0-9]{1,2})$/);if(ah&&ah.length>3){ai=al(ai,ah)}var af=0;var ac=aa.matchers.length;var ak,ab,aj=ai,ae;while(af31){ab=ah;ac=ag+ai}else{ab=ai;ac=ag+ah}var aj=W(ad[2],aa.regional[aa.regional.getLocale()]["monthNamesShort"]);if(aj==-1){aj=W(ad[2],aa.regional[aa.regional.getLocale()]["monthNames"])}ae.setFullYear(ac,aj,ab);ae.setHours(0,0,0,0);return ae}else{return af}}];function W(ad,ae){if(ae.indexOf){return ae.indexOf(ad)}for(var ab=0,ac=ae.length;ab=aj)?"":Array(1+aj-an.length>>>0).join(ak);return am?an+al:al+an}function ae(al){var ak=new String(al);for(var aj=10;aj>0;aj--){if(ak==(ak=ak.replace(/^(\d+)(\d{3})/,"$1"+H.jqplot.sprintf.thousandsSeparator+"$2"))){break}}return ak}function ad(ao,an,aq,al,am,ak){var ap=al-ao.length;if(ap>0){var aj=" ";if(ak){aj=" "}if(aq||!am){ao=ah(ao,al,aj,aq)}else{ao=ao.slice(0,an.length)+ah("",ap,"0",true)+ao.slice(an.length)}}return ao}function ai(ar,ak,ap,al,aj,ao,aq,an){var am=ar>>>0;ap=ap&&am&&{"2":"0b","8":"0","16":"0x"}[ak]||"";ar=ap+ah(am.toString(ak),ao||0,"0",false);return ad(ar,ap,al,aj,aq,an)}function ab(an,ao,al,aj,am,ak){if(aj!=null){an=an.slice(0,aj)}return ad(an,"",ao,al,am,ak)}var ac=arguments,af=0,ag=ac[af++];return ag.replace(H.jqplot.sprintf.regex,function(aG,aq,ar,av,aI,aD,ao){if(aG=="%%"){return"%"}var ax=false,at="",au=false,aF=false,ap=false,an=false;for(var aC=0;ar&&aC-1?6:(ao=="d")?0:void (0)}else{if(aD=="*"){aD=+ac[af++]}else{if(aD.charAt(0)=="*"){aD=+ac[aD.slice(1,-1)]}else{aD=+aD}}}var az=aq?ac[aq.slice(0,-1)]:ac[af++];switch(ao){case"s":if(az==null){return""}return ab(String(az),ax,av,aD,au,ap);case"c":return ab(String.fromCharCode(+az),ax,av,aD,au,ap);case"b":return ai(az,2,aF,ax,av,aD,au,ap);case"o":return ai(az,8,aF,ax,av,aD,au,ap);case"x":return ai(az,16,aF,ax,av,aD,au,ap);case"X":return ai(az,16,aF,ax,av,aD,au,ap).toUpperCase();case"u":return ai(az,10,aF,ax,av,aD,au,ap);case"i":var al=parseInt(+az,10);if(isNaN(al)){return""}var aB=al<0?"-":at;var aE=an?ae(String(Math.abs(al))):String(Math.abs(al));az=aB+ah(aE,aD,"0",false);return ad(az,aB,ax,av,au,ap);case"d":var al=Math.round(+az);if(isNaN(al)){return""}var aB=al<0?"-":at;var aE=an?ae(String(Math.abs(al))):String(Math.abs(al));az=aB+ah(aE,aD,"0",false);return ad(az,aB,ax,av,au,ap);case"e":case"E":case"f":case"F":case"g":case"G":var al=+az;if(isNaN(al)){return""}var aB=al<0?"-":at;var am=["toExponential","toFixed","toPrecision"]["efg".indexOf(ao.toLowerCase())];var aH=["toString","toUpperCase"]["eEfFgG".indexOf(ao)%2];var aE=Math.abs(al)[am](aD);aE=an?ae(aE):aE;az=aB+aE;var aw=ad(az,aB,ax,av,au,ap)[aH]();if(H.jqplot.sprintf.decimalMark!=="."&&H.jqplot.sprintf.decimalMark!==H.jqplot.sprintf.thousandsSeparator){return aw.replace(/\./,H.jqplot.sprintf.decimalMark)}else{return aw}case"p":case"P":var al=+az;if(isNaN(al)){return""}var aB=al<0?"-":at;var ay=String(Number(Math.abs(al)).toExponential()).split(/e|E/);var ak=(ay[0].indexOf(".")!=-1)?ay[0].length-1:ay[0].length;var aA=(ay[1]<0)?-ay[1]-1:0;if(Math.abs(al)<1){if(ak+aA<=aD){az=aB+Math.abs(al).toPrecision(ak)}else{if(ak<=aD-1){az=aB+Math.abs(al).toExponential(ak-1)}else{az=aB+Math.abs(al).toExponential(aD-1)}}}else{var aj=(ak<=aD)?ak:aD;az=aB+Math.abs(al).toPrecision(aj)}var aH=["toString","toUpperCase"]["pP".indexOf(ao)%2];return ad(az,aB,ax,av,au,ap)[aH]();case"n":return"";default:return aG}})};H.jqplot.sprintf.thousandsSeparator=",";H.jqplot.sprintf.decimalMark=".";H.jqplot.sprintf.regex=/%%|%(\d+\$)?([-+#0&\' ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([nAscboxXuidfegpEGP])/g;H.jqplot.getSignificantFigures=function(af){var ah=String(Number(Math.abs(af)).toExponential()).split(/e|E/);var ag=(ah[0].indexOf(".")!=-1)?ah[0].length-1:ah[0].length;var ac=(ah[1]<0)?-ah[1]-1:0;var ab=parseInt(ah[1],10);var ad=(ab+1>0)?ab+1:0;var ae=(ag<=ad)?0:ag-ab-1;return{significantDigits:ag,digitsLeft:ad,digitsRight:ae,zeros:ac,exponent:ab}};H.jqplot.getPrecision=function(ab){return H.jqplot.getSignificantFigures(ab).digitsRight}})(jQuery);var backCompat=$.uiBackCompat!==false;$.jqplot.effects={effect:{}};var dataSpace="jqplot.storage.";$.extend($.jqplot.effects,{version:"1.9pre",save:function(b,c){for(var a=0;a").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),a={width:b.width(),height:b.height()},d=document.activeElement;b.wrap(e);if(b[0]===d||$.contains(b[0],d)){$(d).focus()}e=b.parent();if(b.css("position")==="static"){e.css({position:"relative"});b.css({position:"relative"})}else{$.extend(c,{position:b.css("position"),zIndex:b.css("z-index")});$.each(["top","left","bottom","right"],function(f,g){c[g]=b.css(g);if(isNaN(parseInt(c[g],10))){c[g]="auto"}});b.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}b.css(a);return e.css(c).show()},removeWrapper:function(a){var b=document.activeElement;if(a.parent().is(".ui-effects-wrapper")){a.parent().replaceWith(a);if(a[0]===b||$.contains(a[0],b)){$(b).focus()}}return a}});function _normalizeArguments(b,a,c,d){if($.isPlainObject(b)){return b}b={effect:b};if(a===undefined){a={}}if($.isFunction(a)){d=a;c=null;a={}}if($.type(a)==="number"||$.fx.speeds[a]){d=c;c=a;a={}}if($.isFunction(c)){d=c;c=null}if(a){$.extend(b,a)}c=c||a.duration;b.duration=$.fx.off?0:typeof c==="number"?c:c in $.fx.speeds?$.fx.speeds[c]:$.fx.speeds._default;b.complete=d||a.complete;return b}function standardSpeed(a){if(!a||typeof a==="number"||$.fx.speeds[a]){return true}if(typeof a==="string"&&!$.jqplot.effects.effect[a]){if(backCompat&&$.jqplot.effects[a]){return false}return true}return false}$.fn.extend({jqplotEffect:function(i,j,b,h){var g=_normalizeArguments.apply(this,arguments),d=g.mode,e=g.queue,f=$.jqplot.effects.effect[g.effect],a=!f&&backCompat&&$.jqplot.effects[g.effect];if($.fx.off||!(f||a)){if(d){return this[d](g.duration,g.complete)}else{return this.each(function(){if(g.complete){g.complete.call(this)}})}}function c(m){var n=$(this),l=g.complete,o=g.mode;function k(){if($.isFunction(l)){l.call(n[0])}if($.isFunction(m)){m()}}if(n.is(":hidden")?o==="hide":o==="show"){k()}else{f.call(n[0],g,k)}}if(f){return e===false?this.each(c):this.queue(e||"fx",c)}else{return a.call(this,{options:g,duration:g.duration,callback:g.complete,mode:g.mode})}}});var rvertical=/up|down|vertical/,rpositivemotion=/up|left|vertical|horizontal/;$.jqplot.effects.effect.blind=function(c,h){var d=$(this),k=["position","top","bottom","left","right","height","width"],i=$.jqplot.effects.setMode(d,c.mode||"hide"),m=c.direction||"up",f=rvertical.test(m),e=f?"height":"width",j=f?"top":"left",p=rpositivemotion.test(m),g={},n=i==="show",b,a,l;if(d.parent().is(".ui-effects-wrapper")){$.jqplot.effects.save(d.parent(),k)}else{$.jqplot.effects.save(d,k)}d.show();l=parseInt(d.css("top"),10);b=$.jqplot.effects.createWrapper(d).css({overflow:"hidden"});a=f?b[e]()+l:b[e]();g[e]=n?String(a):"0";if(!p){d.css(f?"bottom":"right",0).css(f?"top":"left","").css({position:"absolute"});g[j]=n?"0":String(a)}if(n){b.css(e,0);if(!p){b.css(j,a)}}b.animate(g,{duration:c.duration,easing:c.easing,queue:false,complete:function(){if(i==="hide"){d.hide()}$.jqplot.effects.restore(d,k);$.jqplot.effects.removeWrapper(d);h()}})};
\ No newline at end of file
diff --git a/wqflask/wqflask/static/packages/jqplot/jquery.js b/wqflask/wqflask/static/packages/jqplot/jquery.js
index 11e6d067..27914ea3 100755
--- a/wqflask/wqflask/static/packages/jqplot/jquery.js
+++ b/wqflask/wqflask/static/packages/jqplot/jquery.js
@@ -2110,9 +2110,9 @@ jQuery.fn.extend({
ret = elem.value;
- return typeof ret === "string" ?
+ return typeof ret === "string" ?
// handle most common string cases
- ret.replace(rreturn, "") :
+ ret.replace(rreturn, "") :
// handle cases where value is null/undef or number
ret == null ? "" : ret;
}
@@ -4392,7 +4392,7 @@ var Expr = Sizzle.selectors = {
text: function( elem ) {
var attr = elem.getAttribute( "type" ), type = elem.type;
- // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)
+ // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)
// use getAttribute instead to test this case
return elem.nodeName.toLowerCase() === "input" && "text" === type && ( attr === type || attr === null );
},
@@ -4508,21 +4508,21 @@ var Expr = Sizzle.selectors = {
case "only":
case "first":
while ( (node = node.previousSibling) ) {
- if ( node.nodeType === 1 ) {
- return false;
+ if ( node.nodeType === 1 ) {
+ return false;
}
}
- if ( type === "first" ) {
- return true;
+ if ( type === "first" ) {
+ return true;
}
node = elem;
case "last":
while ( (node = node.nextSibling) ) {
- if ( node.nodeType === 1 ) {
- return false;
+ if ( node.nodeType === 1 ) {
+ return false;
}
}
@@ -4546,7 +4546,7 @@ var Expr = Sizzle.selectors = {
if ( node.nodeType === 1 ) {
node.nodeIndex = ++count;
}
- }
+ }
parent.sizcache = doneName;
}
@@ -5006,7 +5006,7 @@ if ( document.querySelectorAll ) {
expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
if ( !Sizzle.isXML( node ) ) {
- try {
+ try {
if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) {
var ret = matches.call( node, expr );
@@ -5147,7 +5147,7 @@ if ( document.documentElement.contains ) {
Sizzle.isXML = function( elem ) {
// documentElement is verified for cases where it doesn't yet exist
- // (such as loading iframes in IE - #4833)
+ // (such as loading iframes in IE - #4833)
var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
return documentElement ? documentElement.nodeName !== "HTML" : false;
diff --git a/wqflask/wqflask/static/packages/jqplot/jquery.min.js b/wqflask/wqflask/static/packages/jqplot/jquery.min.js
index 628ed9b3..b6b6e46e 100755
--- a/wqflask/wqflask/static/packages/jqplot/jquery.min.js
+++ b/wqflask/wqflask/static/packages/jqplot/jquery.min.js
@@ -1,4 +1,4 @@
/*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */
-(function(a,b){function cu(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cr(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"":"")+""),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cq(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cp(){cn=b}function co(){setTimeout(cp,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bv(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bl(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bd,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bk(a){f.nodeName(a,"input")?bj(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bj)}function bj(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bi(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bh(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bg(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i=0===c})}function U(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function M(a,b){return(a&&a!=="*"?a+".":"")+b.replace(y,"`").replace(z,"&")}function L(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;ic)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function J(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function D(){return!0}function C(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function K(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(K,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z]|[0-9])/ig,x=/^-ms-/,y=function(a,b){return(b+"").toUpperCase()},z=d.userAgent,A,B,C,D=Object.prototype.toString,E=Object.prototype.hasOwnProperty,F=Array.prototype.push,G=Array.prototype.slice,H=String.prototype.trim,I=Array.prototype.indexOf,J={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.4",length:0,size:function(){return this.length},toArray:function(){return G.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?F.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),B.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(G.apply(this,arguments),"slice",G.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:F,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;B.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!B){B=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",C,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",C),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&K()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):J[D.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!E.call(a,"constructor")&&!E.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||E.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(x,"ms-").replace(w,y)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c
a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},m&&f.extend(p,{position:"absolute",left:"-1000px",top:"-1000px"});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},m&&f.extend(p,{position:"absolute",left:"-1000px",top:"-1000px"});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bn.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bm,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bm.test(g)?g.replace(bm,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bv(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bw=function(a,c){var d,e,g;c=c.replace(bo,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bx=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bp.test(d)&&bq.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bv=bw||bx,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bz=/%20/g,bA=/\[\]$/,bB=/\r?\n/g,bC=/#.*$/,bD=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bE=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bF=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bG=/^(?:GET|HEAD)$/,bH=/^\/\//,bI=/\?/,bJ=/
- *
- * Data must be supplied in
+ *
+ * Data must be supplied in
* the form:
- *
+ *
* > [[x1, y1, r1,
'
* > }
- *
+ *
*/
$.jqplot.Highlighter = function(options) {
// Group: Properties
@@ -137,7 +137,7 @@
// indicated by tooltipAxes option. So, you could have a tooltip like:
// 'Date: %s, number of cats: %d' to format the whole tooltip at one go.
// If useAxesFormatters is true, values will be formatted according to
- // Axes formatters and you can populate your tooltip string with
+ // Axes formatters and you can populate your tooltip string with
// %s placeholders.
this.formatString = null;
// prop: yvalues
@@ -156,32 +156,32 @@
$.extend(true, this, options);
};
-
+
var locations = ['nw', 'n', 'ne', 'e', 'se', 's', 'sw', 'w'];
var locationIndicies = {'nw':0, 'n':1, 'ne':2, 'e':3, 'se':4, 's':5, 'sw':6, 'w':7};
var oppositeLocations = ['se', 's', 'sw', 'w', 'nw', 'n', 'ne', 'e'];
-
+
// axis.renderer.tickrenderer.formatter
-
+
// called with scope of plot
$.jqplot.Highlighter.init = function (target, data, opts){
var options = opts || {};
// add a highlighter attribute to the plot
this.plugins.highlighter = new $.jqplot.Highlighter(options.highlighter);
};
-
+
// called within scope of series
$.jqplot.Highlighter.parseOptions = function (defaults, options) {
- // Add a showHighlight option to the series
+ // Add a showHighlight option to the series
// and set it to true by default.
this.showHighlight = true;
};
-
+
// called within context of plot
// create a canvas which we can draw on.
// insert it before the eventCanvas, so eventCanvas will still capture events.
$.jqplot.Highlighter.postPlotDraw = function() {
- // Memory Leaks patch
+ // Memory Leaks patch
if (this.plugins.highlighter && this.plugins.highlighter.highlightCanvas) {
this.plugins.highlighter.highlightCanvas.resetCanvas();
this.plugins.highlighter.highlightCanvas = null;
@@ -193,7 +193,7 @@
}
this.plugins.highlighter.highlightCanvas = new $.jqplot.GenericCanvas();
-
+
this.eventCanvas._elem.before(this.plugins.highlighter.highlightCanvas.createElement(this._gridPadding, 'jqplot-highlight-canvas', this._plotDimensions, this));
this.plugins.highlighter.highlightCanvas.setContext();
@@ -202,14 +202,14 @@
elem = null;
this.plugins.highlighter._tooltipElem.addClass('jqplot-highlighter-tooltip');
this.plugins.highlighter._tooltipElem.css({position:'absolute', display:'none'});
-
+
this.eventCanvas._elem.before(this.plugins.highlighter._tooltipElem);
};
-
+
$.jqplot.preInitHooks.push($.jqplot.Highlighter.init);
$.jqplot.preParseSeriesOptionsHooks.push($.jqplot.Highlighter.parseOptions);
$.jqplot.postDrawHooks.push($.jqplot.Highlighter.postPlotDraw);
-
+
function draw(plot, neighbor) {
var hl = plot.plugins.highlighter;
var s = plot.series[neighbor.seriesIndex];
@@ -225,7 +225,7 @@
mr.init();
mr.draw(s.gridData[neighbor.pointIndex][0], s.gridData[neighbor.pointIndex][1], hl.highlightCanvas._ctx);
}
-
+
function showTooltip(plot, series, neighbor) {
// neighbor looks like: {seriesIndex: i, pointIndex:j, gridData:p, data:s.data[j]}
// gridData should be x,y pixel coords on the grid.
@@ -272,7 +272,7 @@
ystrs.unshift(opts.formatString);
str = $.jqplot.sprintf.apply($.jqplot.sprintf, ystrs);
break;
- }
+ }
}
else {
switch (opts.tooltipAxes) {
@@ -302,8 +302,8 @@
str += opts.tooltipSeparator + ystrs[i];
}
break;
-
- }
+
+ }
}
}
else {
@@ -324,7 +324,7 @@
}
else if (opts.tooltipAxes == 'y') {
str = $.jqplot.sprintf(opts.tooltipFormatString, neighbor.data[1]);
- }
+ }
}
}
if ($.isFunction(opts.tooltipContentEditor)) {
@@ -336,7 +336,7 @@
var gridpos = {x:neighbor.gridData[0], y:neighbor.gridData[1]};
var ms = 0;
var fact = 0.707;
- if (series.markerRenderer.show == true) {
+ if (series.markerRenderer.show == true) {
ms = (series.markerRenderer.size + opts.sizeAdjust)/2;
}
@@ -393,9 +393,9 @@
elem.show();
}
elem = null;
-
+
}
-
+
function handleMove(ev, gridpos, datapos, neighbor, plot) {
var hl = plot.plugins.highlighter;
var c = plot.plugins.cursor;
@@ -457,8 +457,8 @@
}
if (hl.bringSeriesToFront) {
plot.moveSeriesToFront(neighbor.seriesIndex);
- }
- }
+ }
+ }
}
}
}
diff --git a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.highlighter.min.js b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.highlighter.min.js
index 42ad7c02..a67ebe3a 100755
--- a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.highlighter.min.js
+++ b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.highlighter.min.js
@@ -5,13 +5,13 @@
* Version: 1.0.4r1121
*
* Copyright (c) 2009-2011 Chris Leonello
- * jqPlot is currently available for use in all personal or commercial projects
- * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
- * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
- * choose the license that best suits your project and use it accordingly.
+ * jqPlot is currently available for use in all personal or commercial projects
+ * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
+ * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
+ * choose the license that best suits your project and use it accordingly.
*
- * Although not required, the author would appreciate an email letting him
- * know of any substantial use of jqPlot. You can reach the author at:
+ * Although not required, the author would appreciate an email letting him
+ * know of any substantial use of jqPlot. You can reach the author at:
* chris at jqplot dot com or see http://www.jqplot.com/info.php .
*
* If you are feeling kind and generous, consider supporting the project by
@@ -30,18 +30,18 @@
*
* Copyright (c) 2010-2011 Chris Leonello
*
- * jsDate is currently available for use in all personal or commercial projects
- * under both the MIT and GPL version 2.0 licenses. This means that you can
+ * jsDate is currently available for use in all personal or commercial projects
+ * under both the MIT and GPL version 2.0 licenses. This means that you can
* choose the license that best suits your project and use it accordingly.
*
- * jsDate borrows many concepts and ideas from the Date Instance
+ * jsDate borrows many concepts and ideas from the Date Instance
* Methods by Ken Snyder along with some parts of Ken's actual code.
- *
+ *
* Ken's origianl Date Instance Methods and copyright notice:
- *
+ *
* Ken Snyder (ken d snyder at gmail dot com)
* 2008-09-10
- * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
+ * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
* Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)
*
* jqplotToImage function based on Larry Siden's export-jqplot-to-png.js.
@@ -51,7 +51,7 @@
* Larry's original code can be found here:
*
* https://github.com/lsiden/export-jqplot-to-png
- *
- *
+ *
+ *
*/
(function(d){d.jqplot.eventListenerHooks.push(["jqplotMouseMove",f]);d.jqplot.Highlighter=function(h){this.show=d.jqplot.config.enablePlugins;this.markerRenderer=new d.jqplot.MarkerRenderer({shadow:false});this.showMarker=true;this.lineWidthAdjust=2.5;this.sizeAdjust=5;this.showTooltip=true;this.tooltipLocation="nw";this.fadeTooltip=true;this.tooltipFadeSpeed="fast";this.tooltipOffset=2;this.tooltipAxes="both";this.tooltipSeparator=", ";this.tooltipContentEditor=null;this.useAxesFormatters=true;this.tooltipFormatString="%.5P";this.formatString=null;this.yvalues=1;this.bringSeriesToFront=false;this._tooltipElem;this.isHighlighting=false;this.currentNeighbor=null;d.extend(true,this,h)};var b=["nw","n","ne","e","se","s","sw","w"];var e={nw:0,n:1,ne:2,e:3,se:4,s:5,sw:6,w:7};var c=["se","s","sw","w","nw","n","ne","e"];d.jqplot.Highlighter.init=function(k,j,i){var h=i||{};this.plugins.highlighter=new d.jqplot.Highlighter(h.highlighter)};d.jqplot.Highlighter.parseOptions=function(i,h){this.showHighlight=true};d.jqplot.Highlighter.postPlotDraw=function(){if(this.plugins.highlighter&&this.plugins.highlighter.highlightCanvas){this.plugins.highlighter.highlightCanvas.resetCanvas();this.plugins.highlighter.highlightCanvas=null}if(this.plugins.highlighter&&this.plugins.highlighter._tooltipElem){this.plugins.highlighter._tooltipElem.emptyForce();this.plugins.highlighter._tooltipElem=null}this.plugins.highlighter.highlightCanvas=new d.jqplot.GenericCanvas();this.eventCanvas._elem.before(this.plugins.highlighter.highlightCanvas.createElement(this._gridPadding,"jqplot-highlight-canvas",this._plotDimensions,this));this.plugins.highlighter.highlightCanvas.setContext();var h=document.createElement("div");this.plugins.highlighter._tooltipElem=d(h);h=null;this.plugins.highlighter._tooltipElem.addClass("jqplot-highlighter-tooltip");this.plugins.highlighter._tooltipElem.css({position:"absolute",display:"none"});this.eventCanvas._elem.before(this.plugins.highlighter._tooltipElem)};d.jqplot.preInitHooks.push(d.jqplot.Highlighter.init);d.jqplot.preParseSeriesOptionsHooks.push(d.jqplot.Highlighter.parseOptions);d.jqplot.postDrawHooks.push(d.jqplot.Highlighter.postPlotDraw);function a(m,o){var j=m.plugins.highlighter;var p=m.series[o.seriesIndex];var h=p.markerRenderer;var i=j.markerRenderer;i.style=h.style;i.lineWidth=h.lineWidth+j.lineWidthAdjust;i.size=h.size+j.sizeAdjust;var l=d.jqplot.getColorComponents(h.color);var n=[l[0],l[1],l[2]];var k=(l[3]>=0.6)?l[3]*0.6:l[3]*(2-l[3]);i.color="rgba("+n[0]+","+n[1]+","+n[2]+","+k+")";i.init();i.draw(p.gridData[o.pointIndex][0],p.gridData[o.pointIndex][1],j.highlightCanvas._ctx)}function g(A,q,m){var k=A.plugins.highlighter;var D=k._tooltipElem;var r=q.highlighter||{};var t=d.extend(true,{},k,r);if(t.useAxesFormatters){var w=q._xaxis._ticks[0].formatter;var h=q._yaxis._ticks[0].formatter;var E=q._xaxis._ticks[0].formatString;var s=q._yaxis._ticks[0].formatString;var z;var u=w(E,m.data[0]);var l=[];for(var B=1;B
- *
+ *
* and supply the appropriate options to your plot
- *
+ *
* > {axes:{xaxis:{renderer:$.jqplot.LogAxisRenderer}}}
- **/
+ **/
$.jqplot.LogAxisRenderer = function() {
$.jqplot.LinearAxisRenderer.call(this);
// prop: axisDefaults
@@ -57,10 +57,10 @@
tickDistribution :'power'
};
};
-
+
$.jqplot.LogAxisRenderer.prototype = new $.jqplot.LinearAxisRenderer();
$.jqplot.LogAxisRenderer.prototype.constructor = $.jqplot.LogAxisRenderer;
-
+
$.jqplot.LogAxisRenderer.prototype.init = function(options) {
// prop: drawBaseline
// True to draw the axis baseline.
@@ -85,7 +85,7 @@
this.resetDataBounds();
};
-
+
$.jqplot.LogAxisRenderer.prototype.createTicks = function(plot) {
// we're are operating on an axis here
var ticks = this._ticks;
@@ -128,7 +128,7 @@
t.axis = this.name;
this._ticks.push(t);
}
-
+
else {
t.value = ut;
if (!this.showTicks) {
@@ -146,19 +146,19 @@
this.min = this._ticks[0].value;
this.max = this._ticks[this.numberTicks-1].value;
}
-
+
// we don't have any ticks yet, let's make some!
else if (this.min == null && this.max == null) {
min = db.min * (2 - this.padMin);
max = db.max * this.padMax;
-
+
// if min and max are same, space them out a bit
if (min == max) {
var adj = 0.05;
min = min*(1-adj);
max = max*(1+adj);
}
-
+
// perform some checks
if (this.min != null && this.min <= 0) {
throw('log axis minimum must be greater than 0');
@@ -200,7 +200,7 @@
this.min = rmin;
this.max = rmax;
- var range = this.max - this.min;
+ var range = this.max - this.min;
var minorTicks = (this.minorTicks === 'auto') ? 0 : this.minorTicks;
var numberTicks;
@@ -265,11 +265,11 @@
tt = Math.pow(this.base, i - numberTicks + 1) * this.max;
t = new this.tickRenderer(this.tickOptions);
-
+
if (this._overrideFormatString) {
t.formatString = this._autoFormatString;
}
-
+
if (!this.showTicks) {
t.showLabel = false;
t.showMark = false;
@@ -287,7 +287,7 @@
for (var j=minorTicks-1; j>=0; j--) {
val = tt1-interval*(j+1);
t = new this.tickRenderer(this.tickOptions);
-
+
if (this._overrideFormatString && this._autoFormatString != '') {
t.formatString = this._autoFormatString;
}
@@ -301,8 +301,8 @@
t.setTick(val, this.name);
this._ticks.push(t);
}
- }
- }
+ }
+ }
}
// min and max are set as would be the case with zooming
@@ -325,7 +325,7 @@
for (var i=0; i140){h=Math.round(Math.log(this.max/this.min)/Math.log(this.base)+1);if(h<2){h=2}if(C===0){var o=b/(h-1);if(o<100){C=0}else{if(o<190){C=1}else{if(o<250){C=3}else{if(o<600){C=4}else{C=9}}}}}}else{h=2;if(C===0){C=1}C=0}}else{h=this.numberTicks}if(E>=0&&C!==3){this._autoFormatString="%d"}else{if(E<=0&&C===3){var o=-(E-1);this._autoFormatString="%."+Math.abs(E-1)+"f"}else{if(E<0){var o=-E;this._autoFormatString="%."+Math.abs(E)+"f"}else{this._autoFormatString="%d"}}}var O,H,z,p,n,k;for(var K=0;K=0;J--){z=p-k*(J+1);H=new this.tickRenderer(this.tickOptions);if(this._overrideFormatString&&this._autoFormatString!=""){H.formatString=this._autoFormatString}if(!this.showTicks){H.showLabel=false;H.showMark=false}else{if(!this.showTickMarks){H.showMark=false}}H.setTick(z,this.name);this._ticks.push(H)}}}}else{if(this.min!=null&&this.max!=null){var y=a.extend(true,{},this.tickOptions,{name:this.name,value:null});var I,e;if(this.numberTicks==null&&this.tickInterval==null){var D=Math.max(b,g+1);var L=Math.ceil((D-g)/35+1);var B=a.jqplot.LinearTickGenerator.bestConstrainedInterval(this.min,this.max,L);this._autoFormatString=B[3];I=B[2];e=B[4];for(var K=0;K0){c=-n._textRenderer.height*Math.cos(-n._textRenderer.angle)/2}else{c=-n.getHeight()+n._textRenderer.height*Math.cos(n._textRenderer.angle)/2}break;case"middle":c=-n.getHeight()/2;break;default:c=-n.getHeight()/2;break}}else{c=-n.getHeight()/2}var z=this.u2p(n.value)+c+"px";n._elem.css("top",z);n.pack()}}if(o){var x=this._label._elem.outerHeight(true);this._label._elem.css("top",m-g/2-x/2+"px");if(this.name=="yaxis"){this._label._elem.css("left","0px")}else{this._label._elem.css("right","0px")}this._label.pack()}}}}})(jQuery);
\ No newline at end of file
diff --git a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoAxisRenderer.js b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoAxisRenderer.js
index 694de41d..74297685 100755
--- a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoAxisRenderer.js
+++ b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoAxisRenderer.js
@@ -6,13 +6,13 @@
* Revision: 1121
*
* Copyright (c) 2009-2012 Chris Leonello
- * jqPlot is currently available for use in all personal or commercial projects
- * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
- * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
- * choose the license that best suits your project and use it accordingly.
+ * jqPlot is currently available for use in all personal or commercial projects
+ * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
+ * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
+ * choose the license that best suits your project and use it accordingly.
*
- * Although not required, the author would appreciate an email letting him
- * know of any substantial use of jqPlot. You can reach the author at:
+ * Although not required, the author would appreciate an email letting him
+ * know of any substantial use of jqPlot. You can reach the author at:
* chris at jqplot dot com or see http://www.jqplot.com/info.php .
*
* If you are feeling kind and generous, consider supporting the project by
@@ -26,7 +26,7 @@
* http://hexmen.com/js/sprintf.js
* The author (Ash Searle) has placed this code in the public domain:
* "This code is unrestricted: you are free to use it however you like."
- *
+ *
*/
(function($) {
// class: $.jqplot.MekkoAxisRenderer
@@ -36,12 +36,12 @@
// for each series scaled to the sum of all the y values.
$.jqplot.MekkoAxisRenderer = function() {
};
-
+
// called with scope of axis object.
$.jqplot.MekkoAxisRenderer.prototype.init = function(options){
// prop: tickMode
// How to space the ticks on the axis.
- // 'bar' will place a tick at the width of each bar.
+ // 'bar' will place a tick at the width of each bar.
// This is the default for the x axis.
// 'even' will place ticks at even intervals. This is
// the default for x2 axis and y axis. y axis cannot be changed.
@@ -82,7 +82,7 @@
}
}
};
-
+
// called with scope of axis
$.jqplot.MekkoAxisRenderer.prototype.draw = function(ctx, plot) {
if (this.show) {
@@ -95,20 +95,20 @@
// position it and the labels correctly on the plot.
var dim=0;
var temp;
-
+
var elem = document.createElement('div');
this._elem = $(elem);
this._elem.addClass('jqplot-axis jqplot-'+this.name);
this._elem.css('position', 'absolute');
elem = null;
-
+
if (this.name == 'xaxis' || this.name == 'x2axis') {
this._elem.width(this._plotDimensions.width);
}
else {
this._elem.height(this._plotDimensions.height);
}
-
+
// draw the axis label
// create a _label object.
this.labelOptions.axis = this.name;
@@ -116,7 +116,7 @@
if (this._label.show) {
this._elem.append(this._label.draw(ctx));
}
-
+
var t, tick, elem;
if (this.showTicks) {
t = this._ticks;
@@ -127,7 +127,7 @@
}
}
}
-
+
// draw the series labels
for (i=0; i temp) {
t = new this.tickRenderer(this.tickOptions);
@@ -404,10 +404,10 @@
}
t.setTick(this.max, this.name);
this._ticks.push(t);
-
+
}
}
-
+
else if (this.tickMode == 'even') {
this.min = 0;
this.max = this.max || db.max;
@@ -431,11 +431,11 @@
t.setTick(tt, this.name);
this._ticks.push(t);
}
-
+
}
}
};
-
+
// called with scope of axis
$.jqplot.MekkoAxisRenderer.prototype.pack = function(pos, offsets) {
var ticks = this._ticks;
@@ -444,25 +444,25 @@
var offmax = offsets.max;
var offmin = offsets.min;
var lshow = (this._label == null) ? false : this._label.show;
-
+
for (var p in pos) {
this._elem.css(p, pos[p]);
}
-
+
this._offsets = offsets;
// pixellength will be + for x axes and - for y axes becasue pixels always measured from top left.
var pixellength = offmax - offmin;
var unitlength = max - min;
-
+
// point to unit and unit to point conversions references to Plot DOM element top left corner.
this.p2u = function(p){
return (p - offmin) * unitlength / pixellength + min;
};
-
+
this.u2p = function(u){
return (u - min) * pixellength / unitlength + offmin;
};
-
+
if (this.name == 'xaxis' || this.name == 'x2axis'){
this.series_u2p = function(u){
return (u - min) * pixellength / unitlength;
@@ -471,7 +471,7 @@
return p * unitlength / pixellength + min;
};
}
-
+
else {
this.series_u2p = function(u){
return (u - max) * pixellength / unitlength;
@@ -480,14 +480,14 @@
return p * unitlength / pixellength + max;
};
}
-
+
if (this.show) {
if (this.name == 'xaxis' || this.name == 'x2axis') {
for (var i=0; ik){k=d}}}if(b){c=this._label._elem.outerWidth(true);j=this._label._elem.outerHeight(true)}if(this.name=="xaxis"){k=k+j;this._elem.css({height:k+"px",left:"0px",bottom:"0px"})}else{if(this.name=="x2axis"){k=k+j;this._elem.css({height:k+"px",left:"0px",top:"0px"})}else{if(this.name=="yaxis"){k=k+c;this._elem.css({width:k+"px",left:"0px",top:"0px"});if(b&&this._label.constructor==a.jqplot.AxisLabelRenderer){this._label._elem.css("width",c+"px")}}else{k=k+c;this._elem.css({width:k+"px",right:"0px",top:"0px"});if(b&&this._label.constructor==a.jqplot.AxisLabelRenderer){this._label._elem.css("width",c+"px")}}}}}};a.jqplot.MekkoAxisRenderer.prototype.createTicks=function(){var z=this._ticks;var w=this.ticks;var B=this.name;var y=this._dataBounds;var p,x;var n,r;var d,c;var h,b,s,q;if(w.length){for(s=0;s0){g=Math.max(Math.log(n)/Math.LN10,0.05)}n-=g;r+=g}var k=r-n;var m,o;var v,l,u;var f=[3,5,6,11,21];if(this.name=="yaxis"||this.name=="y2axis"){this.min=0;this.max=100;if(!this.numberTicks){if(this.tickInterval){this.numberTicks=3+Math.ceil(k/this.tickInterval)}else{v=2+Math.ceil((p-(this.tickSpacing-1))/this.tickSpacing);for(s=0;s1){l=u;continue}else{if(u<1){if(Math.abs(l-1)v){h=new this.tickRenderer(this.tickOptions);if(!this.showTicks){h.showLabel=false;h.showMark=false}else{if(!this.showTickMarks){h.showMark=false}}h.setTick(this.max,this.name);this._ticks.push(h)}}else{if(this.tickMode=="even"){this.min=0;this.max=this.max||y.max;var A=2+Math.ceil((p-(this.tickSpacing-1))/this.tickSpacing);k=this.max-this.min;this.numberTicks=A;this.tickInterval=k/(this.numberTicks-1);for(s=0;s0){c=-n._textRenderer.height*Math.cos(-n._textRenderer.angle)/2}else{c=-n.getHeight()+n._textRenderer.height*Math.cos(n._textRenderer.angle)/2}break;case"middle":c=-n.getHeight()/2;break;default:c=-n.getHeight()/2;break}}else{c=-n.getHeight()/2}var D=this.u2p(n.value)+c+"px";n._elem.css("top",D);n.pack()}}if(o){var z=this._label._elem.outerHeight(true);this._label._elem.css("top",m-f/2-z/2+"px");if(this.name=="yaxis"){this._label._elem.css("left","0px")}else{this._label._elem.css("right","0px")}this._label.pack()}}}}})(jQuery);
\ No newline at end of file
diff --git a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoRenderer.js b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoRenderer.js
index 893e2b98..85d661d0 100755
--- a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoRenderer.js
+++ b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoRenderer.js
@@ -6,13 +6,13 @@
* Revision: 1121
*
* Copyright (c) 2009-2012 Chris Leonello
- * jqPlot is currently available for use in all personal or commercial projects
- * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
- * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
- * choose the license that best suits your project and use it accordingly.
+ * jqPlot is currently available for use in all personal or commercial projects
+ * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
+ * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
+ * choose the license that best suits your project and use it accordingly.
*
- * Although not required, the author would appreciate an email letting him
- * know of any substantial use of jqPlot. You can reach the author at:
+ * Although not required, the author would appreciate an email letting him
+ * know of any substantial use of jqPlot. You can reach the author at:
* chris at jqplot dot com or see http://www.jqplot.com/info.php .
*
* If you are feeling kind and generous, consider supporting the project by
@@ -26,7 +26,7 @@
* http://hexmen.com/js/sprintf.js
* The author (Ash Searle) has placed this code in the public domain:
* "This code is unrestricted: you are free to use it however you like."
- *
+ *
*/
(function($) {
/**
@@ -35,24 +35,24 @@
* the <$.jqplot.MekkoAxisRenderer> should be used with mekko charts. The mekko renderer
* overrides the default legend renderer with it's own $.jqplot.MekkoLegendRenderer
* which allows more flexibility to specify number of rows and columns in the legend.
- *
- * Data is specified per bar in the chart. You can specify data as an array of y values, or as
- * an array of [label, value] pairs. Note that labels are used only on the first series.
+ *
+ * Data is specified per bar in the chart. You can specify data as an array of y values, or as
+ * an array of [label, value] pairs. Note that labels are used only on the first series.
* Labels on subsequent series are ignored:
- *
+ *
* > bar1 = [['shirts', 8],['hats', 14],['shoes', 6],['gloves', 16],['dolls', 12]];
* > bar2 = [15,6,9,13,6];
* > bar3 = [['grumpy',4],['sneezy',2],['happy',7],['sleepy',9],['doc',7]];
- *
- * If you want to place labels for each bar under the axis, you use the barLabels option on
+ *
+ * If you want to place labels for each bar under the axis, you use the barLabels option on
* the axes. The bar labels can be styled with the ".jqplot-mekko-barLabel" css class.
- *
+ *
* > barLabels = ['Mickey Mouse', 'Donald Duck', 'Goofy'];
* > axes:{xaxis:{barLabels:barLabels}}
- *
+ *
*/
-
-
+
+
$.jqplot.MekkoRenderer = function(){
this.shapeRenderer = new $.jqplot.ShapeRenderer();
// prop: borderColor
@@ -63,7 +63,7 @@
// False will draw borders lines with the same color as the area.
this.showBorders = true;
};
-
+
// called with scope of series.
$.jqplot.MekkoRenderer.prototype.init = function(options, plot) {
this.fill = false;
@@ -80,7 +80,7 @@
plot.axes.x2axis._series.push(this);
this._type = 'mekko';
};
-
+
// Method: setGridData
// converts the user data values to grid coordinates and stores them
// in the gridData array. Will convert user data into appropriate
@@ -111,7 +111,7 @@
}
}
};
-
+
// Method: makeGridData
// converts any arbitrary data values to grid coordinates and
// returns them. This method exists so that plugins can use a series'
@@ -137,7 +137,7 @@
}
return gd;
};
-
+
// called within scope of series.
$.jqplot.MekkoRenderer.prototype.draw = function(ctx, gd, options) {
@@ -160,25 +160,25 @@
}
}
}
-
+
ctx.restore();
- };
-
+ };
+
$.jqplot.MekkoRenderer.prototype.drawShadow = function(ctx, gd, options) {
// This is a no-op, no shadows on mekko charts.
};
-
+
/**
* Class: $.jqplot.MekkoLegendRenderer
- * Legend renderer used by mekko charts with options for
+ * Legend renderer used by mekko charts with options for
* controlling number or rows and columns as well as placement
* outside of plot area.
- *
+ *
*/
$.jqplot.MekkoLegendRenderer = function(){
//
};
-
+
$.jqplot.MekkoLegendRenderer.prototype.init = function(options) {
// prop: numberRows
// Maximum number of rows in the legend. 0 or null for unlimited.
@@ -190,7 +190,7 @@
this.placement = "outside";
$.extend(true, this, options);
};
-
+
// called with scope of legend
$.jqplot.MekkoLegendRenderer.prototype.draw = function() {
var legend = this;
@@ -205,13 +205,13 @@
this._elem = $('
');
// Mekko charts legends don't go by number of series, but by number of data points
// in the series. Refactor things here for that.
-
- var pad = false,
+
+ var pad = false,
reverse = true, // mekko charts are always stacked, so reverse
nr, nc;
var s = series[0];
var colorGenerator = new $.jqplot.ColorGenerator(s.seriesColors);
-
+
if (s.show) {
var pd = s.data;
if (this.numberRows) {
@@ -231,10 +231,10 @@
nr = pd.length;
nc = 1;
}
-
+
var i, j, tr, td1, td2, lt, rs, color;
- var idx = 0;
-
+ var idx = 0;
+
for (i=0; i').prependTo(this._elem);
@@ -263,7 +263,7 @@
}
}
rs = (pad) ? this.rowSpacing : '0';
-
+
td1 = $('
'+
'
'+
'
');
@@ -285,7 +285,7 @@
pad = true;
}
idx++;
- }
+ }
}
tr = null;
@@ -295,11 +295,11 @@
}
return this._elem;
};
-
+
$.jqplot.MekkoLegendRenderer.prototype.pack = function(offsets) {
if (this.show) {
// fake a grid for positioning
- var grid = {_top:offsets.top, _left:offsets.left, _right:offsets.right, _bottom:this._plotDimensions.height - offsets.bottom};
+ var grid = {_top:offsets.top, _left:offsets.left, _right:offsets.right, _bottom:this._plotDimensions.height - offsets.bottom};
if (this.placement == 'insideGrid') {
switch (this.location) {
case 'nw':
@@ -350,7 +350,7 @@
this._elem.css({right:a, bottom:b});
break;
}
-
+
}
else {
switch (this.location) {
@@ -403,9 +403,9 @@
break;
}
}
- }
+ }
};
-
+
// setup default renderers for axes and legend so user doesn't have to
// called with scope of plot
function preInit(target, data, options) {
@@ -424,14 +424,14 @@
}
}
}
-
+
if (setopts) {
options.axesDefaults.renderer = $.jqplot.MekkoAxisRenderer;
options.legend.renderer = $.jqplot.MekkoLegendRenderer;
options.legend.preDraw = true;
}
}
-
+
$.jqplot.preInitHooks.push(preInit);
-
-})(jQuery);
\ No newline at end of file
+
+})(jQuery);
\ No newline at end of file
diff --git a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoRenderer.min.js b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoRenderer.min.js
index f7e36817..b9131d2c 100755
--- a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoRenderer.min.js
+++ b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.mekkoRenderer.min.js
@@ -5,13 +5,13 @@
* Version: 1.0.4r1121
*
* Copyright (c) 2009-2011 Chris Leonello
- * jqPlot is currently available for use in all personal or commercial projects
- * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
- * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
- * choose the license that best suits your project and use it accordingly.
+ * jqPlot is currently available for use in all personal or commercial projects
+ * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
+ * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
+ * choose the license that best suits your project and use it accordingly.
*
- * Although not required, the author would appreciate an email letting him
- * know of any substantial use of jqPlot. You can reach the author at:
+ * Although not required, the author would appreciate an email letting him
+ * know of any substantial use of jqPlot. You can reach the author at:
* chris at jqplot dot com or see http://www.jqplot.com/info.php .
*
* If you are feeling kind and generous, consider supporting the project by
@@ -30,18 +30,18 @@
*
* Copyright (c) 2010-2011 Chris Leonello
*
- * jsDate is currently available for use in all personal or commercial projects
- * under both the MIT and GPL version 2.0 licenses. This means that you can
+ * jsDate is currently available for use in all personal or commercial projects
+ * under both the MIT and GPL version 2.0 licenses. This means that you can
* choose the license that best suits your project and use it accordingly.
*
- * jsDate borrows many concepts and ideas from the Date Instance
+ * jsDate borrows many concepts and ideas from the Date Instance
* Methods by Ken Snyder along with some parts of Ken's actual code.
- *
+ *
* Ken's origianl Date Instance Methods and copyright notice:
- *
+ *
* Ken Snyder (ken d snyder at gmail dot com)
* 2008-09-10
- * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
+ * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
* Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)
*
* jqplotToImage function based on Larry Siden's export-jqplot-to-png.js.
@@ -51,7 +51,7 @@
* Larry's original code can be found here:
*
* https://github.com/lsiden/export-jqplot-to-png
- *
- *
+ *
+ *
*/
(function(b){b.jqplot.MekkoRenderer=function(){this.shapeRenderer=new b.jqplot.ShapeRenderer();this.borderColor=null;this.showBorders=true};b.jqplot.MekkoRenderer.prototype.init=function(c,e){this.fill=false;this.fillRect=true;this.strokeRect=true;this.shadow=false;this._xwidth=0;this._xstart=0;b.extend(true,this.renderer,c);var d={lineJoin:"miter",lineCap:"butt",isarc:false,fillRect:this.fillRect,strokeRect:this.strokeRect};this.renderer.shapeRenderer.init(d);e.axes.x2axis._series.push(this);this._type="mekko"};b.jqplot.MekkoRenderer.prototype.setGridData=function(h){var e=this._xaxis.series_u2p;var c=this._yaxis.series_u2p;var g=this._plotData;this.gridData=[];this._xwidth=e(this._sumy)-e(0);if(this.index>0){this._xstart=h.series[this.index-1]._xstart+h.series[this.index-1]._xwidth}var l=this.canvas.getHeight();var d=0;var k;var j;for(var f=0;f');var w=false,n=true,c,l;var p=o[0];var d=new b.jqplot.ColorGenerator(p.seriesColors);if(p.show){var x=p.data;if(this.numberRows){c=this.numberRows;if(!this.numberColumns){l=Math.ceil(x.length/c)}else{l=this.numberColumns}}else{if(this.numberColumns){l=this.numberColumns;c=Math.ceil(x.length/this.numberColumns)}else{c=x.length;l=1}}var v,u,e,h,g,k,m,t;var q=0;for(v=0;v').prependTo(this._elem)}else{e=b('
');if(this.escapeHtml){g.text(k)}else{g.html(k)}if(n){g.prependTo(e);h.prependTo(e)}else{h.appendTo(e);g.appendTo(e)}w=true}q++}}e=null;h=null;g=null}}return this._elem};b.jqplot.MekkoLegendRenderer.prototype.pack=function(f){if(this.show){var e={_top:f.top,_left:f.left,_right:f.right,_bottom:this._plotDimensions.height-f.bottom};if(this.placement=="insideGrid"){switch(this.location){case"nw":var d=e._left+this.xoffset;var c=e._top+this.yoffset;this._elem.css("left",d);this._elem.css("top",c);break;case"n":var d=(f.left+(this._plotDimensions.width-f.right))/2-this.getWidth()/2;var c=e._top+this.yoffset;this._elem.css("left",d);this._elem.css("top",c);break;case"ne":var d=f.right+this.xoffset;var c=e._top+this.yoffset;this._elem.css({right:d,top:c});break;case"e":var d=f.right+this.xoffset;var c=(f.top+(this._plotDimensions.height-f.bottom))/2-this.getHeight()/2;this._elem.css({right:d,top:c});break;case"se":var d=f.right+this.xoffset;var c=f.bottom+this.yoffset;this._elem.css({right:d,bottom:c});break;case"s":var d=(f.left+(this._plotDimensions.width-f.right))/2-this.getWidth()/2;var c=f.bottom+this.yoffset;this._elem.css({left:d,bottom:c});break;case"sw":var d=e._left+this.xoffset;var c=f.bottom+this.yoffset;this._elem.css({left:d,bottom:c});break;case"w":var d=e._left+this.xoffset;var c=(f.top+(this._plotDimensions.height-f.bottom))/2-this.getHeight()/2;this._elem.css({left:d,top:c});break;default:var d=e._right-this.xoffset;var c=e._bottom+this.yoffset;this._elem.css({right:d,bottom:c});break}}else{switch(this.location){case"nw":var d=this._plotDimensions.width-e._left+this.xoffset;var c=e._top+this.yoffset;this._elem.css("right",d);this._elem.css("top",c);break;case"n":var d=(f.left+(this._plotDimensions.width-f.right))/2-this.getWidth()/2;var c=this._plotDimensions.height-e._top+this.yoffset;this._elem.css("left",d);this._elem.css("bottom",c);break;case"ne":var d=this._plotDimensions.width-f.right+this.xoffset;var c=e._top+this.yoffset;this._elem.css({left:d,top:c});break;case"e":var d=this._plotDimensions.width-f.right+this.xoffset;var c=(f.top+(this._plotDimensions.height-f.bottom))/2-this.getHeight()/2;this._elem.css({left:d,top:c});break;case"se":var d=this._plotDimensions.width-f.right+this.xoffset;var c=f.bottom+this.yoffset;this._elem.css({left:d,bottom:c});break;case"s":var d=(f.left+(this._plotDimensions.width-f.right))/2-this.getWidth()/2;var c=this._plotDimensions.height-f.bottom+this.yoffset;this._elem.css({left:d,top:c});break;case"sw":var d=this._plotDimensions.width-e._left+this.xoffset;var c=f.bottom+this.yoffset;this._elem.css({right:d,bottom:c});break;case"w":var d=this._plotDimensions.width-e._left+this.xoffset;var c=(f.top+(this._plotDimensions.height-f.bottom))/2-this.getHeight()/2;this._elem.css({right:d,top:c});break;default:var d=e._right-this.xoffset;var c=e._bottom+this.yoffset;this._elem.css({right:d,bottom:c});break}}}};function a(g,f,d){d=d||{};d.axesDefaults=d.axesDefaults||{};d.legend=d.legend||{};d.seriesDefaults=d.seriesDefaults||{};var c=false;if(d.seriesDefaults.renderer==b.jqplot.MekkoRenderer){c=true}else{if(d.series){for(var e=0;e
- *
+ *
* Properties described here are passed into the $.jqplot function
* as options on the series renderer. For example:
- *
+ *
* > plot0 = $.jqplot('chart0',[[18]],{
* > title: 'Network Speed',
* > seriesDefaults: {
@@ -52,16 +52,16 @@
* > }
* > }
* > });
- *
+ *
* A meterGauge plot does not support events.
*/
$.jqplot.MeterGaugeRenderer = function(){
$.jqplot.LineRenderer.call(this);
};
-
+
$.jqplot.MeterGaugeRenderer.prototype = new $.jqplot.LineRenderer();
$.jqplot.MeterGaugeRenderer.prototype.constructor = $.jqplot.MeterGaugeRenderer;
-
+
// called with scope of a series
$.jqplot.MeterGaugeRenderer.prototype.init = function(options) {
// Group: Properties
@@ -74,14 +74,14 @@
// calculated by default.
this.padding = null;
// prop: shadowOffset
- // offset of the shadow from the gauge ring and offset of
+ // offset of the shadow from the gauge ring and offset of
// each succesive stroke of the shadow from the last.
this.shadowOffset = 2;
// prop: shadowAlpha
// transparency of the shadow (0 = transparent, 1 = opaque)
this.shadowAlpha = 0.07;
// prop: shadowDepth
- // number of strokes to apply to the shadow,
+ // number of strokes to apply to the shadow,
// each stroke offset shadowOffset from the last.
this.shadowDepth = 4;
// prop: background
@@ -141,7 +141,7 @@
// ticks spaced every 1, 2, 2.5, 5, 10, 20, .1, .2, .25, .5, etc.
this.tickPositions = [1, 2, 2.5, 5, 10];
// prop: tickSpacing
- // Degrees between ticks. This is a target number, if
+ // Degrees between ticks. This is a target number, if
// incompatible span and ticks are supplied, a suitable
// spacing close to this value will be computed.
this.tickSpacing = 30;
@@ -165,12 +165,12 @@
// as if the meter is "pegged".
this.pegNeedle = true;
this._type = 'meterGauge';
-
+
$.extend(true, this, options);
this.type = null;
this.numberTicks = null;
this.tickInterval = null;
- // span, the sweep (in degrees) from min to max. This gauge is
+ // span, the sweep (in degrees) from min to max. This gauge is
// a semi-circle.
this.span = 180;
// get rid of this nonsense
@@ -187,14 +187,14 @@
this._tickPoints = [];
// reference to label element.
this._labelElem = null;
-
+
// start the gauge at the beginning of the span
this.startAngle = (90 + (360 - this.span)/2) * Math.PI/180;
this.endAngle = (90 - (360 - this.span)/2) * Math.PI/180;
-
+
this.setmin = !!(this.min == null);
this.setmax = !!(this.max == null);
-
+
// if given intervals and is an array of values, create labels and colors.
if (this.intervals.length) {
if (this.intervals[0].length == null || this.intervals.length == 1) {
@@ -208,7 +208,7 @@
}
}
}
-
+
// compute min, max and ticks if not supplied:
if (this.ticks.length) {
if (this.ticks[0].length == null || this.ticks[0].length == 1) {
@@ -232,7 +232,7 @@
this.numberMinorTicks = 1;
}
}
-
+
else if (this.intervals.length) {
this.min = (this.min == null) ? 0 : this.min;
this.setmin = false;
@@ -246,7 +246,7 @@
this.setmax = false;
}
}
-
+
else {
// no ticks and no intervals supplied, put needle in middle
this.min = (this.min == null) ? 0 : this.min;
@@ -260,7 +260,7 @@
}
}
};
-
+
$.jqplot.MeterGaugeRenderer.prototype.setGridData = function(plot) {
// set gridData property. This will hold angle in radians of each data point.
var stack = [];
@@ -274,13 +274,13 @@
}
}
var fact = Math.PI*2/stack[stack.length - 1];
-
+
for (var i=0; i=0; i--) {
@@ -311,7 +311,7 @@
}
return null;
}
-
+
// called with scope of series
$.jqplot.MeterGaugeRenderer.prototype.draw = function (ctx, gd, options) {
var i;
@@ -355,15 +355,15 @@
break;
}
}
-
-
-
+
+
+
// pre-draw so can get it's dimensions.
if (this.label) {
this._labelElem = $('
'+this.label+'
');
this.canvas._elem.after(this._labelElem);
}
-
+
var shadow = (opts.shadow != undefined) ? opts.shadow : this.shadow;
var showLine = (opts.showLine != undefined) ? opts.showLine : this.showLine;
var fill = (opts.fill != undefined) ? opts.fill : this.fill;
@@ -379,7 +379,7 @@
}
var mindim = Math.min(w,h);
var d = mindim;
-
+
if (!this.diameter) {
if (this.semiCircular) {
if ( w >= 2*h) {
@@ -415,26 +415,26 @@
}
}
-
+
if (this._labelElem && this.labelPosition == 'bottom') {
this._center[1] -= this._labelElem.outerHeight(true);
}
-
+
this._radius = this.diameter/2;
-
+
this.tickSpacing = 6000/this.diameter;
-
+
if (!this.hubRadius) {
this.hubRadius = this.diameter/18;
}
-
+
this.shadowOffset = 0.5 + this.ringWidth/9;
this.shadowWidth = this.ringWidth*1;
-
+
this.tickPadding = 3 + Math.pow(this.diameter/20, 0.7);
this.tickOuterRadius = this._radius - this.ringWidth/2 - this.tickPadding;
this.tickLength = (this.showTicks) ? this._radius/13 : 0;
-
+
if (this.ticks.length == 0) {
// no ticks, lets make some.
var max = this.max,
@@ -447,21 +447,21 @@
(tp > 2 && tp <= 2.5) ? tp = 2.5 : tp = Math.ceil(tp);
var t = this.tickPositions;
var tpindex, nt;
-
+
for (i=0; i 0) ? min - min % ti : min - min % ti - ti;
@@ -490,17 +490,17 @@
}
nt += 1;
var tmax = min + (nt - 1) * ti;
- if (max >= tmax) {
+ if (max >= tmax) {
tmax += ti;
nt += 1;
}
// now tmax should always be mroe than dataMax
- if (tmax - max < 0.23*ti) {
+ if (tmax - max < 0.23*ti) {
tmax += ti;
nt += 1;
}
this.max = max = tmax;
- this.min = min;
+ this.min = min;
this.tickInterval = ti;
this.numberTicks = nt;
@@ -510,12 +510,12 @@
this.ticks.push([it, it]);
}
this.max = this.ticks[nt-1][1];
-
- this.tickFactor = tf;
+
+ this.tickFactor = tf;
// determine number of minor ticks
- this.numberMinorTicks = getnmt(this.tickPositions, this.tickInterval, this.tickFactor);
-
+ this.numberMinorTicks = getnmt(this.tickPositions, this.tickInterval, this.tickFactor);
+
if (!this.numberMinorTicks) {
this.numberMinorTicks = getnmt(this.tickPositions, this.tickInterval, this.tickFactor-1);
}
@@ -539,16 +539,16 @@
this.ticks.push([it, it]);
}
this.max = this.ticks[this.numberTicks-1][1];
-
+
this.tickFactor = tf;
// determine number of minor ticks
this.numberMinorTicks = getnmt(this.tickPositions, this.tickInterval, this.tickFactor);
-
+
if (!this.numberMinorTicks) {
this.numberMinorTicks = getnmt(this.tickPositions, this.tickInterval, this.tickFactor-1);
}
}
-
+
// not setting max or min
if (!setmax && !setmin) {
var range = this.max - this.min;
@@ -579,11 +579,11 @@
}
// determine number of minor ticks
this.numberMinorTicks = getnmt(this.tickPositions, this.tickInterval, this.tickFactor);
-
+
if (!this.numberMinorTicks) {
this.numberMinorTicks = getnmt(this.tickPositions, this.tickInterval, this.tickFactor-1);
}
-
+
if (!this.numberMinorTicks) {
this.numberMinorTicks = 1;
var nums = [4, 5, 3, 6, 2];
@@ -597,14 +597,14 @@
}
}
}
-
+
var r = this._radius,
sa = this.startAngle,
- ea = this.endAngle,
+ ea = this.endAngle,
pi = Math.PI,
hpi = Math.PI/2;
-
+
if (this.semiCircular) {
var overAngle = Math.atan(this.innerPad/r),
outersa = this.outerStartAngle = sa - overAngle,
@@ -612,28 +612,28 @@
hubsa = this.hubStartAngle = sa - Math.atan(this.innerPad/this.hubRadius*2),
hubea = this.hubEndAngle = ea + Math.atan(this.innerPad/this.hubRadius*2);
- ctx.save();
-
+ ctx.save();
+
ctx.translate(this._center[0], this._center[1]);
ctx.lineJoin = "round";
ctx.lineCap = "round";
-
+
// draw the innerbackground
ctx.save();
- ctx.beginPath();
+ ctx.beginPath();
ctx.fillStyle = this.background;
ctx.arc(0, 0, r, outersa, outerea, false);
ctx.closePath();
ctx.fill();
ctx.restore();
-
+
// draw the shadow
// the outer ring.
var shadowColor = 'rgba(0,0,0,'+this.shadowAlpha+')';
ctx.save();
for (var i=0; i maxdim) ? dim : maxdim;
}
}
-
+
// draw the gauge label
if (this.label && this.labelPosition == 'inside') {
var l = this._center[0] + this.canvas._offsets.left;
@@ -736,16 +736,16 @@
t -= this._labelElem.outerHeight(true)/2;
this._labelElem.css({left:l, top:t});
}
-
+
else if (this.label && this.labelPosition == 'bottom') {
var l = this._center[0] + this.canvas._offsets.left - this._labelElem.outerWidth(true)/2;
var t = this._center[1] + this.canvas._offsets.top + this.innerPad + + this.ringWidth + this.padding + this.labelHeightAdjust;
this._labelElem.css({left:l, top:t});
-
+
}
-
+
// draw the intervals
-
+
ctx.save();
var inner = this.intervalInnerRadius || this.hubRadius * 1.5;
if (this.intervalOuterRadius == null) {
@@ -781,7 +781,7 @@
ctx.fill();
}
ctx.restore();
-
+
// draw the needle
var datapoint = this.data[0][1];
var dataspan = this.max - this.min;
@@ -794,8 +794,8 @@
}
}
var dataang = (datapoint - this.min)/dataspan * this.span * Math.PI/180 + this.startAngle;
-
-
+
+
ctx.save();
ctx.beginPath();
ctx.fillStyle = this.ringColor;
@@ -804,7 +804,7 @@
this.needleThickness = (this.needleThickness < 2) ? 2 : this.needleThickness;
var endwidth = this.needleThickness * 0.4;
-
+
var dl = this.needleLength/10;
var dt = (this.needleThickness - endwidth)/10;
var templ;
@@ -815,22 +815,22 @@
ctx.lineTo(dl*(i+1)*Math.cos(dataang), dl*(i+1)*Math.sin(dataang));
ctx.stroke();
}
-
+
ctx.restore();
}
else {
this._center = [(cw - trans * offx)/2 + trans * offx, (ch - trans*offy)/2 + trans * offy];
- }
+ }
};
-
+
$.jqplot.MeterGaugeAxisRenderer = function() {
$.jqplot.LinearAxisRenderer.call(this);
};
-
+
$.jqplot.MeterGaugeAxisRenderer.prototype = new $.jqplot.LinearAxisRenderer();
$.jqplot.MeterGaugeAxisRenderer.prototype.constructor = $.jqplot.MeterGaugeAxisRenderer;
-
-
+
+
// There are no traditional axes on a gauge chart. We just need to provide
// dummy objects with properties so the plot will render.
// called with scope of axis object.
@@ -849,16 +849,16 @@
this.showTicks = false;
this.ticks = [];
this.showMark = false;
- this.show = false;
+ this.show = false;
};
-
+
$.jqplot.MeterGaugeLegendRenderer = function(){
$.jqplot.TableLegendRenderer.call(this);
};
-
+
$.jqplot.MeterGaugeLegendRenderer.prototype = new $.jqplot.TableLegendRenderer();
$.jqplot.MeterGaugeLegendRenderer.prototype.constructor = $.jqplot.MeterGaugeLegendRenderer;
-
+
/**
* Class: $.jqplot.MeterGaugeLegendRenderer
*Meter gauges don't typically have a legend, this overrides the default legend renderer.
@@ -870,7 +870,7 @@
this.numberColumns = null;
$.extend(true, this, options);
};
-
+
// called with context of legend
$.jqplot.MeterGaugeLegendRenderer.prototype.draw = function() {
if (this.show) {
@@ -888,12 +888,12 @@
this._elem = $('
');
// MeterGauge charts legends don't go by number of series, but by number of data points
// in the series. Refactor things here for that.
-
- var pad = false,
+
+ var pad = false,
reverse = false,
nr, nc;
var s = series[0];
-
+
if (s.show) {
var pd = s.data;
if (this.numberRows) {
@@ -913,10 +913,10 @@
nr = pd.length;
nc = 1;
}
-
+
var i, j, tr, td1, td2, lt, rs, color;
- var idx = 0;
-
+ var idx = 0;
+
for (i=0; i').prependTo(this._elem);
@@ -946,7 +946,7 @@
}
}
rs = (pad) ? this.rowSpacing : '0';
-
+
td1 = $('
'+
'
'+
'
');
@@ -968,14 +968,14 @@
pad = true;
}
idx++;
- }
+ }
}
}
}
- return this._elem;
+ return this._elem;
};
-
-
+
+
// setup default renderers for axes and legend so user doesn't have to
// called with scope of plot
function preInit(target, data, options) {
@@ -985,7 +985,7 @@
options.legend = options.legend || {};
options.seriesDefaults = options.seriesDefaults || {};
options.grid = options.grid || {};
-
+
// only set these if there is a gauge series
var setopts = false;
if (options.seriesDefaults.renderer == $.jqplot.MeterGaugeRenderer) {
@@ -998,7 +998,7 @@
}
}
}
-
+
if (setopts) {
options.axesDefaults.renderer = $.jqplot.MeterGaugeAxisRenderer;
options.legend.renderer = $.jqplot.MeterGaugeLegendRenderer;
@@ -1009,22 +1009,21 @@
options.grid.shadow = (options.grid.shadow != null) ? options.grid.shadow : false;
}
}
-
+
// called with scope of plot
function postParseOptions(options) {
//
}
-
+
$.jqplot.preInitHooks.push(preInit);
$.jqplot.postParseOptionsHooks.push(postParseOptions);
-
+
$.jqplot.MeterGaugeTickRenderer = function() {
$.jqplot.AxisTickRenderer.call(this);
};
-
+
$.jqplot.MeterGaugeTickRenderer.prototype = new $.jqplot.AxisTickRenderer();
$.jqplot.MeterGaugeTickRenderer.prototype.constructor = $.jqplot.MeterGaugeTickRenderer;
-
+
})(jQuery);
-
-
\ No newline at end of file
+
diff --git a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.meterGaugeRenderer.min.js b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.meterGaugeRenderer.min.js
index 2b845054..2514b739 100755
--- a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.meterGaugeRenderer.min.js
+++ b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.meterGaugeRenderer.min.js
@@ -5,13 +5,13 @@
* Version: 1.0.4r1121
*
* Copyright (c) 2009-2011 Chris Leonello
- * jqPlot is currently available for use in all personal or commercial projects
- * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
- * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
- * choose the license that best suits your project and use it accordingly.
+ * jqPlot is currently available for use in all personal or commercial projects
+ * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
+ * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
+ * choose the license that best suits your project and use it accordingly.
*
- * Although not required, the author would appreciate an email letting him
- * know of any substantial use of jqPlot. You can reach the author at:
+ * Although not required, the author would appreciate an email letting him
+ * know of any substantial use of jqPlot. You can reach the author at:
* chris at jqplot dot com or see http://www.jqplot.com/info.php .
*
* If you are feeling kind and generous, consider supporting the project by
@@ -30,18 +30,18 @@
*
* Copyright (c) 2010-2011 Chris Leonello
*
- * jsDate is currently available for use in all personal or commercial projects
- * under both the MIT and GPL version 2.0 licenses. This means that you can
+ * jsDate is currently available for use in all personal or commercial projects
+ * under both the MIT and GPL version 2.0 licenses. This means that you can
* choose the license that best suits your project and use it accordingly.
*
- * jsDate borrows many concepts and ideas from the Date Instance
+ * jsDate borrows many concepts and ideas from the Date Instance
* Methods by Ken Snyder along with some parts of Ken's actual code.
- *
+ *
* Ken's origianl Date Instance Methods and copyright notice:
- *
+ *
* Ken Snyder (ken d snyder at gmail dot com)
* 2008-09-10
- * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
+ * version 2.0.2 (http://kendsnyder.com/sandbox/date/)
* Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)
*
* jqplotToImage function based on Larry Siden's export-jqplot-to-png.js.
@@ -51,7 +51,7 @@
* Larry's original code can be found here:
*
* https://github.com/lsiden/export-jqplot-to-png
- *
- *
+ *
+ *
*/
(function(c){c.jqplot.MeterGaugeRenderer=function(){c.jqplot.LineRenderer.call(this)};c.jqplot.MeterGaugeRenderer.prototype=new c.jqplot.LineRenderer();c.jqplot.MeterGaugeRenderer.prototype.constructor=c.jqplot.MeterGaugeRenderer;c.jqplot.MeterGaugeRenderer.prototype.init=function(e){this.diameter=null;this.padding=null;this.shadowOffset=2;this.shadowAlpha=0.07;this.shadowDepth=4;this.background="#efefef";this.ringColor="#BBC6D0";this.needleColor="#C3D3E5";this.tickColor="989898";this.ringWidth=null;this.min;this.max;this.ticks=[];this.showTicks=true;this.showTickLabels=true;this.label=null;this.labelHeightAdjust=0;this.labelPosition="inside";this.intervals=[];this.intervalColors=["#4bb2c5","#EAA228","#c5b47f","#579575","#839557","#958c12","#953579","#4b5de4","#d8b83f","#ff5800","#0085cc","#c747a3","#cddf54","#FBD178","#26B4E3","#bd70c7"];this.intervalInnerRadius=null;this.intervalOuterRadius=null;this.tickRenderer=c.jqplot.MeterGaugeTickRenderer;this.tickPositions=[1,2,2.5,5,10];this.tickSpacing=30;this.numberMinorTicks=null;this.hubRadius=null;this.tickPadding=null;this.needleThickness=null;this.needlePad=6;this.pegNeedle=true;this._type="meterGauge";c.extend(true,this,e);this.type=null;this.numberTicks=null;this.tickInterval=null;this.span=180;if(this.type=="circular"){this.semiCircular=false}else{if(this.type!="circular"){this.semiCircular=true}else{this.semiCircular=(this.span<=180)?true:false}}this._tickPoints=[];this._labelElem=null;this.startAngle=(90+(360-this.span)/2)*Math.PI/180;this.endAngle=(90-(360-this.span)/2)*Math.PI/180;this.setmin=!!(this.min==null);this.setmax=!!(this.max==null);if(this.intervals.length){if(this.intervals[0].length==null||this.intervals.length==1){for(var f=0;f=this.data[0][1]){this.max=this.intervals[this.intervals.length-1][0];this.setmax=false}}else{this.setmax=false}}else{this.min=(this.min==null)?0:this.min;this.setmin=false;if(this.max==null){this.max=this.data[0][1]*1.25;this.setmax=true}else{this.setmax=false}}}};c.jqplot.MeterGaugeRenderer.prototype.setGridData=function(j){var f=[];var k=[];var e=this.startAngle;for(var h=0;h0){f[h]+=f[h-1]}}var g=Math.PI*2/f[f.length-1];for(var h=0;h0){f[h]+=f[h-1]}}var g=Math.PI*2/f[f.length-1];for(var h=0;h=0;h--){e=f/(j[h]*Math.pow(10,g));if(e==4||e==5){return e-1}}return null}c.jqplot.MeterGaugeRenderer.prototype.draw=function(X,aC,ap){var aa;var aM=(ap!=undefined)?ap:{};var ai=0;var ah=0;var at=1;if(ap.legendInfo&&ap.legendInfo.placement=="inside"){var aI=ap.legendInfo;switch(aI.location){case"nw":ai=aI.width+aI.xoffset;break;case"w":ai=aI.width+aI.xoffset;break;case"sw":ai=aI.width+aI.xoffset;break;case"ne":ai=aI.width+aI.xoffset;at=-1;break;case"e":ai=aI.width+aI.xoffset;at=-1;break;case"se":ai=aI.width+aI.xoffset;at=-1;break;case"n":ah=aI.height+aI.yoffset;break;case"s":ah=aI.height+aI.yoffset;at=-1;break;default:break}}if(this.label){this._labelElem=c('
');if(this.escapeHtml){e.text(l)}else{e.html(l)}if(q){e.prependTo(r);g.prependTo(r)}else{g.appendTo(r);e.appendTo(r)}f=true}v++}}}}return this._elem};function a(j,h,f){f=f||{};f.axesDefaults=f.axesDefaults||{};f.legend=f.legend||{};f.seriesDefaults=f.seriesDefaults||{};f.grid=f.grid||{};var e=false;if(f.seriesDefaults.renderer==c.jqplot.MeterGaugeRenderer){e=true}else{if(f.series){for(var g=0;g
- *
+ *
* You will most likely want to use a date axis renderer
* for the x axis also, so include the date axis render js file also:
- *
+ *
* >
- *
+ *
* Then you set the renderer in the series options on your plot:
- *
+ *
* > series: [{renderer:$.jqplot.OHLCRenderer}]
- *
+ *
* For OHLC and candlestick charts, data should be specified
* like so:
- *
+ *
* > dat = [['07/06/2009',138.7,139.68,135.18,135.4], ['06/29/2009',143.46,144.66,139.79,140.02], ...]
- *
+ *
* If the data array has only 4 values per point instead of 5,
* the renderer will create a Hi Low Close chart instead. In that case,
* data should be supplied like:
- *
+ *
* > dat = [['07/06/2009',139.68,135.18,135.4], ['06/29/2009',144.66,139.79,140.02], ...]
- *
+ *
* To generate a candlestick chart instead of an OHLC chart,
* set the "candlestick" option to true:
- *
+ *
* > series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{candleStick:true}}],
- *
+ *
*/
$.jqplot.OHLCRenderer = function(){
// subclass line renderer to make use of some of it's methods.
@@ -73,7 +73,7 @@
this.candleStick = false;
// prop: tickLength
// length of the line in pixels indicating open and close price.
- // Default will auto calculate based on plot width and
+ // Default will auto calculate based on plot width and
// number of points displayed.
this.tickLength = 'auto';
// prop: bodyWidth
@@ -115,10 +115,10 @@
this._tickLength;
this._bodyWidth;
};
-
+
$.jqplot.OHLCRenderer.prototype = new $.jqplot.LineRenderer();
$.jqplot.OHLCRenderer.prototype.constructor = $.jqplot.OHLCRenderer;
-
+
// called with scope of series.
$.jqplot.OHLCRenderer.prototype.init = function(options) {
options = options || {};
@@ -135,28 +135,28 @@
if (d[0].length < 5) {
this.renderer.hlc = true;
- for (var j=0; j db.max || db.max == null) {
db.max = d[j][1];
- }
+ }
}
}
else {
- for (var j=0; j db.max || db.max == null) {
db.max = d[j][2];
- }
+ }
}
}
-
+
};
-
+
// called within scope of series.
$.jqplot.OHLCRenderer.prototype.draw = function(ctx, gd, options) {
var d = this.data;
@@ -181,7 +181,7 @@
if (this.show) {
var x, open, hi, low, close;
// need to get widths based on number of points shown,
- // not on total number of points. Use the results
+ // not on total number of points. Use the results
// to speed up drawing in next step.
for (var i=0; ib.max||b.max==null){b.max=f[c][1]}}}else{for(var c=0;cb.max||b.max==null){b.max=f[c][2]}}}};a.jqplot.OHLCRenderer.prototype.draw=function(A,N,j){var J=this.data;var v=this._xaxis.min;var z=this._xaxis.max;var l=0;var K=J.length;var p=this._xaxis.series_u2p;var G=this._yaxis.series_u2p;var D,E,f,M,F,n,O,C;var y;var u=this.renderer;var s=(j!=undefined)?j:{};var k=(s.shadow!=undefined)?s.shadow:this.shadow;var B=(s.fill!=undefined)?s.fill:this.fill;var c=(s.fillAndStroke!=undefined)?s.fillAndStroke:this.fillAndStroke;u.bodyWidth=(s.bodyWidth!=undefined)?s.bodyWidth:u.bodyWidth;u.tickLength=(s.tickLength!=undefined)?s.tickLength:u.tickLength;A.save();if(this.show){var m,q,g,Q,t;for(var D=0;Dq){if(u.wickColor){y.color=u.wickColor}else{if(u.downBodyColor){y.color=u.downBodyColor}}f=a.extend(true,{},s,y);u.shapeRenderer.draw(A,[[m,g],[m,q]],f);u.shapeRenderer.draw(A,[[m,t],[m,Q]],f);y={};M=q;F=t-q;if(u.fillDownBody){y.fillRect=true}else{y.strokeRect=true;n=n-this.lineWidth;O=m-n/2}if(u.downBodyColor){y.color=u.downBodyColor;y.fillStyle=u.downBodyColor}C=[O,M,n,F]}else{if(u.wickColor){y.color=u.wickColor}f=a.extend(true,{},s,y);u.shapeRenderer.draw(A,[[m,g],[m,Q]],f);y={};y.fillRect=false;y.strokeRect=false;O=[m-n/2,q];M=[m+n/2,t];n=null;F=null;C=[O,M]}}f=a.extend(true,{},s,y);u.shapeRenderer.draw(A,C,f)}else{E=s.color;if(u.openColor){s.color=u.openColor}if(!u.hlc){u.shapeRenderer.draw(A,[[m-u._tickLength,q],[m,q]],s)}s.color=E;if(u.wickColor){s.color=u.wickColor}u.shapeRenderer.draw(A,[[m,g],[m,Q]],s);s.color=E;if(u.closeColor){s.color=u.closeColor}u.shapeRenderer.draw(A,[[m,t],[m+u._tickLength,t]],s);s.color=E}}}A.restore()};a.jqplot.OHLCRenderer.prototype.drawShadow=function(b,d,c){};a.jqplot.OHLCRenderer.checkOptions=function(d,c,b){if(!b.highlighter){b.highlighter={showMarker:false,tooltipAxes:"y",yvalues:4,formatString:'
date:
%s
open:
%s
hi:
%s
low:
%s
close:
%s
'}}}})(jQuery);
\ No newline at end of file
diff --git a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.pieRenderer.js b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.pieRenderer.js
index 2479885c..6a991aa1 100755
--- a/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.pieRenderer.js
+++ b/wqflask/wqflask/static/packages/jqplot/plugins/jqplot.pieRenderer.js
@@ -6,13 +6,13 @@
* Revision: 1121
*
* Copyright (c) 2009-2012 Chris Leonello
- * jqPlot is currently available for use in all personal or commercial projects
- * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
- * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
- * choose the license that best suits your project and use it accordingly.
+ * jqPlot is currently available for use in all personal or commercial projects
+ * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
+ * version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
+ * choose the license that best suits your project and use it accordingly.
*
- * Although not required, the author would appreciate an email letting him
- * know of any substantial use of jqPlot. You can reach the author at:
+ * Although not required, the author would appreciate an email letting him
+ * know of any substantial use of jqPlot. You can reach the author at:
* chris at jqplot dot com or see http://www.jqplot.com/info.php .
*
* If you are feeling kind and generous, consider supporting the project by
@@ -26,7 +26,7 @@
* http://hexmen.com/js/sprintf.js
* The author (Ash Searle) has placed this code in the public domain:
* "This code is unrestricted: you are free to use it however you like."
- *
+ *
*/
(function($) {
/**
@@ -34,15 +34,15 @@
* Plugin renderer to draw a pie chart.
* x values, if present, will be used as slice labels.
* y values give slice size.
- *
- * To use this renderer, you need to include the
+ *
+ * To use this renderer, you need to include the
* pie renderer plugin, for example:
- *
+ *
* >
- *
+ *
* Properties described here are passed into the $.jqplot function
* as options on the series renderer. For example:
- *
+ *
* > plot2 = $.jqplot('chart2', [s1, s2], {
* > seriesDefaults: {
* > renderer:$.jqplot.PieRenderer,
@@ -52,12 +52,12 @@
* > }
* > }
* > });
- *
+ *
* A pie plot will trigger events on the plot target
* according to user interaction. All events return the event object,
- * the series index, the point (slice) index, and the point data for
+ * the series index, the point (slice) index, and the point data for
* the appropriate slice.
- *
+ *
* 'jqplotDataMouseOver' - triggered when user mouseing over a slice.
* 'jqplotDataHighlight' - triggered the first time user mouses over a slice,
* if highlighting is enabled.
@@ -70,10 +70,10 @@
$.jqplot.PieRenderer = function(){
$.jqplot.LineRenderer.call(this);
};
-
+
$.jqplot.PieRenderer.prototype = new $.jqplot.LineRenderer();
$.jqplot.PieRenderer.prototype.constructor = $.jqplot.PieRenderer;
-
+
// called with scope of a series
$.jqplot.PieRenderer.prototype.init = function(options, plot) {
// Group: Properties
@@ -91,14 +91,14 @@
// true or false, wether to fil the slices.
this.fill = true;
// prop: shadowOffset
- // offset of the shadow from the slice and offset of
+ // offset of the shadow from the slice and offset of
// each succesive stroke of the shadow from the last.
this.shadowOffset = 2;
// prop: shadowAlpha
// transparency of the shadow (0 = transparent, 1 = opaque)
this.shadowAlpha = 0.07;
// prop: shadowDepth
- // number of strokes to apply to the shadow,
+ // number of strokes to apply to the shadow,
// each stroke offset shadowOffset from the last.
this.shadowDepth = 5;
// prop: highlightMouseOver
@@ -138,7 +138,7 @@
// False to set the inside facing edge of the label at its position.
this.dataLabelCenterOn = true;
// prop: startAngle
- // Angle to start drawing pie in degrees.
+ // Angle to start drawing pie in degrees.
// According to orientation of canvas coordinate system:
// 0 = on the positive x axis
// -90 = on the positive y axis.
@@ -149,12 +149,12 @@
// Used as check for conditions where pie shouldn't be drawn.
this._drawData = true;
this._type = 'pie';
-
+
// if user has passed in highlightMouseDown option and not set highlightMouseOver, disable highlightMouseOver
if (options.highlightMouseDown && options.highlightMouseOver == null) {
options.highlightMouseOver = false;
}
-
+
$.extend(true, this, options);
if (this.sliceMargin < 0) {
@@ -167,7 +167,7 @@
this._sliceAngles = [];
// index of the currenty highlighted point, if any
this._highlightedPoint = null;
-
+
// set highlight colors if none provided
if (this.highlightColors.length == 0) {
for (var i=0; i= ang2) {
return;
- }
-
- ctx.beginPath();
+ }
+
+ ctx.beginPath();
ctx.fillStyle = color;
ctx.strokeStyle = color;
ctx.lineWidth = lineWidth;
ctx.arc(0, 0, rad, ang1, ang2, false);
ctx.lineTo(0,0);
ctx.closePath();
-
+
if (fill) {
ctx.fill();
}
@@ -347,7 +347,7 @@
}
}
};
-
+
// called with scope of series
$.jqplot.PieRenderer.prototype.draw = function (ctx, gd, options, plot) {
var i;
@@ -392,7 +392,7 @@
break;
}
}
-
+
var shadow = (opts.shadow != undefined) ? opts.shadow : this.shadow;
var fill = (opts.fill != undefined) ? opts.fill : this.fill;
var cw = ctx.canvas.width;
@@ -401,7 +401,7 @@
var h = ch - offy - 2 * this.padding;
var mindim = Math.min(w,h);
var d = mindim;
-
+
// Fixes issue #272. Thanks hugwijst!
// reset slice angles array.
this._sliceAngles = [];
@@ -410,7 +410,7 @@
if (this.fill == false) {
sm += this.lineWidth;
}
-
+
var rprime;
var maxrprime = 0;
@@ -427,7 +427,7 @@
rprime = calcRPrime(ang1, ang2, this.sliceMargin, this.fill, this.lineWidth);
if (Math.abs(ang2-ang1) > Math.PI) {
- maxrprime = Math.max(rprime, maxrprime);
+ maxrprime = Math.max(rprime, maxrprime);
}
}
@@ -455,14 +455,14 @@
this.renderer.drawSlice.call (this, ctx, this._sliceAngles[i][0], this._sliceAngles[i][1], shadowColor, true);
}
}
-
+
for (var i=0; i= this.dataLabelThreshold) {
var fstr, avgang = (this._sliceAngles[i][0] + this._sliceAngles[i][1])/2, label;
-
+
if (this.dataLabels == 'label') {
fstr = this.dataLabelFormatString || '%s';
label = $.jqplot.sprintf(fstr, gd[i][0]);
@@ -479,12 +479,12 @@
fstr = this.dataLabelFormatString || '%s';
label = $.jqplot.sprintf(fstr, this.dataLabels[i]);
}
-
+
var fact = (this._radius ) * this.dataLabelPositionFactor + this.sliceMargin + this.dataLabelNudge;
-
+
var x = this._center[0] + Math.cos(avgang) * fact + this.canvas._offsets.left;
var y = this._center[1] + Math.sin(avgang) * fact + this.canvas._offsets.top;
-
+
var labelelem = $('
' + label + '
').insertBefore(plot.eventCanvas._elem);
if (this.dataLabelCenterOn) {
x -= labelelem.width()/2;
@@ -498,17 +498,17 @@
y = Math.round(y);
labelelem.css({left: x, top: y});
}
- }
+ }
};
-
+
$.jqplot.PieAxisRenderer = function() {
$.jqplot.LinearAxisRenderer.call(this);
};
-
+
$.jqplot.PieAxisRenderer.prototype = new $.jqplot.LinearAxisRenderer();
$.jqplot.PieAxisRenderer.prototype.constructor = $.jqplot.PieAxisRenderer;
-
-
+
+
// There are no traditional axes on a pie chart. We just need to provide
// dummy objects with properties so the plot will render.
// called with scope of axis object.
@@ -527,19 +527,19 @@
this.showTicks = false;
this.ticks = [];
this.showMark = false;
- this.show = false;
+ this.show = false;
};
-
-
-
-
+
+
+
+
$.jqplot.PieLegendRenderer = function(){
$.jqplot.TableLegendRenderer.call(this);
};
-
+
$.jqplot.PieLegendRenderer.prototype = new $.jqplot.TableLegendRenderer();
$.jqplot.PieLegendRenderer.prototype.constructor = $.jqplot.PieLegendRenderer;
-
+
/**
* Class: $.jqplot.PieLegendRenderer
* Legend Renderer specific to pie plots. Set by default
@@ -556,7 +556,7 @@
this.numberColumns = null;
$.extend(true, this, options);
};
-
+
// called with context of legend
$.jqplot.PieLegendRenderer.prototype.draw = function() {
var legend = this;
@@ -600,14 +600,14 @@
// Pie charts legends don't go by number of series, but by number of data points
// in the series. Refactor things here for that.
-
- var pad = false,
+
+ var pad = false,
reverse = false,
- nr,
+ nr,
nc;
var s = series[0];
var colorGenerator = new $.jqplot.ColorGenerator(s.seriesColors);
-
+
if (s.show) {
var pd = s.data;
if (this.numberRows) {
@@ -627,25 +627,25 @@
nr = pd.length;
nc = 1;
}
-
+
var i, j;
- var tr, td1, td2;
+ var tr, td1, td2;
var lt, rs, color;
- var idx = 0;
- var div0, div1;
-
+ var idx = 0;
+ var div0, div1;
+
for (i=0; i570)?o[p]*0.8:o[p]+0.3*(255-o[p]);o[p]=parseInt(o[p],10)}this.highlightColors.push("rgb("+o[0]+","+o[1]+","+o[2]+")")}}this.highlightColorGenerator=new e.jqplot.ColorGenerator(this.highlightColors);u.postParseOptionsHooks.addOnce(m);u.postInitHooks.addOnce(g);u.eventListenerHooks.addOnce("jqplotMouseMove",b);u.eventListenerHooks.addOnce("jqplotMouseDown",a);u.eventListenerHooks.addOnce("jqplotMouseUp",l);u.eventListenerHooks.addOnce("jqplotClick",f);u.eventListenerHooks.addOnce("jqplotRightClick",n);u.postDrawHooks.addOnce(i)};e.jqplot.PieRenderer.prototype.setGridData=function(t){var p=[];var u=[];var o=this.startAngle/180*Math.PI;var s=0;this._drawData=false;for(var r=0;r0){p[r]+=p[r-1]}s+=this.data[r][1]}var q=Math.PI*2/p[p.length-1];for(var r=0;r0){p[r]+=p[r-1]}s+=t[r][1]}var q=Math.PI*2/p[p.length-1];for(var r=0;r0&&s>0.01&&s<6.282){w=parseFloat(p)/2/h(q)}return w}e.jqplot.PieRenderer.prototype.drawSlice=function(B,z,y,u,w){if(this._drawData){var p=this._radius;var A=this.fill;var x=this.lineWidth;var s=this.sliceMargin;if(this.fill==false){s+=this.lineWidth}B.save();B.translate(this._center[0],this._center[1]);var D=j(z,y,this.sliceMargin,this.fill,this.lineWidth);var o=D*Math.cos((z+y)/2);var C=D*Math.sin((z+y)/2);if((y-z)<=Math.PI){p-=D}else{p+=D}B.translate(o,C);if(w){for(var v=0,t=this.shadowDepth;v6.282+this.startAngle){y=6.282+this.startAngle;if(z>y){z=6.281+this.startAngle}}if(z>=y){return}B.beginPath();B.fillStyle=u;B.strokeStyle=u;B.lineWidth=x;B.arc(0,0,r,z,y,false);B.lineTo(0,0);B.closePath();if(A){B.fill()}else{B.stroke()}}};e.jqplot.PieRenderer.prototype.draw=function(B,z,E,o){var W;var H=(E!=undefined)?E:{};var t=0;var s=0;var N=1;var L=new e.jqplot.ColorGenerator(this.seriesColors);if(E.legendInfo&&E.legendInfo.placement=="insideGrid"){var J=E.legendInfo;switch(J.location){case"nw":t=J.width+J.xoffset;break;case"w":t=J.width+J.xoffset;break;case"sw":t=J.width+J.xoffset;break;case"ne":t=J.width+J.xoffset;N=-1;break;case"e":t=J.width+J.xoffset;N=-1;break;case"se":t=J.width+J.xoffset;N=-1;break;case"n":s=J.height+J.yoffset;break;case"s":s=J.height+J.yoffset;N=-1;break;default:break}}var K=(H.shadow!=undefined)?H.shadow:this.shadow;var A=(H.fill!=undefined)?H.fill:this.fill;var C=B.canvas.width;var I=B.canvas.height;var Q=C-t-2*this.padding;var X=I-s-2*this.padding;var M=Math.min(Q,X);var Y=M;this._sliceAngles=[];var v=this.sliceMargin;if(this.fill==false){v+=this.lineWidth}var q;var G=0;var R,aa,Z,ab;var D=this.startAngle/180*Math.PI;for(var W=0,V=z.length;WMath.PI){G=Math.max(q,G)}}if(this.diameter!=null&&this.diameter>0){this._diameter=this.diameter-2*G}else{this._diameter=Y-2*G}if(this._diameter<6){e.jqplot.log("Diameter of pie too small, not rendering.");return}var S=this._radius=this._diameter/2;this._center=[(C-N*t)/2+N*t+G*Math.cos(D),(I-N*s)/2+N*s+G*Math.sin(D)];if(this.shadow){for(var W=0,V=z.length;W=this.dataLabelThreshold){var F,U=(this._sliceAngles[W][0]+this._sliceAngles[W][1])/2,T;if(this.dataLabels=="label"){F=this.dataLabelFormatString||"%s";T=e.jqplot.sprintf(F,z[W][0])}else{if(this.dataLabels=="value"){F=this.dataLabelFormatString||"%d";T=e.jqplot.sprintf(F,this.data[W][1])}else{if(this.dataLabels=="percent"){F=this.dataLabelFormatString||"%d%%";T=e.jqplot.sprintf(F,z[W][2]*100)}else{if(this.dataLabels.constructor==Array){F=this.dataLabelFormatString||"%s";T=e.jqplot.sprintf(F,this.dataLabels[W])}}}}var p=(this._radius)*this.dataLabelPositionFactor+this.sliceMargin+this.dataLabelNudge;var P=this._center[0]+Math.cos(U)*p+this.canvas._offsets.left;var O=this._center[1]+Math.sin(U)*p+this.canvas._offsets.top;var u=e('