From 649f0ec99d2026a7d4a9002ee4a25478ca4b9504 Mon Sep 17 00:00:00 2001
From: zsloan 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.
*
*
@@ -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.
*
@@ -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 = {
*
*
*
*
- *
+ *
* 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:
*
*
*
@@ -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.
*
*
* @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 ; i
@@ -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.
*
*
*
*
*
@@ -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:
*
- *
@@ -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 ; i
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:
*
* jsDate.regional['en'] = {
@@ -9946,7 +9946,7 @@
* 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:
- *
+ *
*
* jsDate.formats["perl"] = {
* "codes": {
@@ -10207,71 +10207,71 @@
* }
* };
*
- *
+ *
* 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