Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Fix characters in angular-datatables.js #470

Merged
merged 1 commit into from
Oct 10, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dist/angular-datatables.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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!');
Expand Down Expand Up @@ -1284,4 +1284,4 @@ function dtPropertyUtil($q) {
dtPropertyUtil.$inject = ['$q'];


})(window, document, jQuery, angular);
})(window, document, jQuery, angular);