datatables.net-select
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -1,3 +0,3 @@ | ||
/*! Select for DataTables 1.2.2 | ||
* 2015-2016 SpryMedia Ltd - datatables.net/license/mit | ||
/*! Select for DataTables 1.2.3 | ||
* 2015-2017 SpryMedia Ltd - datatables.net/license/mit | ||
*/ | ||
@@ -9,7 +9,7 @@ | ||
* that provides selection options of the items in a DataTable | ||
* @version 1.2.2 | ||
* @version 1.2.3 | ||
* @file dataTables.select.js | ||
* @author SpryMedia Ltd (www.sprymedia.co.uk) | ||
* @contact datatables.net/forums | ||
* @copyright Copyright 2015-2016 SpryMedia Ltd. | ||
* @copyright Copyright 2015-2017 SpryMedia Ltd. | ||
* | ||
@@ -58,3 +58,3 @@ * This source file is free software, available under the following license: | ||
DataTable.select.version = '1.2.2'; | ||
DataTable.select.version = '1.2.3'; | ||
@@ -406,4 +406,4 @@ DataTable.select.init = function ( dt ) { | ||
// buttons) | ||
if ( e.target.getRootNode() !== document ) { | ||
return; | ||
if ( $(e.target).parents('html').length === 0 ) { | ||
return; | ||
} | ||
@@ -461,2 +461,6 @@ | ||
if ( api.select.style() === 'api' ) { | ||
return; | ||
} | ||
var rows = api.rows( { selected: true } ).flatten().length; | ||
@@ -463,0 +467,0 @@ var columns = api.columns( { selected: true } ).flatten().length; |
{ | ||
"name": "datatables.net-select", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Select for DataTables ", | ||
"files": [ | ||
"js/dataTables.select.js" | ||
"js/**/*.js" | ||
], | ||
@@ -26,3 +26,3 @@ "main": "./js/dataTables.select.js", | ||
"jquery": ">=1.7", | ||
"datatables.net": ">=1.10.9" | ||
"datatables.net": "^1.10.15" | ||
}, | ||
@@ -29,0 +29,0 @@ "repository": { |
# Select for DataTables | ||
This package contains distribution files for the [Select extension](https://datatables.net/extensions/select) for [DataTables](https://datatables.net/). Only the core software for this library is contained in this package - to be correctly styled, a styling package for Select must also be included. Styling options include DataTable's native styling, [Bootstrap](http://getboostrap.com) and [Foundation](http://foundation.zurb.com/). | ||
This package contains distribution files for the [Select extension](https://datatables.net/extensions/select) for [DataTables](https://datatables.net/). Only the core software for this library is contained in this package - to be correctly styled, a styling package for Select must also be included. Styling options include DataTable's native styling, [Bootstrap](http://getbootstrap.com) and [Foundation](http://foundation.zurb.com/). | ||
@@ -5,0 +5,0 @@ Select provides table item selection capabilities - rows, columns and cells can be selected individually or collectively. Complex selection operations such as operating system style selection (ctrl/cmd and shift click) for multiple rows can be enabled with a single option for a DataTable. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45716
4
999
1
+ Addeddatatables.net@1.13.11(transitive)
- Removeddatatables.net@2.1.8(transitive)
Updateddatatables.net@^1.10.15