From e89958cb4583c4454e9f6391b31ea851389efe3a Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Fri, 26 Oct 2012 08:02:59 +0100 Subject: [PATCH] Fix docs: Example for mRender has a syntax error --- media/src/model/model.defaults.columns.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/media/src/model/model.defaults.columns.js b/media/src/model/model.defaults.columns.js index 11f3fe77..7b42d85d 100644 --- a/media/src/model/model.defaults.columns.js +++ b/media/src/model/model.defaults.columns.js @@ -404,14 +404,13 @@ DataTable.defaults.column = { * // Use as a function to create a link from the data source * $(document).ready( function() { * $('#example').dataTable( { - * "columnDefs": [ - * { + * "columnDefs": [ { * "targets": [ 0 ], * "data": "download_link", * "render": function ( data, type, full ) { * return 'Download'; * } - * ] + * } ] * } ); * } ); */