mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-07 05:54:15 +01:00
Fix typo 'destory' -> 'destroy'.
This commit is contained in:
parent
f46a49f7f4
commit
5732f4c1fa
8
media/js/jquery.dataTables.js
vendored
8
media/js/jquery.dataTables.js
vendored
@ -2134,7 +2134,7 @@
|
|||||||
var nBody = oSettings.nTBody;
|
var nBody = oSettings.nTBody;
|
||||||
var i, iLen;
|
var i, iLen;
|
||||||
|
|
||||||
/* Flag to note that the table is currently being destoryed - no action should be taken */
|
/* Flag to note that the table is currently being destroyed - no action should be taken */
|
||||||
oSettings.bDestroying = true;
|
oSettings.bDestroying = true;
|
||||||
|
|
||||||
/* Restore hidden columns */
|
/* Restore hidden columns */
|
||||||
@ -6918,7 +6918,7 @@
|
|||||||
{
|
{
|
||||||
_fnLog( _aoSettings[i], 0, "Cannot reinitialise DataTable.\n\n"+
|
_fnLog( _aoSettings[i], 0, "Cannot reinitialise DataTable.\n\n"+
|
||||||
"To retrieve the DataTables object for this table, please pass either no arguments "+
|
"To retrieve the DataTables object for this table, please pass either no arguments "+
|
||||||
"to the dataTable() function, or set bRetrieve to true. Alternatively, to destory "+
|
"to the dataTable() function, or set bRetrieve to true. Alternatively, to destroy "+
|
||||||
"the old table and create a new one, set bDestroy to true (note that a lot of "+
|
"the old table and create a new one, set bDestroy to true (note that a lot of "+
|
||||||
"changes to the configuration can be made through the API which is usually much "+
|
"changes to the configuration can be made through the API which is usually much "+
|
||||||
"faster)." );
|
"faster)." );
|
||||||
@ -6927,7 +6927,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* If the element we are initialising has the same ID as a table which was previously
|
/* If the element we are initialising has the same ID as a table which was previously
|
||||||
* initialised, but the table nodes don't match (from before) then we destory the old
|
* initialised, but the table nodes don't match (from before) then we destroy the old
|
||||||
* instance by simply deleting it. This is under the assumption that the table has been
|
* instance by simply deleting it. This is under the assumption that the table has been
|
||||||
* destroyed by other methods. Anyone using non-id selectors will need to do this manually
|
* destroyed by other methods. Anyone using non-id selectors will need to do this manually
|
||||||
*/
|
*/
|
||||||
@ -7192,7 +7192,7 @@
|
|||||||
|
|
||||||
if ( bStripeRemove )
|
if ( bStripeRemove )
|
||||||
{
|
{
|
||||||
/* Store the classes which we are about to remove so they can be readded on destory */
|
/* Store the classes which we are about to remove so they can be readded on destroy */
|
||||||
oSettings.asDestroyStripes = [ '', '' ];
|
oSettings.asDestroyStripes = [ '', '' ];
|
||||||
if ( $(anRows[0]).hasClass(oSettings.oClasses.sStripeOdd) )
|
if ( $(anRows[0]).hasClass(oSettings.oClasses.sStripeOdd) )
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// DATA_TEMPLATE: dom_data
|
// DATA_TEMPLATE: dom_data
|
||||||
oTest.fnStart( "2840 - Restore table width on fnDestory" );
|
oTest.fnStart( "2840 - Restore table width on fnDestroy" );
|
||||||
|
|
||||||
$(document).ready( function () {
|
$(document).ready( function () {
|
||||||
document.cookie = "";
|
document.cookie = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user