From 0c67dff78c2df6eb7a69c3bcbcb44f132e40d6ff Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 22 Jan 2015 15:19:41 +0000 Subject: [PATCH] Dev: Build the latest search highlight changes --- features/searchHighlight/dataTables.searchHighlight.min.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/searchHighlight/dataTables.searchHighlight.min.js b/features/searchHighlight/dataTables.searchHighlight.min.js index 2a5b3a6..1a926af 100644 --- a/features/searchHighlight/dataTables.searchHighlight.min.js +++ b/features/searchHighlight/dataTables.searchHighlight.min.js @@ -2,4 +2,5 @@ SearchHighlight for DataTables v1.0.1 2014 SpryMedia Ltd - datatables.net/license */ -(function(f,c,b){b(c).on("init.dt.dth",function(c,d){var a=new b.fn.dataTable.Api(d),e=b(a.table().body());if(b(a.table().node()).hasClass("searchHighlight")||d.oInit.searchHighlight||b.fn.dataTable.defaults.searchHighlight)a.on("draw.dt.dth column-visibility.dt.dth",function(){e.unhighlight();a.rows({filter:"applied"}).data().length&&e.highlight(a.search().split(" "))}).on("destroy",function(){a.off("draw.dt.dth column-visibility.dt.dth")})})})(window,document,jQuery); +(function(g,d,a){function e(a,c){a.unhighlight();c.rows({filter:"applied"}).data().length&&a.highlight(c.search().split(" "))}a(d).on("init.dt.dth",function(d,c){var b=new a.fn.dataTable.Api(c),f=a(b.table().body());if(a(b.table().node()).hasClass("searchHighlight")||c.oInit.searchHighlight||a.fn.dataTable.defaults.searchHighlight)b.on("draw.dt.dth column-visibility.dt.dth",function(){e(f,b)}).on("destroy",function(){b.off("draw.dt.dth column-visibility.dt.dth")}),b.search()&&e(f,b)})})(window,document, +jQuery);