1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-10 02:16:40 +02:00

Fixed colOps extension bug

This commit is contained in:
Max Guglielmi 2015-06-14 12:44:02 +10:00
parent 9a6d508201
commit 5ac93778c3
4 changed files with 16 additions and 8 deletions

View file

@ -1,6 +1,6 @@
/**
* TableFilter v0.0.0 by Max Guglielmi
* build date: 2015-06-14T02:18:57.661Z
* build date: 2015-06-14T02:40:10.404Z
* MIT License
*/

File diff suppressed because one or more lines are too long

View file

@ -1102,7 +1102,7 @@ export class TableFilter{
* @return {Boolean}
*/
hasExtension(name){
return !Types.isUndef(this.ExtRegistry[name]);
return !Types.isEmpty(this.ExtRegistry[name]);
}
/**

View file

@ -58,5 +58,14 @@ export default {
*/
isNull(o){
return o === null;
},
/**
* Determine if argument is empty (undefined, null or empty string)
* @param {Any} o
* @return {Boolean}
*/
isEmpty(o){
return this.isUndef(o) || this.isNull(o) || o.length===0;
}
};