Skip to content

Commit

Permalink
relase v4.0.0-alpha.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Lausselloic committed Jul 29, 2016
1 parent e5f1ca4 commit bd3d9d4
Show file tree
Hide file tree
Showing 8 changed files with 140 additions and 66 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name"4.0.0-alpha.3.1"></a>
### 4.0.0-alpha.3.1 (2016-07-29)


#### Bug Fixes

* **component:** navbar toggle ([c62a7716](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/commit/c62a7716421dea8f32d8ddc094b00f2c27ad50e7))
* **navbar:** put back the color onto the mobile menu icon ([57d88275](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/commit/57d8827550c2fc84ff1bca81071886874acdb83b))


<a name"4.0.0-alpha.3"></a>
### 4.0.0-alpha.3 (2016-07-28)

Expand Down
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ module.exports = function (grunt) {
// Generate changelog based on git commit
changelog: {
options: {
from: 'v4.0.0-alpha.2',
from: 'v4.0.0-alpha.3',
// to: 'v4.0.0-alpha.2',
// version: 'v4.0.0-alpha.2',
commitLink: function (commitHash) {
Expand Down
88 changes: 60 additions & 28 deletions dist/js/vendors/jquery.tablesorter.combined.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 03-18-2016 (v2.25.6)*/
/*! tablesorter (FORK) - updated 04-29-2016 (v2.25.9)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
Expand All @@ -10,7 +10,7 @@
}
}(function($) {

/*! TableSorter (FORK) v2.25.6 *//*
/*! TableSorter (FORK) v2.25.9 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
Expand All @@ -33,7 +33,7 @@
'use strict';
var ts = $.tablesorter = {

version : '2.25.6',
version : '2.25.9',

parsers : [],
widgets : [],
Expand Down Expand Up @@ -953,8 +953,15 @@
index = 0;
while ( index <= span ) {
// duplicate text (or not) to spanned columns
rowData.raw[ cacheIndex + index ] = c.duplicateSpan || index === 0 ? val : '';
cols[ cacheIndex + index ] = c.duplicateSpan || index === 0 ? val : '';
// instead of setting duplicate span to empty string, use textExtraction to try to get a value
// see http://stackoverflow.com/q/36449711/145346
txt = c.duplicateSpan || index === 0 ?
val :
typeof c.textExtraction !== 'string' ?
ts.getElementText( c, cell, cacheIndex + index ) || '' :
'';
rowData.raw[ cacheIndex + index ] = txt;
cols[ cacheIndex + index ] = txt;
index++;
}
cacheIndex += span;
Expand Down Expand Up @@ -3091,7 +3098,7 @@

})(jQuery);

/*! Widget: filter - updated 3/18/2016 (v2.25.6) *//*
/*! Widget: filter - updated 4/29/2016 (v2.25.9) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/
Expand Down Expand Up @@ -3170,6 +3177,7 @@
.unbind( events.replace( ts.regex.spaces, ' ' ) )
// remove the filter row even if refreshing, because the column might have been moved
.find( '.' + tscss.filterRow ).remove();
wo.filter_initialized = false;
if ( refreshing ) { return; }
for ( tbodyIndex = 0; tbodyIndex < $tbodies.length; tbodyIndex++ ) {
$tbody = ts.processTbody( table, $tbodies.eq( tbodyIndex ), true ); // remove tbody
Expand Down Expand Up @@ -3442,15 +3450,17 @@
return null;
}
},
init: function( table, c, wo ) {
init: function( table ) {
// filter language options
ts.language = $.extend( true, {}, {
to : 'to',
or : 'or',
and : 'and'
}, ts.language );

var options, string, txt, $header, column, filters, val, fxn, noSelect;
var options, string, txt, $header, column, val, fxn, noSelect,
c = table.config,
wo = c.widgetOptions;
c.$table.addClass( 'hasFilters' );
c.lastSearch = [];

Expand Down Expand Up @@ -3638,31 +3648,38 @@
c.$table
.unbind( txt.replace( ts.regex.spaces, ' ' ) )
.bind( txt, function() {
// redefine 'wo' as it does not update properly inside this callback
var wo = this.config.widgetOptions;
filters = tsf.setDefaults( table, c, wo ) || [];
if ( filters.length ) {
// prevent delayInit from triggering a cache build if filters are empty
if ( !( c.delayInit && filters.join( '' ) === '' ) ) {
ts.setFilters( table, filters, true );
}
}
c.$table.triggerHandler( 'filterFomatterUpdate' );
// trigger init after setTimeout to prevent multiple filterStart/End/Init triggers
setTimeout( function() {
if ( !wo.filter_initialized ) {
tsf.filterInitComplete( c );
}
}, 100 );
tsf.completeInit( this );
});
// if filter widget is added after pager has initialized; then set filter init flag
if ( c.pager && c.pager.initialized && !wo.filter_initialized ) {
c.$table.triggerHandler( 'filterFomatterUpdate' );
setTimeout( function() {
tsf.filterInitComplete( c );
}, 100 );
} else if ( !wo.filter_initialized ) {
tsf.completeInit( table );
}
},
completeInit: function( table ) {
// redefine 'c' & 'wo' so they update properly inside this callback
var c = table.config,
wo = c.widgetOptions,
filters = tsf.setDefaults( table, c, wo ) || [];
if ( filters.length ) {
// prevent delayInit from triggering a cache build if filters are empty
if ( !( c.delayInit && filters.join( '' ) === '' ) ) {
ts.setFilters( table, filters, true );
}
}
c.$table.triggerHandler( 'filterFomatterUpdate' );
// trigger init after setTimeout to prevent multiple filterStart/End/Init triggers
setTimeout( function() {
if ( !wo.filter_initialized ) {
tsf.filterInitComplete( c );
}
}, 100 );
},

// $cell parameter, but not the config, is passed to the filter_formatters,
// so we have to work with it instead
formatterUpdated: function( $cell, column ) {
Expand Down Expand Up @@ -4127,6 +4144,7 @@
},
matchType: function( c, columnIndex ) {
var isMatch,
wo = c.widgetOptions,
$el = c.$headerIndexed[ columnIndex ];
// filter-exact > filter-match > filter_matchType for type
if ( $el.hasClass( 'filter-exact' ) ) {
Expand All @@ -4135,7 +4153,14 @@
isMatch = true;
} else {
// filter-select is not applied when filter_functions are used, so look for a select
$el = c.$filters.eq( columnIndex ).find( '.' + tscss.filter );
if ( wo.filter_columnFilters ) {
$el = c.$filters
.find( '.' + tscss.filter )
.add( wo.filter_$externalFilters )
.filter( '[data-column="' + columnIndex + '"]' );
} else if ( wo.filter_$externalFilters ) {
$el = wo.filter_$externalFilters.filter( '[data-column="' + columnIndex + '"]' );
}
isMatch = $el.length ?
c.widgetOptions.filter_matchType[ ( $el[ 0 ].nodeName || '' ).toLowerCase() ] === 'match' :
// default to exact, if no inputs found
Expand Down Expand Up @@ -4226,7 +4251,7 @@

// in case select filter option has a different value vs text 'a - z|A through Z'
ffxn = wo.filter_columnFilters ?
c.$filters.add( c.$externalFilters )
c.$filters.add( wo.filter_$externalFilters )
.filter( '[data-column="' + columnIndex + '"]' )
.find( 'select option:selected' )
.attr( 'data-function-name' ) || '' : '';
Expand Down Expand Up @@ -4900,7 +4925,7 @@

})( jQuery );

/*! Widget: stickyHeaders - updated 3/1/2016 (v2.25.5) *//*
/*! Widget: stickyHeaders - updated 4/1/2016 (v2.25.7) *//*
* Requires tablesorter v2.8+ and jQuery 1.4.3+
* by Rob Garrison
*/
Expand Down Expand Up @@ -5168,14 +5193,21 @@
}
}

// resize table (Firefox)
if (wo.stickyHeaders_addResizeEvent) {
$table.bind('resize' + c.namespace + 'stickyheaders', function() {
resizeHeader();
});
}

$table.triggerHandler('stickyHeadersInit');

},
remove: function(table, c, wo) {
var namespace = c.namespace + 'stickyheaders ';
c.$table
.removeClass('hasStickyHeaders')
.unbind( ('pagerComplete filterEnd stickyHeadersUpdate '.split(' ').join(namespace)).replace(/\s+/g, ' ') )
.unbind( ('pagerComplete resize filterEnd stickyHeadersUpdate '.split(' ').join(namespace)).replace(/\s+/g, ' ') )
.next('.' + ts.css.stickyWrap).remove();
if (wo.$sticky && wo.$sticky.length) { wo.$sticky.remove(); } // remove cloned table
$(window)
Expand Down
8 changes: 4 additions & 4 deletions dist/js/vendors/jquery.tablesorter.combined.min.js

Large diffs are not rendered by default.

15 changes: 11 additions & 4 deletions dist/js/vendors/jquery.tablesorter.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
}(function($) {

/*! TableSorter (FORK) v2.25.6 *//*
/*! TableSorter (FORK) v2.25.9 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
Expand All @@ -31,7 +31,7 @@
'use strict';
var ts = $.tablesorter = {

version : '2.25.6',
version : '2.25.9',

parsers : [],
widgets : [],
Expand Down Expand Up @@ -951,8 +951,15 @@
index = 0;
while ( index <= span ) {
// duplicate text (or not) to spanned columns
rowData.raw[ cacheIndex + index ] = c.duplicateSpan || index === 0 ? val : '';
cols[ cacheIndex + index ] = c.duplicateSpan || index === 0 ? val : '';
// instead of setting duplicate span to empty string, use textExtraction to try to get a value
// see http://stackoverflow.com/q/36449711/145346
txt = c.duplicateSpan || index === 0 ?
val :
typeof c.textExtraction !== 'string' ?
ts.getElementText( c, cell, cacheIndex + index ) || '' :
'';
rowData.raw[ cacheIndex + index ] = txt;
cols[ cacheIndex + index ] = txt;
index++;
}
cacheIndex += span;
Expand Down
4 changes: 2 additions & 2 deletions dist/js/vendors/jquery.tablesorter.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit bd3d9d4

Please sign in to comment.