1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-13 11:56:46 +02:00

Modidied gitignore file

This commit is contained in:
koalyptus 2014-09-13 07:50:46 +00:00
parent cd6384586c
commit f22e0f1a62
5 changed files with 18 additions and 17 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
# Dependency directory # Dependency directory
node_modules node_modules
npm-debug.log npm-debug.log
.codio

2
dist/filtergrid.css vendored
View file

@ -1,6 +1,6 @@
/*------------------------------------------------------------------------ /*------------------------------------------------------------------------
- TableFilter stylesheet by Max Guglielmi - TableFilter stylesheet by Max Guglielmi
- (build date: Sun Sep 07 2014 20:05:59) - (build date: Wed Sep 10 2014 22:52:00)
- Edit below for your projects' needs - Edit below for your projects' needs
------------------------------------------------------------------------*/ ------------------------------------------------------------------------*/

View file

@ -25,7 +25,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-------------------------------------------------------------------------- --------------------------------------------------------------------------
- Special credit to: - Special credit to:
Cedric Wartel, cnx.claude@free.fr, Florent Hirchy, Váry ter, Cedric Wartel, cnx.claude@free.fr, Florent Hirchy, V<EFBFBD>ry P<EFBFBD>ter,
Anthony Maes, Nuovella Williams, Fuggerbit, Venkata Seshagiri Rao Anthony Maes, Nuovella Williams, Fuggerbit, Venkata Seshagiri Rao
Raya, Piepiax, Manuel Kern, Baladhandayutham for active contribution Raya, Piepiax, Manuel Kern, Baladhandayutham for active contribution
and/or inspiration and/or inspiration
@ -279,7 +279,7 @@ var TF = (function() {
this.eqOperator = f.equal_operator!=undefined ? f.equal_operator : '='; this.eqOperator = f.equal_operator!=undefined ? f.equal_operator : '=';
this.stOperator = f.start_with_operator!=undefined ? f.start_with_operator : '{'; this.stOperator = f.start_with_operator!=undefined ? f.start_with_operator : '{';
this.enOperator = f.end_with_operator!=undefined ? f.end_with_operator : '}'; this.enOperator = f.end_with_operator!=undefined ? f.end_with_operator : '}';
this.curExp = f.cur_exp!=undefined ? f.cur_exp : '^[¥£€$]'; this.curExp = f.cur_exp!=undefined ? f.cur_exp : '^[<EFBFBD><EFBFBD><EFBFBD>$]';
this.separator = f.separator!=undefined ? f.separator : ','; this.separator = f.separator!=undefined ? f.separator : ',';
/*** rows counter ***/ /*** rows counter ***/
@ -2442,7 +2442,7 @@ var TF = (function() {
&& ((activeFlt==undefined || activeFlt==colIndex) || (activeFlt!=colIndex && this.validRowsIndex.tf_Has(k) ))) ))) && ((activeFlt==undefined || activeFlt==colIndex) || (activeFlt!=colIndex && this.validRowsIndex.tf_Has(k) ))) )))
{ {
var cell_data = this.GetCellData(j, cell[j]); var cell_data = this.GetCellData(j, cell[j]);
var cell_string = cell_data.tf_MatchCase(this.matchCase);//Váry Péter's patch var cell_string = cell_data.tf_MatchCase(this.matchCase);//V<EFBFBD>ry P<>ter's patch
// checks if celldata is already in array // checks if celldata is already in array
if(!optArray.tf_Has(cell_string,this.matchCase)) optArray.push(cell_data); if(!optArray.tf_Has(cell_string,this.matchCase)) optArray.push(cell_data);
@ -2685,7 +2685,7 @@ var TF = (function() {
(this.paging && ((activeFlt==undefined || activeFlt==colIndex ) ||(activeFlt!=colIndex && this.validRowsIndex.tf_Has(k))) )))) (this.paging && ((activeFlt==undefined || activeFlt==colIndex ) ||(activeFlt!=colIndex && this.validRowsIndex.tf_Has(k))) ))))
{ {
var cell_data = this.GetCellData(j, cells[j]); var cell_data = this.GetCellData(j, cells[j]);
var cell_string = cell_data.tf_MatchCase(this.matchCase);//Váry Péter's patch var cell_string = cell_data.tf_MatchCase(this.matchCase);//V<EFBFBD>ry P<>ter's patch
// checks if celldata is already in array // checks if celldata is already in array
if(!optArray.tf_Has(cell_string,this.matchCase)) optArray.push(cell_data); if(!optArray.tf_Has(cell_string,this.matchCase)) optArray.push(cell_data);
@ -5147,7 +5147,7 @@ var TF = (function() {
var regexp; var regexp;
var modifier = (this.matchCase) ? 'g' : 'gi'; var modifier = (this.matchCase) ? 'g' : 'gi';
var exactMatch = (forceMatch==undefined) ? this.exactMatch : forceMatch; var exactMatch = (forceMatch==undefined) ? this.exactMatch : forceMatch;
if(exactMatch || (fltType!=this.fltTypeInp && fltType!=undefined))//Váry Péter's patch if(exactMatch || (fltType!=this.fltTypeInp && fltType!=undefined))//V<EFBFBD>ry P<>ter's patch
regexp = new RegExp('(^\\s*)'+tf_RegexpEscape(arg)+'(\\s*$)', modifier); regexp = new RegExp('(^\\s*)'+tf_RegexpEscape(arg)+'(\\s*$)', modifier);
else else
regexp = new RegExp(tf_RegexpEscape(arg), modifier); regexp = new RegExp(tf_RegexpEscape(arg), modifier);
@ -5381,8 +5381,8 @@ function tf_RegexpEscape(s)
- Many thanks to Cedric Wartel for this fn - Many thanks to Cedric Wartel for this fn
=====================================================*/ =====================================================*/
{ {
// traite les caractères spéciaux [\^$.|?*+() // traite les caract<EFBFBD>res sp<73>ciaux [\^$.|?*+()
//remplace le carctère c par \c //remplace le carct<EFBFBD>re c par \c
function escape(e) function escape(e)
{ {
a = new RegExp('\\'+e,'g'); a = new RegExp('\\'+e,'g');

View file

@ -1,6 +1,6 @@
/*------------------------------------------------------------------------ /*------------------------------------------------------------------------
- TableFilter v1.0 by Max Guglielmi - TableFilter v1.0 by Max Guglielmi
- build date: Sun Sep 07 2014 20:05:58 - build date: Wed Sep 10 2014 22:51:59
- http://tablefilter.free.fr - http://tablefilter.free.fr
- Copyright (c) 2014, Licensed under the MIT License - Copyright (c) 2014, Licensed under the MIT License
------------------------------------------------------------------------*/ ------------------------------------------------------------------------*/

View file

@ -25,7 +25,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-------------------------------------------------------------------------- --------------------------------------------------------------------------
- Special credit to: - Special credit to:
Cedric Wartel, cnx.claude@free.fr, Florent Hirchy, Váry ter, Cedric Wartel, cnx.claude@free.fr, Florent Hirchy, V<EFBFBD>ry P<EFBFBD>ter,
Anthony Maes, Nuovella Williams, Fuggerbit, Venkata Seshagiri Rao Anthony Maes, Nuovella Williams, Fuggerbit, Venkata Seshagiri Rao
Raya, Piepiax, Manuel Kern, Baladhandayutham for active contribution Raya, Piepiax, Manuel Kern, Baladhandayutham for active contribution
and/or inspiration and/or inspiration
@ -279,7 +279,7 @@ var TF = (function() {
this.eqOperator = f.equal_operator!=undefined ? f.equal_operator : '='; this.eqOperator = f.equal_operator!=undefined ? f.equal_operator : '=';
this.stOperator = f.start_with_operator!=undefined ? f.start_with_operator : '{'; this.stOperator = f.start_with_operator!=undefined ? f.start_with_operator : '{';
this.enOperator = f.end_with_operator!=undefined ? f.end_with_operator : '}'; this.enOperator = f.end_with_operator!=undefined ? f.end_with_operator : '}';
this.curExp = f.cur_exp!=undefined ? f.cur_exp : '^[¥£€$]'; this.curExp = f.cur_exp!=undefined ? f.cur_exp : '^[<EFBFBD><EFBFBD><EFBFBD>$]';
this.separator = f.separator!=undefined ? f.separator : ','; this.separator = f.separator!=undefined ? f.separator : ',';
/*** rows counter ***/ /*** rows counter ***/
@ -2442,7 +2442,7 @@ var TF = (function() {
&& ((activeFlt==undefined || activeFlt==colIndex) || (activeFlt!=colIndex && this.validRowsIndex.tf_Has(k) ))) ))) && ((activeFlt==undefined || activeFlt==colIndex) || (activeFlt!=colIndex && this.validRowsIndex.tf_Has(k) ))) )))
{ {
var cell_data = this.GetCellData(j, cell[j]); var cell_data = this.GetCellData(j, cell[j]);
var cell_string = cell_data.tf_MatchCase(this.matchCase);//Váry Péter's patch var cell_string = cell_data.tf_MatchCase(this.matchCase);//V<EFBFBD>ry P<>ter's patch
// checks if celldata is already in array // checks if celldata is already in array
if(!optArray.tf_Has(cell_string,this.matchCase)) optArray.push(cell_data); if(!optArray.tf_Has(cell_string,this.matchCase)) optArray.push(cell_data);
@ -2685,7 +2685,7 @@ var TF = (function() {
(this.paging && ((activeFlt==undefined || activeFlt==colIndex ) ||(activeFlt!=colIndex && this.validRowsIndex.tf_Has(k))) )))) (this.paging && ((activeFlt==undefined || activeFlt==colIndex ) ||(activeFlt!=colIndex && this.validRowsIndex.tf_Has(k))) ))))
{ {
var cell_data = this.GetCellData(j, cells[j]); var cell_data = this.GetCellData(j, cells[j]);
var cell_string = cell_data.tf_MatchCase(this.matchCase);//Váry Péter's patch var cell_string = cell_data.tf_MatchCase(this.matchCase);//V<EFBFBD>ry P<>ter's patch
// checks if celldata is already in array // checks if celldata is already in array
if(!optArray.tf_Has(cell_string,this.matchCase)) optArray.push(cell_data); if(!optArray.tf_Has(cell_string,this.matchCase)) optArray.push(cell_data);
@ -5147,7 +5147,7 @@ var TF = (function() {
var regexp; var regexp;
var modifier = (this.matchCase) ? 'g' : 'gi'; var modifier = (this.matchCase) ? 'g' : 'gi';
var exactMatch = (forceMatch==undefined) ? this.exactMatch : forceMatch; var exactMatch = (forceMatch==undefined) ? this.exactMatch : forceMatch;
if(exactMatch || (fltType!=this.fltTypeInp && fltType!=undefined))//Váry Péter's patch if(exactMatch || (fltType!=this.fltTypeInp && fltType!=undefined))//V<EFBFBD>ry P<>ter's patch
regexp = new RegExp('(^\\s*)'+tf_RegexpEscape(arg)+'(\\s*$)', modifier); regexp = new RegExp('(^\\s*)'+tf_RegexpEscape(arg)+'(\\s*$)', modifier);
else else
regexp = new RegExp(tf_RegexpEscape(arg), modifier); regexp = new RegExp(tf_RegexpEscape(arg), modifier);
@ -5381,8 +5381,8 @@ function tf_RegexpEscape(s)
- Many thanks to Cedric Wartel for this fn - Many thanks to Cedric Wartel for this fn
=====================================================*/ =====================================================*/
{ {
// traite les caractères spéciaux [\^$.|?*+() // traite les caract<EFBFBD>res sp<73>ciaux [\^$.|?*+()
//remplace le carctère c par \c //remplace le carct<EFBFBD>re c par \c
function escape(e) function escape(e)
{ {
a = new RegExp('\\'+e,'g'); a = new RegExp('\\'+e,'g');