Permalink
Browse files

Fix docs: Example for mRender has a syntax error

  • Loading branch information...
1 parent cab0c53 commit e89958cb4583c4454e9f6391b31ea851389efe3a @DataTables committed Oct 26, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 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 '<a href="'+data+'">Download</a>';
* }
- * ]
+ * } ]
* } );
* } );
*/

0 comments on commit e89958c

Please sign in to comment.