From d4bbef72bad0bc1468414c9108830b2af9dba419 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Wed, 22 Jan 2014 10:14:07 +0000 Subject: [PATCH] New: AMD support - return the $.fn.dataTable object from the factory function --- .datatables-commit-sync | 2 +- media/js/jquery.dataTables.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index a3910a96..1b8f1468 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -362d018175caefe43124ac5bf4777049f9ae3f7e +afe19cd214391b3408a6c0cb2c38163d71c183cc diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index f4e12a8e..7782d68d 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -14024,6 +14024,8 @@ * @param {int} column Column index * @param {bool} vis `false` if column now hidden, or `true` if visible */ + + return $.fn.dataTable; })); }(window, document));