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:
parent
9a6d508201
commit
5ac93778c3
2
dist/tablefilter/1-303232cf9e9dfa428c1b.js
vendored
2
dist/tablefilter/1-303232cf9e9dfa428c1b.js
vendored
|
@ -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
|
||||
*/
|
||||
|
||||
|
|
11
dist/tablefilter/tablefilter.js
vendored
11
dist/tablefilter/tablefilter.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1102,7 +1102,7 @@ export class TableFilter{
|
|||
* @return {Boolean}
|
||||
*/
|
||||
hasExtension(name){
|
||||
return !Types.isUndef(this.ExtRegistry[name]);
|
||||
return !Types.isEmpty(this.ExtRegistry[name]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue