From 9f171bbd7edd0e52f05f8a33c6398571d7e736c7 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Sun, 4 Sep 2011 10:04:46 +0100 Subject: [PATCH] Fix: Backwards compatibility for the init parameter asStripClasses with the spelling correction to asStripeClasses. asStripeClasses should now be used, but asStripClasses can be used. If both are given, the newer one will be used in preference to asStripClasses. --- media/js/jquery.dataTables.js | 1 + 1 file changed, 1 insertion(+) diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index d7d7dff2..7b592388 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -7015,6 +7015,7 @@ _fnMap( oSettings.oScroll, oInit, "bScrollInfinite", "bInfinite" ); _fnMap( oSettings.oScroll, oInit, "iScrollLoadGap", "iLoadGap" ); _fnMap( oSettings.oScroll, oInit, "bScrollAutoCss", "bAutoCss" ); + _fnMap( oSettings, oInit, "asStripClasses", "asStripeClasses" ); // legacy _fnMap( oSettings, oInit, "asStripeClasses" ); _fnMap( oSettings, oInit, "fnPreDrawCallback" ); _fnMap( oSettings, oInit, "fnRowCallback" );