From 1c60542040233ebad478e2677384523eced3acd7 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Wed, 14 Dec 2011 11:59:26 +0000 Subject: [PATCH] Can't extend null on the classes - make the default an object for the settings classes holder --- media/js/jquery.dataTables.js | 4 ++-- media/src/model/model.settings.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 27d485a8..af80c257 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -9718,9 +9718,9 @@ /** * The classes to use for the table * @type object - * @default null + * @default {} */ - "oClasses": null, + "oClasses": {}, /** * Flag attached to the settings object so you can check in the draw diff --git a/media/src/model/model.settings.js b/media/src/model/model.settings.js index 574be495..080f3b92 100644 --- a/media/src/model/model.settings.js +++ b/media/src/model/model.settings.js @@ -668,9 +668,9 @@ DataTable.models.oSettings = { /** * The classes to use for the table * @type object - * @default null + * @default {} */ - "oClasses": null, + "oClasses": {}, /** * Flag attached to the settings object so you can check in the draw