From 9aadc09078c394b1dac043fc8c9abb902edce839 Mon Sep 17 00:00:00 2001 From: flouc001 Date: Thu, 8 Oct 2015 14:49:59 +0100 Subject: [PATCH] Fix characters in angular-datatables.js There were some odd characters floating around in the JavaScript file angular-datatables.js. I have removed these characters however the minified file will also be buggy. So please re-compile! The characters were found on lines 975, 978, and 1140. Cheers :) --- dist/angular-datatables.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/angular-datatables.js b/dist/angular-datatables.js index 1cd1f573e..0440e0e5a 100644 --- a/dist/angular-datatables.js +++ b/dist/angular-datatables.js @@ -972,10 +972,10 @@ function dtPromiseRenderer($q, $timeout, $log, DTRenderer, DTRendererService, DT throw new Error('You must provide a promise or a function that returns a promise!'); } if (_loadedPromise) { - _loadedPromise.then(function()  { + _loadedPromise.then(function(){ defer.resolve(_startLoading(fnPromise, callback)); }); - } else  { + } else { defer.resolve(_startLoading(fnPromise, callback)); } return defer.promise; @@ -1137,7 +1137,7 @@ function dtRendererFactory(DTDefaultRenderer, DTNGRenderer, DTPromiseRenderer, D fromOptions: fromOptions }; - function fromOptions(options, isNgDisplay)  { + function fromOptions(options, isNgDisplay){ if (isNgDisplay) { if (options && options.serverSide) { throw new Error('You cannot use server side processing along with the Angular renderer!'); @@ -1284,4 +1284,4 @@ function dtPropertyUtil($q) { dtPropertyUtil.$inject = ['$q']; -})(window, document, jQuery, angular); \ No newline at end of file +})(window, document, jQuery, angular);